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_wxCloseEvent swig_types[20]
2483 #define SWIGTYPE_p_wxColour swig_types[21]
2484 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDash swig_types[29]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEffects swig_types[34]
2497 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontList swig_types[44]
2507 #define SWIGTYPE_p_wxFontMapper swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGDIObjListBase swig_types[47]
2510 #define SWIGTYPE_p_wxGDIObject swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIcon swig_types[53]
2516 #define SWIGTYPE_p_wxIconBundle swig_types[54]
2517 #define SWIGTYPE_p_wxIconLocation swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxImageList swig_types[60]
2523 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2524 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2525 #define SWIGTYPE_p_wxJPEGHandler swig_types[63]
2526 #define SWIGTYPE_p_wxKeyEvent swig_types[64]
2527 #define SWIGTYPE_p_wxLanguageInfo swig_types[65]
2528 #define SWIGTYPE_p_wxLayoutConstraints swig_types[66]
2529 #define SWIGTYPE_p_wxLocale swig_types[67]
2530 #define SWIGTYPE_p_wxMask swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMemoryDC swig_types[70]
2533 #define SWIGTYPE_p_wxMenu swig_types[71]
2534 #define SWIGTYPE_p_wxMenuBar swig_types[72]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[74]
2537 #define SWIGTYPE_p_wxMetaFile swig_types[75]
2538 #define SWIGTYPE_p_wxMetaFileDC swig_types[76]
2539 #define SWIGTYPE_p_wxMirrorDC swig_types[77]
2540 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMouseEvent swig_types[79]
2542 #define SWIGTYPE_p_wxMoveEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[81]
2544 #define SWIGTYPE_p_wxNativeFontInfo swig_types[82]
2545 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2546 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2547 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2548 #define SWIGTYPE_p_wxObject swig_types[86]
2549 #define SWIGTYPE_p_wxPCXHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPNGHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPNMHandler swig_types[89]
2552 #define SWIGTYPE_p_wxPaintDC swig_types[90]
2553 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2554 #define SWIGTYPE_p_wxPalette swig_types[92]
2555 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[93]
2556 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2557 #define SWIGTYPE_p_wxPen swig_types[95]
2558 #define SWIGTYPE_p_wxPenList swig_types[96]
2559 #define SWIGTYPE_p_wxPoint swig_types[97]
2560 #define SWIGTYPE_p_wxPostScriptDC swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrinterDC swig_types[100]
2563 #define SWIGTYPE_p_wxPyApp swig_types[101]
2564 #define SWIGTYPE_p_wxPyCommandEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[104]
2567 #define SWIGTYPE_p_wxPyImageHandler swig_types[105]
2568 #define SWIGTYPE_p_wxPySizer swig_types[106]
2569 #define SWIGTYPE_p_wxPyValidator swig_types[107]
2570 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[108]
2571 #define SWIGTYPE_p_wxRect swig_types[109]
2572 #define SWIGTYPE_p_wxRegion swig_types[110]
2573 #define SWIGTYPE_p_wxRegionIterator swig_types[111]
2574 #define SWIGTYPE_p_wxRendererNative swig_types[112]
2575 #define SWIGTYPE_p_wxRendererVersion swig_types[113]
2576 #define SWIGTYPE_p_wxScreenDC swig_types[114]
2577 #define SWIGTYPE_p_wxScrollEvent swig_types[115]
2578 #define SWIGTYPE_p_wxScrollWinEvent swig_types[116]
2579 #define SWIGTYPE_p_wxSetCursorEvent swig_types[117]
2580 #define SWIGTYPE_p_wxShowEvent swig_types[118]
2581 #define SWIGTYPE_p_wxSize swig_types[119]
2582 #define SWIGTYPE_p_wxSizeEvent swig_types[120]
2583 #define SWIGTYPE_p_wxSizer swig_types[121]
2584 #define SWIGTYPE_p_wxSizerItem swig_types[122]
2585 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[123]
2586 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[124]
2587 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[125]
2588 #define SWIGTYPE_p_wxStockGDI swig_types[126]
2589 #define SWIGTYPE_p_wxString swig_types[127]
2590 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[128]
2591 #define SWIGTYPE_p_wxTIFFHandler swig_types[129]
2592 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[130]
2593 #define SWIGTYPE_p_wxValidator swig_types[131]
2594 #define SWIGTYPE_p_wxWindow swig_types[132]
2595 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[133]
2596 #define SWIGTYPE_p_wxWindowDC swig_types[134]
2597 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[135]
2598 #define SWIGTYPE_p_wxXPMHandler swig_types[136]
2599 static swig_type_info
*swig_types
[138];
2600 static swig_module_info swig_module
= {swig_types
, 137, 0, 0, 0, 0};
2601 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2602 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2604 /* -------- TYPES TABLE (END) -------- */
2606 #if (PY_VERSION_HEX <= 0x02000000)
2607 # if !defined(SWIG_PYTHON_CLASSIC)
2608 # error "This python version requires to use swig with the '-classic' option"
2611 #if (PY_VERSION_HEX <= 0x02020000)
2612 # error "This python version requires to use swig with the '-nomodern' option"
2614 #if (PY_VERSION_HEX <= 0x02020000)
2615 # error "This python version requires to use swig with the '-nomodernargs' option"
2618 # error "This python version requires to use swig with the '-nofastunpack' option"
2621 /*-----------------------------------------------
2622 @(target):= _gdi_.so
2623 ------------------------------------------------*/
2624 #define SWIG_init init_gdi_
2626 #define SWIG_name "_gdi_"
2628 #define SWIGVERSION 0x010329
2631 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2632 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2635 #include <stdexcept>
2639 class PyObject_ptr
{
2644 PyObject_ptr() :_obj(0)
2648 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2653 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2655 if (initial_ref
) Py_XINCREF(_obj
);
2658 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2660 Py_XINCREF(item
._obj
);
2671 operator PyObject
*() const
2676 PyObject
*operator->() const
2685 struct PyObject_var
: PyObject_ptr
{
2686 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2688 PyObject_var
& operator = (PyObject
* obj
)
2698 #include "wx/wxPython/wxPython.h"
2699 #include "wx/wxPython/pyclasses.h"
2702 static const wxString
wxPyEmptyString(wxEmptyString
);
2704 #define SWIG_From_long PyInt_FromLong
2707 SWIGINTERNINLINE PyObject
*
2708 SWIG_From_int (int value
)
2710 return SWIG_From_long (value
);
2716 # define LLONG_MIN LONG_LONG_MIN
2719 # define LLONG_MAX LONG_LONG_MAX
2722 # define ULLONG_MAX ULONG_LONG_MAX
2727 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2729 if (PyNumber_Check(obj
)) {
2730 if (val
) *val
= PyInt_AsLong(obj
);
2733 return SWIG_TypeError
;
2738 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2741 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2742 return SWIG_TypeError
;
2745 *val
= (unsigned long)v
;
2751 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2754 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2755 if (SWIG_IsOK(res
)) {
2756 if ((v
> UCHAR_MAX
)) {
2757 return SWIG_OverflowError
;
2759 if (val
) *val
= static_cast< unsigned char >(v
);
2766 SWIGINTERNINLINE PyObject
*
2767 SWIG_From_unsigned_SS_long (unsigned long value
)
2769 return (value
> LONG_MAX
) ?
2770 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2774 SWIGINTERNINLINE PyObject
*
2775 SWIG_From_unsigned_SS_char (unsigned char value
)
2777 return SWIG_From_unsigned_SS_long (value
);
2780 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2781 wxColour temp
, *obj
= &temp
;
2782 if ( other
== Py_None
) return false;
2783 if ( ! wxColour_helper(other
, &obj
) ) {
2787 return self
->operator==(*obj
);
2789 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2790 wxColour temp
, *obj
= &temp
;
2791 if ( other
== Py_None
) return true;
2792 if ( ! wxColour_helper(other
, &obj
)) {
2796 return self
->operator!=(*obj
);
2798 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2799 PyObject
* rv
= PyTuple_New(3);
2805 green
= self
->Green();
2806 blue
= self
->Blue();
2808 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2809 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2810 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2813 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2814 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2818 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2821 int res
= SWIG_AsVal_long (obj
, &v
);
2822 if (SWIG_IsOK(res
)) {
2823 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2824 return SWIG_OverflowError
;
2826 if (val
) *val
= static_cast< int >(v
);
2832 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2834 int count
= self
->GetDashes(&dashes
);
2835 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2836 PyObject
* retval
= PyList_New(0);
2837 for (int x
=0; x
<count
; x
++) {
2838 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2839 PyList_Append(retval
, pyint
);
2842 wxPyEndBlockThreads(blocked
);
2845 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2846 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2847 int size
= PyList_Size(pyDashes
);
2848 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2850 // black magic warning! The array of wxDashes needs to exist as
2851 // long as the pen does because wxPen does not copy the array. So
2852 // stick a copy in a Python string object and attach it to _self,
2853 // and then call SetDashes with a pointer to that array. Then
2854 // when the Python pen object is destroyed the array will be
2856 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2857 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2859 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2861 Py_DECREF(strDashes
);
2862 wxPyEndBlockThreads(blocked
);
2864 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2865 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2867 #include <wx/image.h>
2869 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2870 char** cArray
= NULL
;
2873 if (!PyList_Check(listOfStrings
)) {
2874 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2877 count
= PyList_Size(listOfStrings
);
2878 cArray
= new char*[count
];
2880 for(int x
=0; x
<count
; x
++) {
2881 // TODO: Need some validation and error checking here
2882 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2888 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2889 char** cArray
= NULL
;
2892 cArray
= ConvertListOfStrings(listOfStrings
);
2895 bmp
= new wxBitmap(cArray
);
2899 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2902 PyString_AsStringAndSize(bits
, &buf
, &length
);
2903 return new wxBitmap(buf
, width
, height
, depth
);
2905 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2906 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2907 wxSize
size(self
->GetWidth(), self
->GetHeight());
2910 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2911 wxMask
*mask
= new wxMask(*self
, colour
);
2912 self
->SetMask(mask
);
2914 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2915 self
->SetWidth(size
.x
);
2916 self
->SetHeight(size
.y
);
2918 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2919 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2920 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2922 return new wxMask(bitmap
, *wxBLACK
);
2924 return new wxMask(bitmap
, colour
);
2927 #include <wx/iconbndl.h>
2929 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2930 wxIcon
* icon
= new wxIcon();
2931 icon
->CopyFromBitmap(bmp
);
2934 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2935 char** cArray
= NULL
;
2938 cArray
= ConvertListOfStrings(listOfStrings
);
2941 icon
= new wxIcon(cArray
);
2945 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2946 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2948 return new wxIconLocation(*filename
, num
);
2953 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2955 self
->SetIndex(num
);
2960 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2962 return self
->GetIndex();
2967 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2969 wxImage
img(cursorName
, type
);
2970 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2971 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2972 return new wxCursor(img
);
2974 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2977 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2980 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2983 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2984 return self
->operator bool();
2987 #include <wx/fontutil.h>
2988 #include <wx/fontmap.h>
2989 #include <wx/fontenum.h>
2993 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2995 if (obj
== Py_True
) {
2996 if (val
) *val
= true;
2998 } else if (obj
== Py_False
) {
2999 if (val
) *val
= false;
3003 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3004 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3009 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3010 return self
->ToString();
3013 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3014 { wxPyRaiseNotImplemented(); return NULL
; }
3016 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3017 { wxPyRaiseNotImplemented(); return false; }
3020 SWIGINTERNINLINE PyObject
*
3021 SWIG_From_size_t (size_t value
)
3023 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3027 SWIGINTERNINLINE
int
3028 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3031 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3032 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3036 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3037 wxFontEncoding alt_enc
;
3038 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3039 return PyInt_FromLong(alt_enc
);
3045 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3046 wxNativeFontInfo nfi
;
3047 nfi
.FromString(info
);
3048 return new wxFont(nfi
);
3050 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3051 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3053 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3054 return wxFontBase::New(pixelSize
, family
,
3055 style
, weight
, underlined
,
3058 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3059 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3061 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3062 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3064 class wxPyFontEnumerator
: public wxFontEnumerator
{
3066 wxPyFontEnumerator() {}
3067 ~wxPyFontEnumerator() {}
3069 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3070 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3075 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3076 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3079 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3081 wxArrayString
* arr
= self
->GetEncodings();
3082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3084 ret
= wxArrayString2PyList_helper(*arr
);
3086 ret
= PyList_New(0);
3087 wxPyEndBlockThreads(blocked
);
3090 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3092 wxArrayString
* arr
= self
->GetFacenames();
3093 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3095 ret
= wxArrayString2PyList_helper(*arr
);
3097 ret
= PyList_New(0);
3098 wxPyEndBlockThreads(blocked
);
3104 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3107 loc
= new wxLocale();
3109 loc
= new wxLocale(language
, flags
);
3110 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3111 // for the floating point conversions and such to work right.
3112 #if PY_VERSION_HEX < 0x02040000
3113 setlocale(LC_NUMERIC
, "C");
3117 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3118 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3119 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3120 // for the floating point conversions and such to work right.
3121 #if PY_VERSION_HEX < 0x02040000
3122 setlocale(LC_NUMERIC
, "C");
3126 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3127 bool rc
= self
->Init(language
, flags
);
3128 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3129 // for the floating point conversions and such to work right.
3130 #if PY_VERSION_HEX < 0x02040000
3131 setlocale(LC_NUMERIC
, "C");
3136 #include "wx/wxPython/pydrawxxx.h"
3138 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3140 self
->GetPixel(x
, y
, &col
);
3143 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3145 self
->GetPixel(pt
, &col
);
3150 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3152 if (PyNumber_Check(obj
)) {
3153 if (val
) *val
= PyFloat_AsDouble(obj
);
3156 return SWIG_TypeError
;
3159 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3161 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3164 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3166 self
->GetClippingBox(rect
);
3169 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3171 self
->GetPartialTextExtents(text
, widths
);
3175 #define SWIG_From_double PyFloat_FromDouble
3177 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3178 self
->SetLogicalOrigin(point
.x
, point
.y
);
3180 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3181 self
->SetDeviceOrigin(point
.x
, point
.y
);
3183 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3184 self
->CalcBoundingBox(point
.x
, point
.y
);
3186 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3187 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3189 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3190 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3192 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3193 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3195 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3196 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3198 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3199 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3201 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3202 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3205 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3213 #include <wx/dcbuffer.h>
3216 #include <wx/dcps.h>
3219 #include <wx/metafile.h>
3223 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3224 self
->AddColour(name
, wxColour(red
, green
, blue
));
3227 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3228 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3229 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3230 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3233 #include <wx/effects.h>
3236 #include "wx/renderer.h"
3239 SWIGINTERNINLINE PyObject
*
3240 SWIG_From_bool (bool value
)
3242 return PyBool_FromLong(value
? 1 : 0);
3248 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3249 PyObject
*resultobj
= 0;
3250 wxGDIObject
*result
= 0 ;
3252 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3254 if (!wxPyCheckForApp()) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 result
= (wxGDIObject
*)new wxGDIObject();
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3267 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3268 PyObject
*resultobj
= 0;
3269 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3272 PyObject
*swig_obj
[1] ;
3274 if (!args
) SWIG_fail
;
3276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3277 if (!SWIG_IsOK(res1
)) {
3278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3280 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= SWIG_Py_Void();
3295 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3296 PyObject
*resultobj
= 0;
3297 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3301 PyObject
*swig_obj
[1] ;
3303 if (!args
) SWIG_fail
;
3305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3306 if (!SWIG_IsOK(res1
)) {
3307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3309 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= (bool)(arg1
)->IsNull();
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3325 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3328 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3329 return SWIG_Py_Void();
3332 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3333 return SWIG_Python_InitShadowInstance(args
);
3336 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
= 0;
3338 byte arg1
= (byte
) 0 ;
3339 byte arg2
= (byte
) 0 ;
3340 byte arg3
= (byte
) 0 ;
3341 wxColour
*result
= 0 ;
3342 unsigned char val1
;
3344 unsigned char val2
;
3346 unsigned char val3
;
3348 PyObject
* obj0
= 0 ;
3349 PyObject
* obj1
= 0 ;
3350 PyObject
* obj2
= 0 ;
3351 char * kwnames
[] = {
3352 (char *) "red",(char *) "green",(char *) "blue", NULL
3355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3357 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3358 if (!SWIG_IsOK(ecode1
)) {
3359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3361 arg1
= static_cast< byte
>(val1
);
3364 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3365 if (!SWIG_IsOK(ecode2
)) {
3366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3368 arg2
= static_cast< byte
>(val2
);
3371 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3372 if (!SWIG_IsOK(ecode3
)) {
3373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3375 arg3
= static_cast< byte
>(val3
);
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3390 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
*resultobj
= 0;
3392 wxString
*arg1
= 0 ;
3393 wxColour
*result
= 0 ;
3394 bool temp1
= false ;
3395 PyObject
* obj0
= 0 ;
3396 char * kwnames
[] = {
3397 (char *) "colorName", NULL
3400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3402 arg1
= wxString_in_helper(obj0
);
3403 if (arg1
== NULL
) SWIG_fail
;
3407 if (!wxPyCheckForApp()) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3428 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
= 0;
3430 unsigned long arg1
;
3431 wxColour
*result
= 0 ;
3432 unsigned long val1
;
3434 PyObject
* obj0
= 0 ;
3435 char * kwnames
[] = {
3436 (char *) "colRGB", NULL
3439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3440 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3441 if (!SWIG_IsOK(ecode1
)) {
3442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3444 arg1
= static_cast< unsigned long >(val1
);
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 result
= (wxColour
*)new wxColour(arg1
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3458 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3459 PyObject
*resultobj
= 0;
3460 wxColour
*arg1
= (wxColour
*) 0 ;
3463 PyObject
*swig_obj
[1] ;
3465 if (!args
) SWIG_fail
;
3467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3468 if (!SWIG_IsOK(res1
)) {
3469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3471 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= SWIG_Py_Void();
3486 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3487 PyObject
*resultobj
= 0;
3488 wxColour
*arg1
= (wxColour
*) 0 ;
3492 PyObject
*swig_obj
[1] ;
3494 if (!args
) SWIG_fail
;
3496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3497 if (!SWIG_IsOK(res1
)) {
3498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3500 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (byte
)(arg1
)->Red();
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3514 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3515 PyObject
*resultobj
= 0;
3516 wxColour
*arg1
= (wxColour
*) 0 ;
3520 PyObject
*swig_obj
[1] ;
3522 if (!args
) SWIG_fail
;
3524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3525 if (!SWIG_IsOK(res1
)) {
3526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3528 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (byte
)(arg1
)->Green();
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3542 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3543 PyObject
*resultobj
= 0;
3544 wxColour
*arg1
= (wxColour
*) 0 ;
3548 PyObject
*swig_obj
[1] ;
3550 if (!args
) SWIG_fail
;
3552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3553 if (!SWIG_IsOK(res1
)) {
3554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3556 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (byte
)(arg1
)->Blue();
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3570 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3571 PyObject
*resultobj
= 0;
3572 wxColour
*arg1
= (wxColour
*) 0 ;
3576 PyObject
*swig_obj
[1] ;
3578 if (!args
) SWIG_fail
;
3580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3581 if (!SWIG_IsOK(res1
)) {
3582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3584 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 result
= (bool)(arg1
)->Ok();
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3600 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
= 0;
3602 wxColour
*arg1
= (wxColour
*) 0 ;
3608 unsigned char val2
;
3610 unsigned char val3
;
3612 unsigned char val4
;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3618 char * kwnames
[] = {
3619 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3624 if (!SWIG_IsOK(res1
)) {
3625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3627 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3628 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3629 if (!SWIG_IsOK(ecode2
)) {
3630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3632 arg2
= static_cast< byte
>(val2
);
3633 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3634 if (!SWIG_IsOK(ecode3
)) {
3635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3637 arg3
= static_cast< byte
>(val3
);
3638 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3639 if (!SWIG_IsOK(ecode4
)) {
3640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3642 arg4
= static_cast< byte
>(val4
);
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3645 (arg1
)->Set(arg2
,arg3
,arg4
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 resultobj
= SWIG_Py_Void();
3656 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
= 0;
3658 wxColour
*arg1
= (wxColour
*) 0 ;
3659 unsigned long arg2
;
3662 unsigned long val2
;
3664 PyObject
* obj0
= 0 ;
3665 PyObject
* obj1
= 0 ;
3666 char * kwnames
[] = {
3667 (char *) "self",(char *) "colRGB", NULL
3670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3672 if (!SWIG_IsOK(res1
)) {
3673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3675 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3676 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3677 if (!SWIG_IsOK(ecode2
)) {
3678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3680 arg2
= static_cast< unsigned long >(val2
);
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 wxPyEndAllowThreads(__tstate
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3687 resultobj
= SWIG_Py_Void();
3694 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
= 0;
3696 wxColour
*arg1
= (wxColour
*) 0 ;
3697 wxString
*arg2
= 0 ;
3700 bool temp2
= false ;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3703 char * kwnames
[] = {
3704 (char *) "self",(char *) "colourName", NULL
3707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3709 if (!SWIG_IsOK(res1
)) {
3710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3712 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3714 arg2
= wxString_in_helper(obj1
);
3715 if (arg2
== NULL
) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 (arg1
)->InitFromName((wxString
const &)*arg2
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) SWIG_fail
;
3724 resultobj
= SWIG_Py_Void();
3739 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
= 0;
3741 wxColour
*arg1
= (wxColour
*) 0 ;
3742 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3748 PyObject
* obj0
= 0 ;
3749 PyObject
* obj1
= 0 ;
3750 char * kwnames
[] = {
3751 (char *) "self",(char *) "flags", NULL
3754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3756 if (!SWIG_IsOK(res1
)) {
3757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3759 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3762 if (!SWIG_IsOK(ecode2
)) {
3763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3765 arg2
= static_cast< long >(val2
);
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3786 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3787 PyObject
*resultobj
= 0;
3788 wxColour
*arg1
= (wxColour
*) 0 ;
3792 PyObject
*swig_obj
[1] ;
3794 if (!args
) SWIG_fail
;
3796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3797 if (!SWIG_IsOK(res1
)) {
3798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3800 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_long(static_cast< long >(result
));
3814 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
= 0;
3816 wxColour
*arg1
= (wxColour
*) 0 ;
3817 PyObject
*arg2
= (PyObject
*) 0 ;
3821 PyObject
* obj0
= 0 ;
3822 PyObject
* obj1
= 0 ;
3823 char * kwnames
[] = {
3824 (char *) "self",(char *) "other", NULL
3827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3829 if (!SWIG_IsOK(res1
)) {
3830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3832 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3835 result
= (bool)wxColour___eq__(arg1
,arg2
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3847 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
= 0;
3849 wxColour
*arg1
= (wxColour
*) 0 ;
3850 PyObject
*arg2
= (PyObject
*) 0 ;
3854 PyObject
* obj0
= 0 ;
3855 PyObject
* obj1
= 0 ;
3856 char * kwnames
[] = {
3857 (char *) "self",(char *) "other", NULL
3860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3862 if (!SWIG_IsOK(res1
)) {
3863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3865 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3868 result
= (bool)wxColour___ne__(arg1
,arg2
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3880 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3881 PyObject
*resultobj
= 0;
3882 wxColour
*arg1
= (wxColour
*) 0 ;
3883 PyObject
*result
= 0 ;
3886 PyObject
*swig_obj
[1] ;
3888 if (!args
) SWIG_fail
;
3890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3891 if (!SWIG_IsOK(res1
)) {
3892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3894 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (PyObject
*)wxColour_Get(arg1
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3908 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3909 PyObject
*resultobj
= 0;
3910 wxColour
*arg1
= (wxColour
*) 0 ;
3911 unsigned long result
;
3914 PyObject
*swig_obj
[1] ;
3916 if (!args
) SWIG_fail
;
3918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3919 if (!SWIG_IsOK(res1
)) {
3920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3922 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (unsigned long)wxColour_GetRGB(arg1
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3936 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3938 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3939 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3940 return SWIG_Py_Void();
3943 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3944 return SWIG_Python_InitShadowInstance(args
);
3947 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
*resultobj
= 0;
3950 unsigned char *arg2
= (unsigned char *) 0 ;
3951 unsigned char *arg3
= (unsigned char *) 0 ;
3952 unsigned char *arg4
= (unsigned char *) 0 ;
3953 wxPalette
*result
= 0 ;
3962 PyObject
* obj0
= 0 ;
3963 PyObject
* obj1
= 0 ;
3964 PyObject
* obj2
= 0 ;
3965 PyObject
* obj3
= 0 ;
3966 char * kwnames
[] = {
3967 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3972 if (!SWIG_IsOK(ecode1
)) {
3973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3975 arg1
= static_cast< int >(val1
);
3976 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3977 if (!SWIG_IsOK(res2
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3980 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3981 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3982 if (!SWIG_IsOK(res3
)) {
3983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3985 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3986 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3987 if (!SWIG_IsOK(res4
)) {
3988 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3990 arg4
= reinterpret_cast< unsigned char * >(argp4
);
3992 if (!wxPyCheckForApp()) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4005 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4006 PyObject
*resultobj
= 0;
4007 wxPalette
*arg1
= (wxPalette
*) 0 ;
4010 PyObject
*swig_obj
[1] ;
4012 if (!args
) SWIG_fail
;
4014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4015 if (!SWIG_IsOK(res1
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4018 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_Py_Void();
4033 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
= 0;
4035 wxPalette
*arg1
= (wxPalette
*) 0 ;
4042 unsigned char val2
;
4044 unsigned char val3
;
4046 unsigned char val4
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4050 PyObject
* obj2
= 0 ;
4051 PyObject
* obj3
= 0 ;
4052 char * kwnames
[] = {
4053 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4058 if (!SWIG_IsOK(res1
)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4061 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4062 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4063 if (!SWIG_IsOK(ecode2
)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4066 arg2
= static_cast< byte
>(val2
);
4067 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4068 if (!SWIG_IsOK(ecode3
)) {
4069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4071 arg3
= static_cast< byte
>(val3
);
4072 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4073 if (!SWIG_IsOK(ecode4
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4076 arg4
= static_cast< byte
>(val4
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_From_int(static_cast< int >(result
));
4090 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
= 0;
4092 wxPalette
*arg1
= (wxPalette
*) 0 ;
4094 byte
*arg3
= (byte
*) 0 ;
4095 byte
*arg4
= (byte
*) 0 ;
4096 byte
*arg5
= (byte
*) 0 ;
4103 int res3
= SWIG_TMPOBJ
;
4105 int res4
= SWIG_TMPOBJ
;
4107 int res5
= SWIG_TMPOBJ
;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4110 char * kwnames
[] = {
4111 (char *) "self",(char *) "pixel", NULL
4117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4119 if (!SWIG_IsOK(res1
)) {
4120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4122 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4124 if (!SWIG_IsOK(ecode2
)) {
4125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4127 arg2
= static_cast< int >(val2
);
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4137 if (SWIG_IsTmpObj(res3
)) {
4138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4140 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4143 if (SWIG_IsTmpObj(res4
)) {
4144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4146 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4149 if (SWIG_IsTmpObj(res5
)) {
4150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4152 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4161 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4162 PyObject
*resultobj
= 0;
4163 wxPalette
*arg1
= (wxPalette
*) 0 ;
4167 PyObject
*swig_obj
[1] ;
4169 if (!args
) SWIG_fail
;
4171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4172 if (!SWIG_IsOK(res1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4175 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_From_int(static_cast< int >(result
));
4189 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4190 PyObject
*resultobj
= 0;
4191 wxPalette
*arg1
= (wxPalette
*) 0 ;
4195 PyObject
*swig_obj
[1] ;
4197 if (!args
) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4203 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (bool)(arg1
)->Ok();
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4219 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4222 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4223 return SWIG_Py_Void();
4226 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4227 return SWIG_Python_InitShadowInstance(args
);
4230 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
= 0;
4232 wxColour
*arg1
= 0 ;
4233 int arg2
= (int) 1 ;
4234 int arg3
= (int) wxSOLID
;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 PyObject
* obj2
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "colour",(char *) "width",(char *) "style", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4251 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4255 if (!SWIG_IsOK(ecode2
)) {
4256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4258 arg2
= static_cast< int >(val2
);
4261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4262 if (!SWIG_IsOK(ecode3
)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4265 arg3
= static_cast< int >(val3
);
4268 if (!wxPyCheckForApp()) SWIG_fail
;
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4281 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4282 PyObject
*resultobj
= 0;
4283 wxPen
*arg1
= (wxPen
*) 0 ;
4286 PyObject
*swig_obj
[1] ;
4288 if (!args
) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4294 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_Py_Void();
4309 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4310 PyObject
*resultobj
= 0;
4311 wxPen
*arg1
= (wxPen
*) 0 ;
4315 PyObject
*swig_obj
[1] ;
4317 if (!args
) SWIG_fail
;
4319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4320 if (!SWIG_IsOK(res1
)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4323 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (int)(arg1
)->GetCap();
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_From_int(static_cast< int >(result
));
4337 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4338 PyObject
*resultobj
= 0;
4339 wxPen
*arg1
= (wxPen
*) 0 ;
4343 PyObject
*swig_obj
[1] ;
4345 if (!args
) SWIG_fail
;
4347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4348 if (!SWIG_IsOK(res1
)) {
4349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4351 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (arg1
)->GetColour();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4365 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4366 PyObject
*resultobj
= 0;
4367 wxPen
*arg1
= (wxPen
*) 0 ;
4371 PyObject
*swig_obj
[1] ;
4373 if (!args
) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4379 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (int)(arg1
)->GetJoin();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_From_int(static_cast< int >(result
));
4393 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4394 PyObject
*resultobj
= 0;
4395 wxPen
*arg1
= (wxPen
*) 0 ;
4399 PyObject
*swig_obj
[1] ;
4401 if (!args
) SWIG_fail
;
4403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4404 if (!SWIG_IsOK(res1
)) {
4405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4407 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (int)(arg1
)->GetStyle();
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= SWIG_From_int(static_cast< int >(result
));
4421 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4422 PyObject
*resultobj
= 0;
4423 wxPen
*arg1
= (wxPen
*) 0 ;
4427 PyObject
*swig_obj
[1] ;
4429 if (!args
) SWIG_fail
;
4431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4432 if (!SWIG_IsOK(res1
)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4435 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= (int)(arg1
)->GetWidth();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= SWIG_From_int(static_cast< int >(result
));
4449 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4450 PyObject
*resultobj
= 0;
4451 wxPen
*arg1
= (wxPen
*) 0 ;
4455 PyObject
*swig_obj
[1] ;
4457 if (!args
) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4463 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= (bool)(arg1
)->Ok();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxPen
*arg1
= (wxPen
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "cap_style", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4498 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4503 arg2
= static_cast< int >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 (arg1
)->SetCap(arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxPen
*arg1
= (wxPen
*) 0 ;
4520 wxColour
*arg2
= 0 ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4526 char * kwnames
[] = {
4527 (char *) "self",(char *) "colour", NULL
4530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4535 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 (arg1
)->SetColour(*arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_Py_Void();
4553 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
= 0;
4555 wxPen
*arg1
= (wxPen
*) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4563 char * kwnames
[] = {
4564 (char *) "self",(char *) "join_style", NULL
4567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4569 if (!SWIG_IsOK(res1
)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4572 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4574 if (!SWIG_IsOK(ecode2
)) {
4575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4577 arg2
= static_cast< int >(val2
);
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 (arg1
)->SetJoin(arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_Py_Void();
4591 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
= 0;
4593 wxPen
*arg1
= (wxPen
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 char * kwnames
[] = {
4602 (char *) "self",(char *) "style", NULL
4605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4607 if (!SWIG_IsOK(res1
)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4610 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4612 if (!SWIG_IsOK(ecode2
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4615 arg2
= static_cast< int >(val2
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 (arg1
)->SetStyle(arg2
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_Py_Void();
4629 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxPen
*arg1
= (wxPen
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4638 PyObject
* obj1
= 0 ;
4639 char * kwnames
[] = {
4640 (char *) "self",(char *) "width", NULL
4643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4648 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4650 if (!SWIG_IsOK(ecode2
)) {
4651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4653 arg2
= static_cast< int >(val2
);
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 (arg1
)->SetWidth(arg2
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_Py_Void();
4667 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxPen
*arg1
= (wxPen
*) 0 ;
4671 wxDash
*arg3
= (wxDash
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 char * kwnames
[] = {
4677 (char *) "self",(char *) "dashes", NULL
4680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4682 if (!SWIG_IsOK(res1
)) {
4683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4685 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4687 arg2
= PyList_Size(obj1
);
4688 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4689 if (arg3
== NULL
) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 (arg1
)->SetDashes(arg2
,arg3
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_Py_Void();
4699 if (arg3
) delete [] arg3
;
4704 if (arg3
) delete [] arg3
;
4710 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4711 PyObject
*resultobj
= 0;
4712 wxPen
*arg1
= (wxPen
*) 0 ;
4713 PyObject
*result
= 0 ;
4716 PyObject
*swig_obj
[1] ;
4718 if (!args
) SWIG_fail
;
4720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4721 if (!SWIG_IsOK(res1
)) {
4722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4724 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4738 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
= 0;
4740 wxPen
*arg1
= (wxPen
*) 0 ;
4741 PyObject
*arg2
= (PyObject
*) 0 ;
4742 PyObject
*arg3
= (PyObject
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4747 PyObject
* obj2
= 0 ;
4748 char * kwnames
[] = {
4749 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4754 if (!SWIG_IsOK(res1
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4757 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxPen__SetDashes(arg1
,arg2
,arg3
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= SWIG_Py_Void();
4773 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4774 PyObject
*resultobj
= 0;
4775 wxPen
*arg1
= (wxPen
*) 0 ;
4779 PyObject
*swig_obj
[1] ;
4781 if (!args
) SWIG_fail
;
4783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4784 if (!SWIG_IsOK(res1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4787 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_From_int(static_cast< int >(result
));
4801 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxPen
*arg1
= (wxPen
*) 0 ;
4804 wxBitmap
*result
= 0 ;
4807 PyObject
*swig_obj
[1] ;
4809 if (!args
) SWIG_fail
;
4811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4812 if (!SWIG_IsOK(res1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4815 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxBitmap
*)(arg1
)->GetStipple();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4829 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
= 0;
4831 wxPen
*arg1
= (wxPen
*) 0 ;
4832 wxBitmap
*arg2
= 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4839 char * kwnames
[] = {
4840 (char *) "self",(char *) "stipple", NULL
4843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4848 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4850 if (!SWIG_IsOK(res2
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4856 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->SetStipple(*arg2
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_Py_Void();
4870 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
= 0;
4872 wxPen
*arg1
= (wxPen
*) 0 ;
4873 wxPen
*arg2
= (wxPen
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4881 char * kwnames
[] = {
4882 (char *) "self",(char *) "other", NULL
4885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4890 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4892 if (!SWIG_IsOK(res2
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4895 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4911 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
= 0;
4913 wxPen
*arg1
= (wxPen
*) 0 ;
4914 wxPen
*arg2
= (wxPen
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4922 char * kwnames
[] = {
4923 (char *) "self",(char *) "other", NULL
4926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4928 if (!SWIG_IsOK(res1
)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4931 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4933 if (!SWIG_IsOK(res2
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4936 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4952 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4956 return SWIG_Py_Void();
4959 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4960 return SWIG_Python_InitShadowInstance(args
);
4963 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
= 0;
4965 wxColour
*arg1
= 0 ;
4966 int arg2
= (int) wxSOLID
;
4967 wxBrush
*result
= 0 ;
4971 PyObject
* obj0
= 0 ;
4972 PyObject
* obj1
= 0 ;
4973 char * kwnames
[] = {
4974 (char *) "colour",(char *) "style", NULL
4977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4980 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4984 if (!SWIG_IsOK(ecode2
)) {
4985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4987 arg2
= static_cast< int >(val2
);
4990 if (!wxPyCheckForApp()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) SWIG_fail
;
4996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5003 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
*resultobj
= 0;
5005 wxBitmap
*arg1
= 0 ;
5006 wxBrush
*result
= 0 ;
5009 PyObject
* obj0
= 0 ;
5010 char * kwnames
[] = {
5011 (char *) "stippleBitmap", NULL
5014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5015 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5016 if (!SWIG_IsOK(res1
)) {
5017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5022 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5024 if (!wxPyCheckForApp()) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5037 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5038 PyObject
*resultobj
= 0;
5039 wxBrush
*arg1
= (wxBrush
*) 0 ;
5042 PyObject
*swig_obj
[1] ;
5044 if (!args
) SWIG_fail
;
5046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5047 if (!SWIG_IsOK(res1
)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5050 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_Py_Void();
5065 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
= 0;
5067 wxBrush
*arg1
= (wxBrush
*) 0 ;
5068 wxColour
*arg2
= 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "col", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5083 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetColour((wxColour
const &)*arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5101 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
= 0;
5103 wxBrush
*arg1
= (wxBrush
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5110 PyObject
* obj1
= 0 ;
5111 char * kwnames
[] = {
5112 (char *) "self",(char *) "style", NULL
5115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5117 if (!SWIG_IsOK(res1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5120 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5122 if (!SWIG_IsOK(ecode2
)) {
5123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5125 arg2
= static_cast< int >(val2
);
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 (arg1
)->SetStyle(arg2
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_Py_Void();
5139 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
= 0;
5141 wxBrush
*arg1
= (wxBrush
*) 0 ;
5142 wxBitmap
*arg2
= 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5149 char * kwnames
[] = {
5150 (char *) "self",(char *) "stipple", NULL
5153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5155 if (!SWIG_IsOK(res1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5158 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5160 if (!SWIG_IsOK(res2
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5166 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_Py_Void();
5180 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5181 PyObject
*resultobj
= 0;
5182 wxBrush
*arg1
= (wxBrush
*) 0 ;
5186 PyObject
*swig_obj
[1] ;
5188 if (!args
) SWIG_fail
;
5190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5191 if (!SWIG_IsOK(res1
)) {
5192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5194 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= ((wxBrush
const *)arg1
)->GetColour();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5208 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5209 PyObject
*resultobj
= 0;
5210 wxBrush
*arg1
= (wxBrush
*) 0 ;
5214 PyObject
*swig_obj
[1] ;
5216 if (!args
) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5222 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 resultobj
= SWIG_From_int(static_cast< int >(result
));
5236 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5237 PyObject
*resultobj
= 0;
5238 wxBrush
*arg1
= (wxBrush
*) 0 ;
5239 wxBitmap
*result
= 0 ;
5242 PyObject
*swig_obj
[1] ;
5244 if (!args
) SWIG_fail
;
5246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5247 if (!SWIG_IsOK(res1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5250 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5264 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5265 PyObject
*resultobj
= 0;
5266 wxBrush
*arg1
= (wxBrush
*) 0 ;
5270 PyObject
*swig_obj
[1] ;
5272 if (!args
) SWIG_fail
;
5274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5275 if (!SWIG_IsOK(res1
)) {
5276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5278 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5294 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5295 PyObject
*resultobj
= 0;
5296 wxBrush
*arg1
= (wxBrush
*) 0 ;
5300 PyObject
*swig_obj
[1] ;
5302 if (!args
) SWIG_fail
;
5304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5305 if (!SWIG_IsOK(res1
)) {
5306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5308 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (bool)(arg1
)->Ok();
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5324 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5327 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5328 return SWIG_Py_Void();
5331 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5332 return SWIG_Python_InitShadowInstance(args
);
5335 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
= 0;
5337 wxString
*arg1
= 0 ;
5338 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5339 wxBitmap
*result
= 0 ;
5340 bool temp1
= false ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 char * kwnames
[] = {
5346 (char *) "name",(char *) "type", NULL
5349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5351 arg1
= wxString_in_helper(obj0
);
5352 if (arg1
== NULL
) SWIG_fail
;
5356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5357 if (!SWIG_IsOK(ecode2
)) {
5358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5360 arg2
= static_cast< wxBitmapType
>(val2
);
5363 if (!wxPyCheckForApp()) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5384 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5385 PyObject
*resultobj
= 0;
5386 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5389 PyObject
*swig_obj
[1] ;
5391 if (!args
) SWIG_fail
;
5393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5394 if (!SWIG_IsOK(res1
)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_Py_Void();
5412 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
= 0;
5416 int arg3
= (int) -1 ;
5417 wxBitmap
*result
= 0 ;
5424 PyObject
* obj0
= 0 ;
5425 PyObject
* obj1
= 0 ;
5426 PyObject
* obj2
= 0 ;
5427 char * kwnames
[] = {
5428 (char *) "width",(char *) "height",(char *) "depth", NULL
5431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5433 if (!SWIG_IsOK(ecode1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5436 arg1
= static_cast< int >(val1
);
5437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5438 if (!SWIG_IsOK(ecode2
)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5441 arg2
= static_cast< int >(val2
);
5443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5444 if (!SWIG_IsOK(ecode3
)) {
5445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5447 arg3
= static_cast< int >(val3
);
5450 if (!wxPyCheckForApp()) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5463 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
= 0;
5466 wxBitmap
*result
= 0 ;
5469 PyObject
* obj0
= 0 ;
5470 char * kwnames
[] = {
5471 (char *) "icon", NULL
5474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5475 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5476 if (!SWIG_IsOK(res1
)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5482 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5484 if (!wxPyCheckForApp()) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5497 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
= 0;
5500 int arg2
= (int) -1 ;
5501 wxBitmap
*result
= 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 char * kwnames
[] = {
5509 (char *) "image",(char *) "depth", NULL
5512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5513 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5514 if (!SWIG_IsOK(res1
)) {
5515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5520 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5523 if (!SWIG_IsOK(ecode2
)) {
5524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5526 arg2
= static_cast< int >(val2
);
5529 if (!wxPyCheckForApp()) SWIG_fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5532 wxPyEndAllowThreads(__tstate
);
5533 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5542 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
= 0;
5544 PyObject
*arg1
= (PyObject
*) 0 ;
5545 wxBitmap
*result
= 0 ;
5546 PyObject
* obj0
= 0 ;
5547 char * kwnames
[] = {
5548 (char *) "listOfStrings", NULL
5551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5554 if (!wxPyCheckForApp()) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5567 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
= 0;
5569 PyObject
*arg1
= (PyObject
*) 0 ;
5572 int arg4
= (int) 1 ;
5573 wxBitmap
*result
= 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5582 PyObject
* obj2
= 0 ;
5583 PyObject
* obj3
= 0 ;
5584 char * kwnames
[] = {
5585 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5591 if (!SWIG_IsOK(ecode2
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5594 arg2
= static_cast< int >(val2
);
5595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5596 if (!SWIG_IsOK(ecode3
)) {
5597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5599 arg3
= static_cast< int >(val3
);
5601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5602 if (!SWIG_IsOK(ecode4
)) {
5603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5605 arg4
= static_cast< int >(val4
);
5608 if (!wxPyCheckForApp()) SWIG_fail
;
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5621 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5622 PyObject
*resultobj
= 0;
5623 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5627 PyObject
*swig_obj
[1] ;
5629 if (!args
) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5635 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (long)(arg1
)->GetHandle();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_From_long(static_cast< long >(result
));
5649 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
= 0;
5651 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5659 char * kwnames
[] = {
5660 (char *) "self",(char *) "handle", NULL
5663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5665 if (!SWIG_IsOK(res1
)) {
5666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5669 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5670 if (!SWIG_IsOK(ecode2
)) {
5671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5673 arg2
= static_cast< long >(val2
);
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 wxBitmap_SetHandle(arg1
,arg2
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_Py_Void();
5687 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 PyObject
*resultobj
= 0;
5689 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5693 PyObject
*swig_obj
[1] ;
5695 if (!args
) SWIG_fail
;
5697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5698 if (!SWIG_IsOK(res1
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5701 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->Ok();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 PyObject
*resultobj
= 0;
5719 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5723 PyObject
*swig_obj
[1] ;
5725 if (!args
) SWIG_fail
;
5727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5728 if (!SWIG_IsOK(res1
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5731 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (int)(arg1
)->GetWidth();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_From_int(static_cast< int >(result
));
5745 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5746 PyObject
*resultobj
= 0;
5747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5751 PyObject
*swig_obj
[1] ;
5753 if (!args
) SWIG_fail
;
5755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5756 if (!SWIG_IsOK(res1
)) {
5757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5759 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (int)(arg1
)->GetHeight();
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_From_int(static_cast< int >(result
));
5773 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5774 PyObject
*resultobj
= 0;
5775 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5779 PyObject
*swig_obj
[1] ;
5781 if (!args
) SWIG_fail
;
5783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5784 if (!SWIG_IsOK(res1
)) {
5785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5787 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (int)(arg1
)->GetDepth();
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_From_int(static_cast< int >(result
));
5801 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5802 PyObject
*resultobj
= 0;
5803 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5807 PyObject
*swig_obj
[1] ;
5809 if (!args
) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5815 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= wxBitmap_GetSize(arg1
);
5819 wxPyEndAllowThreads(__tstate
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5829 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5830 PyObject
*resultobj
= 0;
5831 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5832 SwigValueWrapper
<wxImage
> result
;
5835 PyObject
*swig_obj
[1] ;
5837 if (!args
) SWIG_fail
;
5839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5840 if (!SWIG_IsOK(res1
)) {
5841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5843 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5847 wxPyEndAllowThreads(__tstate
);
5848 if (PyErr_Occurred()) SWIG_fail
;
5850 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5857 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5858 PyObject
*resultobj
= 0;
5859 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5860 wxMask
*result
= 0 ;
5863 PyObject
*swig_obj
[1] ;
5865 if (!args
) SWIG_fail
;
5867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5868 if (!SWIG_IsOK(res1
)) {
5869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5885 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
= 0;
5887 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5888 wxMask
*arg2
= (wxMask
*) 0 ;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5894 char * kwnames
[] = {
5895 (char *) "self",(char *) "mask", NULL
5898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5900 if (!SWIG_IsOK(res1
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5904 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5905 if (!SWIG_IsOK(res2
)) {
5906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->SetMask(arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= SWIG_Py_Void();
5921 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
= 0;
5923 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5924 wxColour
*arg2
= 0 ;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 char * kwnames
[] = {
5931 (char *) "self",(char *) "colour", NULL
5934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5939 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5942 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
= 0;
5959 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5961 SwigValueWrapper
<wxBitmap
> result
;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5967 char * kwnames
[] = {
5968 (char *) "self",(char *) "rect", NULL
5971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5973 if (!SWIG_IsOK(res1
)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5976 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5979 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5994 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
= 0;
5996 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5997 wxString
*arg2
= 0 ;
5999 wxPalette
*arg4
= (wxPalette
*) NULL
;
6003 bool temp2
= false ;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6010 PyObject
* obj2
= 0 ;
6011 PyObject
* obj3
= 0 ;
6012 char * kwnames
[] = {
6013 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6021 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6023 arg2
= wxString_in_helper(obj1
);
6024 if (arg2
== NULL
) SWIG_fail
;
6027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6028 if (!SWIG_IsOK(ecode3
)) {
6029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6031 arg3
= static_cast< wxBitmapType
>(val3
);
6033 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6034 if (!SWIG_IsOK(res4
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6037 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6062 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
= 0;
6064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6065 wxString
*arg2
= 0 ;
6070 bool temp2
= false ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 PyObject
* obj2
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "self",(char *) "name",(char *) "type", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6085 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6087 arg2
= wxString_in_helper(obj1
);
6088 if (arg2
== NULL
) SWIG_fail
;
6091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6092 if (!SWIG_IsOK(ecode3
)) {
6093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6095 arg3
= static_cast< wxBitmapType
>(val3
);
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6119 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6120 PyObject
*resultobj
= 0;
6121 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6122 wxPalette
*result
= 0 ;
6125 PyObject
*swig_obj
[1] ;
6127 if (!args
) SWIG_fail
;
6129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6130 if (!SWIG_IsOK(res1
)) {
6131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6133 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6147 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
= 0;
6149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6150 wxPalette
*arg2
= 0 ;
6155 PyObject
* obj0
= 0 ;
6156 PyObject
* obj1
= 0 ;
6157 char * kwnames
[] = {
6158 (char *) "self",(char *) "palette", NULL
6161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6163 if (!SWIG_IsOK(res1
)) {
6164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6168 if (!SWIG_IsOK(res2
)) {
6169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6174 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= 0;
6190 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 char * kwnames
[] = {
6200 (char *) "self",(char *) "icon", NULL
6203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6205 if (!SWIG_IsOK(res1
)) {
6206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6208 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6210 if (!SWIG_IsOK(res2
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6216 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6232 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= 0;
6234 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6242 char * kwnames
[] = {
6243 (char *) "self",(char *) "height", NULL
6246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6248 if (!SWIG_IsOK(res1
)) {
6249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6251 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6253 if (!SWIG_IsOK(ecode2
)) {
6254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6256 arg2
= static_cast< int >(val2
);
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 (arg1
)->SetHeight(arg2
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_Py_Void();
6270 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6272 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6280 char * kwnames
[] = {
6281 (char *) "self",(char *) "width", NULL
6284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6286 if (!SWIG_IsOK(res1
)) {
6287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6289 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6291 if (!SWIG_IsOK(ecode2
)) {
6292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6294 arg2
= static_cast< int >(val2
);
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 (arg1
)->SetWidth(arg2
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_Py_Void();
6308 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 char * kwnames
[] = {
6319 (char *) "self",(char *) "depth", NULL
6322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6324 if (!SWIG_IsOK(res1
)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6327 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6329 if (!SWIG_IsOK(ecode2
)) {
6330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6332 arg2
= static_cast< int >(val2
);
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 (arg1
)->SetDepth(arg2
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_Py_Void();
6346 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
= 0;
6348 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "self",(char *) "size", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6367 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_Py_Void();
6382 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
= 0;
6384 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6385 wxCursor
*arg2
= 0 ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 char * kwnames
[] = {
6394 (char *) "self",(char *) "cursor", NULL
6397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6399 if (!SWIG_IsOK(res1
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6402 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6404 if (!SWIG_IsOK(res2
)) {
6405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6410 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6426 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
= 0;
6428 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6429 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6435 PyObject
* obj0
= 0 ;
6436 PyObject
* obj1
= 0 ;
6437 char * kwnames
[] = {
6438 (char *) "self",(char *) "other", NULL
6441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6443 if (!SWIG_IsOK(res1
)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6448 if (!SWIG_IsOK(res2
)) {
6449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6451 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6467 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
= 0;
6469 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6470 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6478 char * kwnames
[] = {
6479 (char *) "self",(char *) "other", NULL
6482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6484 if (!SWIG_IsOK(res1
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6487 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6488 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6489 if (!SWIG_IsOK(res2
)) {
6490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6492 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6508 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6511 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6512 return SWIG_Py_Void();
6515 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6516 return SWIG_Python_InitShadowInstance(args
);
6519 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
= 0;
6521 wxBitmap
*arg1
= 0 ;
6522 wxColour
const &arg2_defvalue
= wxNullColour
;
6523 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6524 wxMask
*result
= 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "bitmap",(char *) "colour", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6542 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6550 if (!wxPyCheckForApp()) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6563 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6564 PyObject
*resultobj
= 0;
6565 wxMask
*arg1
= (wxMask
*) 0 ;
6568 PyObject
*swig_obj
[1] ;
6570 if (!args
) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6576 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_Py_Void();
6591 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6594 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6595 return SWIG_Py_Void();
6598 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6599 return SWIG_Python_InitShadowInstance(args
);
6602 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
= 0;
6604 wxString
*arg1
= 0 ;
6606 int arg3
= (int) -1 ;
6607 int arg4
= (int) -1 ;
6608 wxIcon
*result
= 0 ;
6609 bool temp1
= false ;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6618 PyObject
* obj2
= 0 ;
6619 PyObject
* obj3
= 0 ;
6620 char * kwnames
[] = {
6621 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6626 arg1
= wxString_in_helper(obj0
);
6627 if (arg1
== NULL
) SWIG_fail
;
6630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6631 if (!SWIG_IsOK(ecode2
)) {
6632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6634 arg2
= static_cast< wxBitmapType
>(val2
);
6636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6637 if (!SWIG_IsOK(ecode3
)) {
6638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6640 arg3
= static_cast< int >(val3
);
6643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6644 if (!SWIG_IsOK(ecode4
)) {
6645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6647 arg4
= static_cast< int >(val4
);
6650 if (!wxPyCheckForApp()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6671 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6672 PyObject
*resultobj
= 0;
6673 wxIcon
*arg1
= (wxIcon
*) 0 ;
6676 PyObject
*swig_obj
[1] ;
6678 if (!args
) SWIG_fail
;
6680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6681 if (!SWIG_IsOK(res1
)) {
6682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6684 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_Py_Void();
6699 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6700 PyObject
*resultobj
= 0;
6701 wxIcon
*result
= 0 ;
6703 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6705 if (!wxPyCheckForApp()) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= (wxIcon
*)new wxIcon();
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6718 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
= 0;
6720 wxIconLocation
*arg1
= 0 ;
6721 wxIcon
*result
= 0 ;
6724 PyObject
* obj0
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "loc", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6737 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6739 if (!wxPyCheckForApp()) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6752 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= 0;
6754 wxBitmap
*arg1
= 0 ;
6755 wxIcon
*result
= 0 ;
6758 PyObject
* obj0
= 0 ;
6759 char * kwnames
[] = {
6760 (char *) "bmp", NULL
6763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6771 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6773 if (!wxPyCheckForApp()) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6786 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
= 0;
6788 PyObject
*arg1
= (PyObject
*) 0 ;
6789 wxIcon
*result
= 0 ;
6790 PyObject
* obj0
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "listOfStrings", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6798 if (!wxPyCheckForApp()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (wxIcon
*)new_wxIcon(arg1
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6811 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
= 0;
6813 wxIcon
*arg1
= (wxIcon
*) 0 ;
6814 wxString
*arg2
= 0 ;
6819 bool temp2
= false ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6824 PyObject
* obj2
= 0 ;
6825 char * kwnames
[] = {
6826 (char *) "self",(char *) "name",(char *) "type", NULL
6829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6831 if (!SWIG_IsOK(res1
)) {
6832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6834 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6836 arg2
= wxString_in_helper(obj1
);
6837 if (arg2
== NULL
) SWIG_fail
;
6840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6841 if (!SWIG_IsOK(ecode3
)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6844 arg3
= static_cast< wxBitmapType
>(val3
);
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6848 wxPyEndAllowThreads(__tstate
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6868 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6869 PyObject
*resultobj
= 0;
6870 wxIcon
*arg1
= (wxIcon
*) 0 ;
6874 PyObject
*swig_obj
[1] ;
6876 if (!args
) SWIG_fail
;
6878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6879 if (!SWIG_IsOK(res1
)) {
6880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6882 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (long)(arg1
)->GetHandle();
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6889 resultobj
= SWIG_From_long(static_cast< long >(result
));
6896 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
= 0;
6898 wxIcon
*arg1
= (wxIcon
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 char * kwnames
[] = {
6907 (char *) "self",(char *) "handle", NULL
6910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6912 if (!SWIG_IsOK(res1
)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6915 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6916 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6917 if (!SWIG_IsOK(ecode2
)) {
6918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6920 arg2
= static_cast< long >(val2
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 wxIcon_SetHandle(arg1
,arg2
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_Py_Void();
6934 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6935 PyObject
*resultobj
= 0;
6936 wxIcon
*arg1
= (wxIcon
*) 0 ;
6940 PyObject
*swig_obj
[1] ;
6942 if (!args
) SWIG_fail
;
6944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6945 if (!SWIG_IsOK(res1
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6948 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (bool)(arg1
)->Ok();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6964 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6965 PyObject
*resultobj
= 0;
6966 wxIcon
*arg1
= (wxIcon
*) 0 ;
6970 PyObject
*swig_obj
[1] ;
6972 if (!args
) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6978 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (int)(arg1
)->GetWidth();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_From_int(static_cast< int >(result
));
6992 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6993 PyObject
*resultobj
= 0;
6994 wxIcon
*arg1
= (wxIcon
*) 0 ;
6998 PyObject
*swig_obj
[1] ;
7000 if (!args
) SWIG_fail
;
7002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7003 if (!SWIG_IsOK(res1
)) {
7004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7006 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (int)(arg1
)->GetHeight();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_From_int(static_cast< int >(result
));
7020 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7021 PyObject
*resultobj
= 0;
7022 wxIcon
*arg1
= (wxIcon
*) 0 ;
7026 PyObject
*swig_obj
[1] ;
7028 if (!args
) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7034 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)(arg1
)->GetDepth();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_From_int(static_cast< int >(result
));
7048 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
= 0;
7050 wxIcon
*arg1
= (wxIcon
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 char * kwnames
[] = {
7059 (char *) "self",(char *) "w", NULL
7062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7067 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7069 if (!SWIG_IsOK(ecode2
)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7072 arg2
= static_cast< int >(val2
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 (arg1
)->SetWidth(arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_Py_Void();
7086 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
= 0;
7088 wxIcon
*arg1
= (wxIcon
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7096 char * kwnames
[] = {
7097 (char *) "self",(char *) "h", NULL
7100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7102 if (!SWIG_IsOK(res1
)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7105 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7107 if (!SWIG_IsOK(ecode2
)) {
7108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7110 arg2
= static_cast< int >(val2
);
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 (arg1
)->SetHeight(arg2
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_Py_Void();
7124 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= 0;
7126 wxIcon
*arg1
= (wxIcon
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7133 PyObject
* obj1
= 0 ;
7134 char * kwnames
[] = {
7135 (char *) "self",(char *) "d", NULL
7138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7143 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7145 if (!SWIG_IsOK(ecode2
)) {
7146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7148 arg2
= static_cast< int >(val2
);
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 (arg1
)->SetDepth(arg2
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_Py_Void();
7162 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
= 0;
7164 wxIcon
*arg1
= (wxIcon
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7170 PyObject
* obj1
= 0 ;
7171 char * kwnames
[] = {
7172 (char *) "self",(char *) "size", NULL
7175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7177 if (!SWIG_IsOK(res1
)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7180 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7183 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 (arg1
)->SetSize((wxSize
const &)*arg2
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_Py_Void();
7198 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
= 0;
7200 wxIcon
*arg1
= (wxIcon
*) 0 ;
7201 wxBitmap
*arg2
= 0 ;
7206 PyObject
* obj0
= 0 ;
7207 PyObject
* obj1
= 0 ;
7208 char * kwnames
[] = {
7209 (char *) "self",(char *) "bmp", NULL
7212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7214 if (!SWIG_IsOK(res1
)) {
7215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7217 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7219 if (!SWIG_IsOK(res2
)) {
7220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7225 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_Py_Void();
7239 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7242 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7243 return SWIG_Py_Void();
7246 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7247 return SWIG_Python_InitShadowInstance(args
);
7250 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
= 0;
7252 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7253 int arg2
= (int) 0 ;
7254 wxIconLocation
*result
= 0 ;
7255 bool temp1
= false ;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7260 char * kwnames
[] = {
7261 (char *) "filename",(char *) "num", NULL
7264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7267 arg1
= wxString_in_helper(obj0
);
7268 if (arg1
== NULL
) SWIG_fail
;
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7300 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7301 PyObject
*resultobj
= 0;
7302 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7305 PyObject
*swig_obj
[1] ;
7307 if (!args
) SWIG_fail
;
7309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7310 if (!SWIG_IsOK(res1
)) {
7311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7313 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= SWIG_Py_Void();
7328 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7329 PyObject
*resultobj
= 0;
7330 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7334 PyObject
*swig_obj
[1] ;
7336 if (!args
) SWIG_fail
;
7338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7339 if (!SWIG_IsOK(res1
)) {
7340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7342 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7358 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
= 0;
7360 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7361 wxString
*arg2
= 0 ;
7364 bool temp2
= false ;
7365 PyObject
* obj0
= 0 ;
7366 PyObject
* obj1
= 0 ;
7367 char * kwnames
[] = {
7368 (char *) "self",(char *) "filename", NULL
7371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7373 if (!SWIG_IsOK(res1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7376 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7378 arg2
= wxString_in_helper(obj1
);
7379 if (arg2
== NULL
) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 (arg1
)->SetFileName((wxString
const &)*arg2
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= SWIG_Py_Void();
7403 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7406 wxString
*result
= 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7417 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7422 result
= (wxString
*) &_result_ref
;
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7431 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7440 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
= 0;
7442 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 char * kwnames
[] = {
7451 (char *) "self",(char *) "num", NULL
7454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7459 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7461 if (!SWIG_IsOK(ecode2
)) {
7462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7464 arg2
= static_cast< int >(val2
);
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 wxIconLocation_SetIndex(arg1
,arg2
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= SWIG_Py_Void();
7478 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7479 PyObject
*resultobj
= 0;
7480 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7484 PyObject
*swig_obj
[1] ;
7486 if (!args
) SWIG_fail
;
7488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7489 if (!SWIG_IsOK(res1
)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7492 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (int)wxIconLocation_GetIndex(arg1
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_From_int(static_cast< int >(result
));
7506 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7509 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7510 return SWIG_Py_Void();
7513 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7514 return SWIG_Python_InitShadowInstance(args
);
7517 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7518 PyObject
*resultobj
= 0;
7519 wxIconBundle
*result
= 0 ;
7521 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 result
= (wxIconBundle
*)new wxIconBundle();
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7535 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
= 0;
7537 wxString
*arg1
= 0 ;
7539 wxIconBundle
*result
= 0 ;
7540 bool temp1
= false ;
7543 PyObject
* obj0
= 0 ;
7544 PyObject
* obj1
= 0 ;
7545 char * kwnames
[] = {
7546 (char *) "file",(char *) "type", NULL
7549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7551 arg1
= wxString_in_helper(obj0
);
7552 if (arg1
== NULL
) SWIG_fail
;
7555 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7556 if (!SWIG_IsOK(ecode2
)) {
7557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7559 arg2
= static_cast< long >(val2
);
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7581 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
= 0;
7584 wxIconBundle
*result
= 0 ;
7587 PyObject
* obj0
= 0 ;
7588 char * kwnames
[] = {
7589 (char *) "icon", NULL
7592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7600 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7614 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7615 PyObject
*resultobj
= 0;
7616 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7619 PyObject
*swig_obj
[1] ;
7621 if (!args
) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7627 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_Py_Void();
7642 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "icon", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7661 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7663 if (!SWIG_IsOK(res2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7669 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_Py_Void();
7683 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
= 0;
7685 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7686 wxString
*arg2
= 0 ;
7690 bool temp2
= false ;
7693 PyObject
* obj0
= 0 ;
7694 PyObject
* obj1
= 0 ;
7695 PyObject
* obj2
= 0 ;
7696 char * kwnames
[] = {
7697 (char *) "self",(char *) "file",(char *) "type", NULL
7700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7702 if (!SWIG_IsOK(res1
)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7705 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7707 arg2
= wxString_in_helper(obj1
);
7708 if (arg2
== NULL
) SWIG_fail
;
7711 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7712 if (!SWIG_IsOK(ecode3
)) {
7713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7715 arg3
= static_cast< long >(val3
);
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_Py_Void();
7737 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7741 wxIcon
*result
= 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "self",(char *) "size", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7753 if (!SWIG_IsOK(res1
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7756 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7765 result
= (wxIcon
*) &_result_ref
;
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 wxIcon
* resultptr
= new wxIcon(*result
);
7772 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7780 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7783 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7784 return SWIG_Py_Void();
7787 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7788 return SWIG_Python_InitShadowInstance(args
);
7791 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= 0;
7793 wxString
*arg1
= 0 ;
7795 int arg3
= (int) 0 ;
7796 int arg4
= (int) 0 ;
7797 wxCursor
*result
= 0 ;
7798 bool temp1
= false ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7807 PyObject
* obj2
= 0 ;
7808 PyObject
* obj3
= 0 ;
7809 char * kwnames
[] = {
7810 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7815 arg1
= wxString_in_helper(obj0
);
7816 if (arg1
== NULL
) SWIG_fail
;
7819 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7820 if (!SWIG_IsOK(ecode2
)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7823 arg2
= static_cast< long >(val2
);
7825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7826 if (!SWIG_IsOK(ecode3
)) {
7827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7829 arg3
= static_cast< int >(val3
);
7832 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7833 if (!SWIG_IsOK(ecode4
)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7836 arg4
= static_cast< int >(val4
);
7839 if (!wxPyCheckForApp()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7860 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7861 PyObject
*resultobj
= 0;
7862 wxCursor
*arg1
= (wxCursor
*) 0 ;
7865 PyObject
*swig_obj
[1] ;
7867 if (!args
) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7873 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_Py_Void();
7888 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
= 0;
7891 wxCursor
*result
= 0 ;
7894 PyObject
* obj0
= 0 ;
7895 char * kwnames
[] = {
7899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7900 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7901 if (!SWIG_IsOK(ecode1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7904 arg1
= static_cast< int >(val1
);
7906 if (!wxPyCheckForApp()) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (wxCursor
*)new wxCursor(arg1
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7919 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
= 0;
7922 wxCursor
*result
= 0 ;
7925 PyObject
* obj0
= 0 ;
7926 char * kwnames
[] = {
7927 (char *) "image", NULL
7930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7932 if (!SWIG_IsOK(res1
)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7938 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7940 if (!wxPyCheckForApp()) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7953 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7954 PyObject
*resultobj
= 0;
7955 wxCursor
*arg1
= (wxCursor
*) 0 ;
7959 PyObject
*swig_obj
[1] ;
7961 if (!args
) SWIG_fail
;
7963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7964 if (!SWIG_IsOK(res1
)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7967 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (long)(arg1
)->GetHandle();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_long(static_cast< long >(result
));
7981 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= 0;
7983 wxCursor
*arg1
= (wxCursor
*) 0 ;
7989 PyObject
* obj0
= 0 ;
7990 PyObject
* obj1
= 0 ;
7991 char * kwnames
[] = {
7992 (char *) "self",(char *) "handle", NULL
7995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7997 if (!SWIG_IsOK(res1
)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
8000 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8002 if (!SWIG_IsOK(ecode2
)) {
8003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8005 arg2
= static_cast< long >(val2
);
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 wxCursor_SetHandle(arg1
,arg2
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= SWIG_Py_Void();
8019 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8020 PyObject
*resultobj
= 0;
8021 wxCursor
*arg1
= (wxCursor
*) 0 ;
8025 PyObject
*swig_obj
[1] ;
8027 if (!args
) SWIG_fail
;
8029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8030 if (!SWIG_IsOK(res1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8033 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= (bool)(arg1
)->Ok();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8049 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8050 PyObject
*resultobj
= 0;
8051 wxCursor
*arg1
= (wxCursor
*) 0 ;
8055 PyObject
*swig_obj
[1] ;
8057 if (!args
) SWIG_fail
;
8059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8060 if (!SWIG_IsOK(res1
)) {
8061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8063 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (int)(arg1
)->GetWidth();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_int(static_cast< int >(result
));
8077 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8079 wxCursor
*arg1
= (wxCursor
*) 0 ;
8083 PyObject
*swig_obj
[1] ;
8085 if (!args
) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8091 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (int)(arg1
)->GetHeight();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_From_int(static_cast< int >(result
));
8105 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8106 PyObject
*resultobj
= 0;
8107 wxCursor
*arg1
= (wxCursor
*) 0 ;
8111 PyObject
*swig_obj
[1] ;
8113 if (!args
) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8119 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 result
= (int)(arg1
)->GetDepth();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= SWIG_From_int(static_cast< int >(result
));
8133 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
= 0;
8135 wxCursor
*arg1
= (wxCursor
*) 0 ;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8143 char * kwnames
[] = {
8144 (char *) "self",(char *) "w", NULL
8147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8149 if (!SWIG_IsOK(res1
)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8152 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8154 if (!SWIG_IsOK(ecode2
)) {
8155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8157 arg2
= static_cast< int >(val2
);
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 (arg1
)->SetWidth(arg2
);
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 resultobj
= SWIG_Py_Void();
8171 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
= 0;
8173 wxCursor
*arg1
= (wxCursor
*) 0 ;
8179 PyObject
* obj0
= 0 ;
8180 PyObject
* obj1
= 0 ;
8181 char * kwnames
[] = {
8182 (char *) "self",(char *) "h", NULL
8185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8187 if (!SWIG_IsOK(res1
)) {
8188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8190 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8192 if (!SWIG_IsOK(ecode2
)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8195 arg2
= static_cast< int >(val2
);
8197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8198 (arg1
)->SetHeight(arg2
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 resultobj
= SWIG_Py_Void();
8209 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
*resultobj
= 0;
8211 wxCursor
*arg1
= (wxCursor
*) 0 ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8219 char * kwnames
[] = {
8220 (char *) "self",(char *) "d", NULL
8223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8228 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8230 if (!SWIG_IsOK(ecode2
)) {
8231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8233 arg2
= static_cast< int >(val2
);
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->SetDepth(arg2
);
8237 wxPyEndAllowThreads(__tstate
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8240 resultobj
= SWIG_Py_Void();
8247 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
= 0;
8249 wxCursor
*arg1
= (wxCursor
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8256 char * kwnames
[] = {
8257 (char *) "self",(char *) "size", NULL
8260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8262 if (!SWIG_IsOK(res1
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8265 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8268 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 (arg1
)->SetSize((wxSize
const &)*arg2
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= SWIG_Py_Void();
8283 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8286 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8287 return SWIG_Py_Void();
8290 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 return SWIG_Python_InitShadowInstance(args
);
8294 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
= 0;
8296 int arg1
= (int) 0 ;
8297 int arg2
= (int) 0 ;
8298 int arg3
= (int) 0 ;
8299 int arg4
= (int) 0 ;
8300 wxRegion
*result
= 0 ;
8309 PyObject
* obj0
= 0 ;
8310 PyObject
* obj1
= 0 ;
8311 PyObject
* obj2
= 0 ;
8312 PyObject
* obj3
= 0 ;
8313 char * kwnames
[] = {
8314 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8320 if (!SWIG_IsOK(ecode1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8323 arg1
= static_cast< int >(val1
);
8326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8327 if (!SWIG_IsOK(ecode2
)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8330 arg2
= static_cast< int >(val2
);
8333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8334 if (!SWIG_IsOK(ecode3
)) {
8335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8337 arg3
= static_cast< int >(val3
);
8340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8341 if (!SWIG_IsOK(ecode4
)) {
8342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8344 arg4
= static_cast< int >(val4
);
8347 if (!wxPyCheckForApp()) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8360 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8362 wxBitmap
*arg1
= 0 ;
8363 wxRegion
*result
= 0 ;
8366 PyObject
* obj0
= 0 ;
8367 char * kwnames
[] = {
8368 (char *) "bmp", NULL
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8381 if (!wxPyCheckForApp()) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8394 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
= 0;
8396 wxBitmap
*arg1
= 0 ;
8397 wxColour
*arg2
= 0 ;
8398 int arg3
= (int) 0 ;
8399 wxRegion
*result
= 0 ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8407 PyObject
* obj2
= 0 ;
8408 char * kwnames
[] = {
8409 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8423 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8427 if (!SWIG_IsOK(ecode3
)) {
8428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8430 arg3
= static_cast< int >(val3
);
8433 if (!wxPyCheckForApp()) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8446 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
= 0;
8449 wxPoint
*arg2
= (wxPoint
*) 0 ;
8450 int arg3
= (int) wxWINDING_RULE
;
8451 wxRegion
*result
= 0 ;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8456 char * kwnames
[] = {
8457 (char *) "points",(char *) "fillStyle", NULL
8460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8462 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8463 if (arg2
== NULL
) SWIG_fail
;
8466 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8467 if (!SWIG_IsOK(ecode3
)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8470 arg3
= static_cast< int >(val3
);
8473 if (!wxPyCheckForApp()) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8481 if (arg2
) delete [] arg2
;
8486 if (arg2
) delete [] arg2
;
8492 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 PyObject
*resultobj
= 0;
8494 wxRegion
*arg1
= (wxRegion
*) 0 ;
8497 PyObject
*swig_obj
[1] ;
8499 if (!args
) SWIG_fail
;
8501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8502 if (!SWIG_IsOK(res1
)) {
8503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8505 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_Py_Void();
8520 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8521 PyObject
*resultobj
= 0;
8522 wxRegion
*arg1
= (wxRegion
*) 0 ;
8525 PyObject
*swig_obj
[1] ;
8527 if (!args
) SWIG_fail
;
8529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8530 if (!SWIG_IsOK(res1
)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8533 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8537 wxPyEndAllowThreads(__tstate
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= SWIG_Py_Void();
8547 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
= 0;
8549 wxRegion
*arg1
= (wxRegion
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj1
= 0 ;
8561 PyObject
* obj2
= 0 ;
8562 char * kwnames
[] = {
8563 (char *) "self",(char *) "x",(char *) "y", NULL
8566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8568 if (!SWIG_IsOK(res1
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8573 if (!SWIG_IsOK(ecode2
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8576 arg2
= static_cast< int >(val2
);
8577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8578 if (!SWIG_IsOK(ecode3
)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8581 arg3
= static_cast< int >(val3
);
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8597 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
= 0;
8599 wxRegion
*arg1
= (wxRegion
*) 0 ;
8602 wxRegionContain result
;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8611 PyObject
* obj2
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "x",(char *) "y", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8621 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8623 if (!SWIG_IsOK(ecode2
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8626 arg2
= static_cast< int >(val2
);
8627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8628 if (!SWIG_IsOK(ecode3
)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8631 arg3
= static_cast< int >(val3
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_int(static_cast< int >(result
));
8645 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= 0;
8647 wxRegion
*arg1
= (wxRegion
*) 0 ;
8649 wxRegionContain result
;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 char * kwnames
[] = {
8656 (char *) "self",(char *) "pt", NULL
8659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8664 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= SWIG_From_int(static_cast< int >(result
));
8682 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
= 0;
8684 wxRegion
*arg1
= (wxRegion
*) 0 ;
8686 wxRegionContain result
;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8692 char * kwnames
[] = {
8693 (char *) "self",(char *) "rect", NULL
8696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8698 if (!SWIG_IsOK(res1
)) {
8699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= SWIG_From_int(static_cast< int >(result
));
8719 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
= 0;
8721 wxRegion
*arg1
= (wxRegion
*) 0 ;
8726 wxRegionContain result
;
8737 PyObject
* obj0
= 0 ;
8738 PyObject
* obj1
= 0 ;
8739 PyObject
* obj2
= 0 ;
8740 PyObject
* obj3
= 0 ;
8741 PyObject
* obj4
= 0 ;
8742 char * kwnames
[] = {
8743 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8748 if (!SWIG_IsOK(res1
)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8751 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8753 if (!SWIG_IsOK(ecode2
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8756 arg2
= static_cast< int >(val2
);
8757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8758 if (!SWIG_IsOK(ecode3
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8761 arg3
= static_cast< int >(val3
);
8762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8763 if (!SWIG_IsOK(ecode4
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8766 arg4
= static_cast< int >(val4
);
8767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8768 if (!SWIG_IsOK(ecode5
)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8771 arg5
= static_cast< int >(val5
);
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= SWIG_From_int(static_cast< int >(result
));
8785 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8786 PyObject
*resultobj
= 0;
8787 wxRegion
*arg1
= (wxRegion
*) 0 ;
8791 PyObject
*swig_obj
[1] ;
8793 if (!args
) SWIG_fail
;
8795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8796 if (!SWIG_IsOK(res1
)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (arg1
)->GetBox();
8803 wxPyEndAllowThreads(__tstate
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8806 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8813 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
= 0;
8815 wxRegion
*arg1
= (wxRegion
*) 0 ;
8831 PyObject
* obj0
= 0 ;
8832 PyObject
* obj1
= 0 ;
8833 PyObject
* obj2
= 0 ;
8834 PyObject
* obj3
= 0 ;
8835 PyObject
* obj4
= 0 ;
8836 char * kwnames
[] = {
8837 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8842 if (!SWIG_IsOK(res1
)) {
8843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8847 if (!SWIG_IsOK(ecode2
)) {
8848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8850 arg2
= static_cast< int >(val2
);
8851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8852 if (!SWIG_IsOK(ecode3
)) {
8853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8855 arg3
= static_cast< int >(val3
);
8856 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8857 if (!SWIG_IsOK(ecode4
)) {
8858 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8860 arg4
= static_cast< int >(val4
);
8861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8862 if (!SWIG_IsOK(ecode5
)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8865 arg5
= static_cast< int >(val5
);
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8881 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
= 0;
8883 wxRegion
*arg1
= (wxRegion
*) 0 ;
8889 PyObject
* obj0
= 0 ;
8890 PyObject
* obj1
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "self",(char *) "rect", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8903 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8920 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
= 0;
8922 wxRegion
*arg1
= (wxRegion
*) 0 ;
8923 wxRegion
*arg2
= 0 ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "self",(char *) "region", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8942 if (!SWIG_IsOK(res2
)) {
8943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8948 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8964 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8965 PyObject
*resultobj
= 0;
8966 wxRegion
*arg1
= (wxRegion
*) 0 ;
8970 PyObject
*swig_obj
[1] ;
8972 if (!args
) SWIG_fail
;
8974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8975 if (!SWIG_IsOK(res1
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8978 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (bool)(arg1
)->IsEmpty();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8994 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
= 0;
8996 wxRegion
*arg1
= (wxRegion
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9014 PyObject
* obj2
= 0 ;
9015 PyObject
* obj3
= 0 ;
9016 PyObject
* obj4
= 0 ;
9017 char * kwnames
[] = {
9018 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9023 if (!SWIG_IsOK(res1
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9026 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9028 if (!SWIG_IsOK(ecode2
)) {
9029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9031 arg2
= static_cast< int >(val2
);
9032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9033 if (!SWIG_IsOK(ecode3
)) {
9034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9036 arg3
= static_cast< int >(val3
);
9037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9038 if (!SWIG_IsOK(ecode4
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9041 arg4
= static_cast< int >(val4
);
9042 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9043 if (!SWIG_IsOK(ecode5
)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9046 arg5
= static_cast< int >(val5
);
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9062 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxRegion
*arg1
= (wxRegion
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 char * kwnames
[] = {
9073 (char *) "self",(char *) "rect", NULL
9076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9078 if (!SWIG_IsOK(res1
)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9081 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9084 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9101 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
= 0;
9103 wxRegion
*arg1
= (wxRegion
*) 0 ;
9104 wxRegion
*arg2
= 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "self",(char *) "region", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9118 if (!SWIG_IsOK(res1
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9121 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9123 if (!SWIG_IsOK(res2
)) {
9124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9129 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9145 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
= 0;
9147 wxRegion
*arg1
= (wxRegion
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9166 PyObject
* obj3
= 0 ;
9167 PyObject
* obj4
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9177 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9179 if (!SWIG_IsOK(ecode2
)) {
9180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9182 arg2
= static_cast< int >(val2
);
9183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9184 if (!SWIG_IsOK(ecode3
)) {
9185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9187 arg3
= static_cast< int >(val3
);
9188 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9189 if (!SWIG_IsOK(ecode4
)) {
9190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9192 arg4
= static_cast< int >(val4
);
9193 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9194 if (!SWIG_IsOK(ecode5
)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9197 arg5
= static_cast< int >(val5
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxRegion
*arg1
= (wxRegion
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "self",(char *) "rect", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9232 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9252 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
= 0;
9254 wxRegion
*arg1
= (wxRegion
*) 0 ;
9255 wxRegion
*arg2
= 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 char * kwnames
[] = {
9264 (char *) "self",(char *) "region", NULL
9267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9272 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9274 if (!SWIG_IsOK(res2
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9280 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9296 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
= 0;
9298 wxRegion
*arg1
= (wxRegion
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 PyObject
* obj2
= 0 ;
9317 PyObject
* obj3
= 0 ;
9318 PyObject
* obj4
= 0 ;
9319 char * kwnames
[] = {
9320 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9328 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9330 if (!SWIG_IsOK(ecode2
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9333 arg2
= static_cast< int >(val2
);
9334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9335 if (!SWIG_IsOK(ecode3
)) {
9336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9338 arg3
= static_cast< int >(val3
);
9339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9340 if (!SWIG_IsOK(ecode4
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9343 arg4
= static_cast< int >(val4
);
9344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9345 if (!SWIG_IsOK(ecode5
)) {
9346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9348 arg5
= static_cast< int >(val5
);
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9364 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
= 0;
9366 wxRegion
*arg1
= (wxRegion
*) 0 ;
9372 PyObject
* obj0
= 0 ;
9373 PyObject
* obj1
= 0 ;
9374 char * kwnames
[] = {
9375 (char *) "self",(char *) "rect", NULL
9378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9383 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9386 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9403 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9405 wxRegion
*arg1
= (wxRegion
*) 0 ;
9406 wxRegion
*arg2
= 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 char * kwnames
[] = {
9415 (char *) "self",(char *) "region", NULL
9418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9423 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9425 if (!SWIG_IsOK(res2
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9431 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9435 wxPyEndAllowThreads(__tstate
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9448 PyObject
*resultobj
= 0;
9449 wxRegion
*arg1
= (wxRegion
*) 0 ;
9450 SwigValueWrapper
<wxBitmap
> result
;
9453 PyObject
*swig_obj
[1] ;
9455 if (!args
) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9461 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 result
= (arg1
)->ConvertToBitmap();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9475 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
= 0;
9477 wxRegion
*arg1
= (wxRegion
*) 0 ;
9478 wxBitmap
*arg2
= 0 ;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9486 char * kwnames
[] = {
9487 (char *) "self",(char *) "bmp", NULL
9490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9492 if (!SWIG_IsOK(res1
)) {
9493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9495 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9497 if (!SWIG_IsOK(res2
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9503 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9519 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
= 0;
9521 wxRegion
*arg1
= (wxRegion
*) 0 ;
9522 wxBitmap
*arg2
= 0 ;
9523 wxColour
*arg3
= 0 ;
9524 int arg4
= (int) 0 ;
9533 PyObject
* obj0
= 0 ;
9534 PyObject
* obj1
= 0 ;
9535 PyObject
* obj2
= 0 ;
9536 PyObject
* obj3
= 0 ;
9537 char * kwnames
[] = {
9538 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9543 if (!SWIG_IsOK(res1
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9546 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9548 if (!SWIG_IsOK(res2
)) {
9549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9554 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9557 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9561 if (!SWIG_IsOK(ecode4
)) {
9562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9564 arg4
= static_cast< int >(val4
);
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9581 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9584 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9585 return SWIG_Py_Void();
9588 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9589 return SWIG_Python_InitShadowInstance(args
);
9592 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
= 0;
9594 wxRegion
*arg1
= 0 ;
9595 wxRegionIterator
*result
= 0 ;
9598 PyObject
* obj0
= 0 ;
9599 char * kwnames
[] = {
9600 (char *) "region", NULL
9603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9604 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9605 if (!SWIG_IsOK(res1
)) {
9606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9611 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9613 if (!wxPyCheckForApp()) SWIG_fail
;
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9626 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9639 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_Py_Void();
9654 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 PyObject
*resultobj
= 0;
9656 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9660 PyObject
*swig_obj
[1] ;
9662 if (!args
) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9668 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (int)(arg1
)->GetX();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_From_int(static_cast< int >(result
));
9682 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9683 PyObject
*resultobj
= 0;
9684 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9688 PyObject
*swig_obj
[1] ;
9690 if (!args
) SWIG_fail
;
9692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9693 if (!SWIG_IsOK(res1
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9696 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (int)(arg1
)->GetY();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_From_int(static_cast< int >(result
));
9710 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9711 PyObject
*resultobj
= 0;
9712 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9716 PyObject
*swig_obj
[1] ;
9718 if (!args
) SWIG_fail
;
9720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9721 if (!SWIG_IsOK(res1
)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9724 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (int)(arg1
)->GetW();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_From_int(static_cast< int >(result
));
9738 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9744 PyObject
*swig_obj
[1] ;
9746 if (!args
) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9752 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (int)(arg1
)->GetWidth();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_From_int(static_cast< int >(result
));
9766 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9767 PyObject
*resultobj
= 0;
9768 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9772 PyObject
*swig_obj
[1] ;
9774 if (!args
) SWIG_fail
;
9776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9777 if (!SWIG_IsOK(res1
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9780 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (int)(arg1
)->GetH();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_From_int(static_cast< int >(result
));
9794 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9795 PyObject
*resultobj
= 0;
9796 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9800 PyObject
*swig_obj
[1] ;
9802 if (!args
) SWIG_fail
;
9804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9805 if (!SWIG_IsOK(res1
)) {
9806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9808 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (int)(arg1
)->GetHeight();
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= SWIG_From_int(static_cast< int >(result
));
9822 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9823 PyObject
*resultobj
= 0;
9824 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9828 PyObject
*swig_obj
[1] ;
9830 if (!args
) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9836 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (arg1
)->GetRect();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9850 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9851 PyObject
*resultobj
= 0;
9852 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9856 PyObject
*swig_obj
[1] ;
9858 if (!args
) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9864 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (bool)(arg1
)->HaveRects();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9880 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9881 PyObject
*resultobj
= 0;
9882 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9885 PyObject
*swig_obj
[1] ;
9887 if (!args
) SWIG_fail
;
9889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9890 if (!SWIG_IsOK(res1
)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9893 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_Py_Void();
9907 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9908 PyObject
*resultobj
= 0;
9909 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9912 PyObject
*swig_obj
[1] ;
9914 if (!args
) SWIG_fail
;
9916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9917 if (!SWIG_IsOK(res1
)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9920 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxRegionIterator_Next(arg1
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9935 PyObject
*resultobj
= 0;
9936 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9940 PyObject
*swig_obj
[1] ;
9942 if (!args
) SWIG_fail
;
9944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9945 if (!SWIG_IsOK(res1
)) {
9946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9948 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9952 wxPyEndAllowThreads(__tstate
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9964 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9967 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9968 return SWIG_Py_Void();
9971 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 return SWIG_Python_InitShadowInstance(args
);
9975 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9976 PyObject
*resultobj
= 0;
9977 wxNativeFontInfo
*result
= 0 ;
9979 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9993 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9994 PyObject
*resultobj
= 0;
9995 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9998 PyObject
*swig_obj
[1] ;
10000 if (!args
) SWIG_fail
;
10001 swig_obj
[0] = args
;
10002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10003 if (!SWIG_IsOK(res1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10006 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_Py_Void();
10021 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10022 PyObject
*resultobj
= 0;
10023 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10026 PyObject
*swig_obj
[1] ;
10028 if (!args
) SWIG_fail
;
10029 swig_obj
[0] = args
;
10030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10031 if (!SWIG_IsOK(res1
)) {
10032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10034 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
= 0;
10050 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 char * kwnames
[] = {
10059 (char *) "self",(char *) "font", NULL
10062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10064 if (!SWIG_IsOK(res1
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10067 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10069 if (!SWIG_IsOK(res2
)) {
10070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10075 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_Py_Void();
10089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10090 PyObject
*resultobj
= 0;
10091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10095 PyObject
*swig_obj
[1] ;
10097 if (!args
) SWIG_fail
;
10098 swig_obj
[0] = args
;
10099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10103 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= SWIG_From_int(static_cast< int >(result
));
10117 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10118 PyObject
*resultobj
= 0;
10119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10123 PyObject
*swig_obj
[1] ;
10125 if (!args
) SWIG_fail
;
10126 swig_obj
[0] = args
;
10127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10131 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10145 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10146 PyObject
*resultobj
= 0;
10147 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10148 wxFontStyle result
;
10151 PyObject
*swig_obj
[1] ;
10153 if (!args
) SWIG_fail
;
10154 swig_obj
[0] = args
;
10155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10156 if (!SWIG_IsOK(res1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10159 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_From_int(static_cast< int >(result
));
10173 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10174 PyObject
*resultobj
= 0;
10175 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10176 wxFontWeight result
;
10179 PyObject
*swig_obj
[1] ;
10181 if (!args
) SWIG_fail
;
10182 swig_obj
[0] = args
;
10183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10187 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_From_int(static_cast< int >(result
));
10201 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 PyObject
*resultobj
= 0;
10203 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10207 PyObject
*swig_obj
[1] ;
10209 if (!args
) SWIG_fail
;
10210 swig_obj
[0] = args
;
10211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10212 if (!SWIG_IsOK(res1
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10215 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10231 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10232 PyObject
*resultobj
= 0;
10233 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10237 PyObject
*swig_obj
[1] ;
10239 if (!args
) SWIG_fail
;
10240 swig_obj
[0] = args
;
10241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10242 if (!SWIG_IsOK(res1
)) {
10243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10245 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10265 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10266 PyObject
*resultobj
= 0;
10267 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10268 wxFontFamily result
;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10279 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_int(static_cast< int >(result
));
10293 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 PyObject
*resultobj
= 0;
10295 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10296 wxFontEncoding result
;
10299 PyObject
*swig_obj
[1] ;
10301 if (!args
) SWIG_fail
;
10302 swig_obj
[0] = args
;
10303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10307 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_From_int(static_cast< int >(result
));
10321 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
= 0;
10323 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 char * kwnames
[] = {
10332 (char *) "self",(char *) "pointsize", NULL
10335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10337 if (!SWIG_IsOK(res1
)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10340 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10342 if (!SWIG_IsOK(ecode2
)) {
10343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10345 arg2
= static_cast< int >(val2
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 (arg1
)->SetPointSize(arg2
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_Py_Void();
10359 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "self",(char *) "pixelSize", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10374 if (!SWIG_IsOK(res1
)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10377 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10380 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_Py_Void();
10395 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
= 0;
10397 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "self",(char *) "style", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10411 if (!SWIG_IsOK(res1
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10414 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10416 if (!SWIG_IsOK(ecode2
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10419 arg2
= static_cast< wxFontStyle
>(val2
);
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 (arg1
)->SetStyle(arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_Py_Void();
10433 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
= 0;
10435 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10436 wxFontWeight arg2
;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "self",(char *) "weight", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10452 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10454 if (!SWIG_IsOK(ecode2
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10457 arg2
= static_cast< wxFontWeight
>(val2
);
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 (arg1
)->SetWeight(arg2
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_Py_Void();
10471 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
= 0;
10473 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 char * kwnames
[] = {
10482 (char *) "self",(char *) "underlined", NULL
10485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10487 if (!SWIG_IsOK(res1
)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10490 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10491 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10492 if (!SWIG_IsOK(ecode2
)) {
10493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10495 arg2
= static_cast< bool >(val2
);
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 (arg1
)->SetUnderlined(arg2
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_Py_Void();
10509 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
= 0;
10511 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10515 PyObject
* obj0
= 0 ;
10516 PyObject
* obj1
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "self",(char *) "facename", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10523 if (!SWIG_IsOK(res1
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10526 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10528 wxString
* sptr
= wxString_in_helper(obj1
);
10529 if (sptr
== NULL
) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 (arg1
)->SetFaceName(arg2
);
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10549 wxFontFamily arg2
;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 char * kwnames
[] = {
10557 (char *) "self",(char *) "family", NULL
10560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10565 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10567 if (!SWIG_IsOK(ecode2
)) {
10568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10570 arg2
= static_cast< wxFontFamily
>(val2
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->SetFamily(arg2
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_Py_Void();
10584 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10587 wxFontEncoding arg2
;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char * kwnames
[] = {
10595 (char *) "self",(char *) "encoding", NULL
10598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10603 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10605 if (!SWIG_IsOK(ecode2
)) {
10606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10608 arg2
= static_cast< wxFontEncoding
>(val2
);
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 (arg1
)->SetEncoding(arg2
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_Py_Void();
10622 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
= 0;
10624 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10625 wxString
*arg2
= 0 ;
10629 bool temp2
= false ;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 char * kwnames
[] = {
10633 (char *) "self",(char *) "s", NULL
10636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10641 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10643 arg2
= wxString_in_helper(obj1
);
10644 if (arg2
== NULL
) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10671 PyObject
*resultobj
= 0;
10672 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10676 PyObject
*swig_obj
[1] ;
10678 if (!args
) SWIG_fail
;
10679 swig_obj
[0] = args
;
10680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10681 if (!SWIG_IsOK(res1
)) {
10682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10684 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10704 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10705 PyObject
*resultobj
= 0;
10706 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10710 PyObject
*swig_obj
[1] ;
10712 if (!args
) SWIG_fail
;
10713 swig_obj
[0] = args
;
10714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10715 if (!SWIG_IsOK(res1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10718 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= wxNativeFontInfo___str__(arg1
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10738 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
*resultobj
= 0;
10740 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10741 wxString
*arg2
= 0 ;
10745 bool temp2
= false ;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char * kwnames
[] = {
10749 (char *) "self",(char *) "s", NULL
10752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10754 if (!SWIG_IsOK(res1
)) {
10755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10757 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10759 arg2
= wxString_in_helper(obj1
);
10760 if (arg2
== NULL
) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10787 PyObject
*resultobj
= 0;
10788 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10792 PyObject
*swig_obj
[1] ;
10794 if (!args
) SWIG_fail
;
10795 swig_obj
[0] = args
;
10796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10797 if (!SWIG_IsOK(res1
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10800 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10820 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10823 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10824 return SWIG_Py_Void();
10827 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10828 return SWIG_Python_InitShadowInstance(args
);
10831 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10832 PyObject
*resultobj
= 0;
10833 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10834 wxString
*arg2
= (wxString
*) 0 ;
10837 bool temp2
= false ;
10838 PyObject
*swig_obj
[2] ;
10840 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10845 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10847 arg2
= wxString_in_helper(swig_obj
[1]);
10848 if (arg2
== NULL
) SWIG_fail
;
10851 if (arg1
) (arg1
)->facename
= *arg2
;
10853 resultobj
= SWIG_Py_Void();
10868 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10869 PyObject
*resultobj
= 0;
10870 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10871 wxString
*result
= 0 ;
10874 PyObject
*swig_obj
[1] ;
10876 if (!args
) SWIG_fail
;
10877 swig_obj
[0] = args
;
10878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10882 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10883 result
= (wxString
*)& ((arg1
)->facename
);
10886 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10888 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10897 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10898 PyObject
*resultobj
= 0;
10899 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10900 wxFontEncoding arg2
;
10905 PyObject
*swig_obj
[2] ;
10907 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10909 if (!SWIG_IsOK(res1
)) {
10910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10912 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10913 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10914 if (!SWIG_IsOK(ecode2
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10917 arg2
= static_cast< wxFontEncoding
>(val2
);
10918 if (arg1
) (arg1
)->encoding
= arg2
;
10920 resultobj
= SWIG_Py_Void();
10927 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10928 PyObject
*resultobj
= 0;
10929 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10930 wxFontEncoding result
;
10933 PyObject
*swig_obj
[1] ;
10935 if (!args
) SWIG_fail
;
10936 swig_obj
[0] = args
;
10937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10941 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10942 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10943 resultobj
= SWIG_From_int(static_cast< int >(result
));
10950 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10951 PyObject
*resultobj
= 0;
10952 wxNativeEncodingInfo
*result
= 0 ;
10954 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10968 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10969 PyObject
*resultobj
= 0;
10970 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10973 PyObject
*swig_obj
[1] ;
10975 if (!args
) SWIG_fail
;
10976 swig_obj
[0] = args
;
10977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10981 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_Py_Void();
10996 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= 0;
10998 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10999 wxString
*arg2
= 0 ;
11003 bool temp2
= false ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char * kwnames
[] = {
11007 (char *) "self",(char *) "s", NULL
11010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11015 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11017 arg2
= wxString_in_helper(obj1
);
11018 if (arg2
== NULL
) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11024 wxPyEndAllowThreads(__tstate
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11045 PyObject
*resultobj
= 0;
11046 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11050 PyObject
*swig_obj
[1] ;
11052 if (!args
) SWIG_fail
;
11053 swig_obj
[0] = args
;
11054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11055 if (!SWIG_IsOK(res1
)) {
11056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11058 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11078 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11081 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11082 return SWIG_Py_Void();
11085 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11086 return SWIG_Python_InitShadowInstance(args
);
11089 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
= 0;
11091 wxFontEncoding arg1
;
11092 wxNativeEncodingInfo
*result
= 0 ;
11095 PyObject
* obj0
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "encoding", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11101 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11102 if (!SWIG_IsOK(ecode1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11105 arg1
= static_cast< wxFontEncoding
>(val1
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11119 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
= 0;
11121 wxNativeEncodingInfo
*arg1
= 0 ;
11125 PyObject
* obj0
= 0 ;
11126 char * kwnames
[] = {
11127 (char *) "info", NULL
11130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11131 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11132 if (!SWIG_IsOK(res1
)) {
11133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11138 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 PyObject
*resultobj
= 0;
11156 wxFontMapper
*result
= 0 ;
11158 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (wxFontMapper
*)new wxFontMapper();
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11172 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11173 PyObject
*resultobj
= 0;
11174 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11177 PyObject
*swig_obj
[1] ;
11179 if (!args
) SWIG_fail
;
11180 swig_obj
[0] = args
;
11181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11185 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_Py_Void();
11200 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11201 PyObject
*resultobj
= 0;
11202 wxFontMapper
*result
= 0 ;
11204 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (wxFontMapper
*)wxFontMapper::Get();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11218 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11219 PyObject
*resultobj
= 0;
11220 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11221 wxFontMapper
*result
= 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char * kwnames
[] = {
11226 (char *) "mapper", NULL
11229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11234 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11248 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
= 0;
11250 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11251 wxString
*arg2
= 0 ;
11252 bool arg3
= (bool) true ;
11253 wxFontEncoding result
;
11256 bool temp2
= false ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char * kwnames
[] = {
11263 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11268 if (!SWIG_IsOK(res1
)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11271 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11273 arg2
= wxString_in_helper(obj1
);
11274 if (arg2
== NULL
) SWIG_fail
;
11278 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11279 if (!SWIG_IsOK(ecode3
)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11282 arg3
= static_cast< bool >(val3
);
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_From_int(static_cast< int >(result
));
11305 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11306 PyObject
*resultobj
= 0;
11309 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11323 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
= 0;
11326 wxFontEncoding result
;
11329 PyObject
* obj0
= 0 ;
11330 char * kwnames
[] = {
11334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11335 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11336 if (!SWIG_IsOK(ecode1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11339 arg1
= static_cast< size_t >(val1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxFontEncoding arg1
;
11359 PyObject
* obj0
= 0 ;
11360 char * kwnames
[] = {
11361 (char *) "encoding", NULL
11364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11366 if (!SWIG_IsOK(ecode1
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11369 arg1
= static_cast< wxFontEncoding
>(val1
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= wxFontMapper::GetEncodingName(arg1
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11389 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
= 0;
11391 wxFontEncoding arg1
;
11395 PyObject
* obj0
= 0 ;
11396 char * kwnames
[] = {
11397 (char *) "encoding", NULL
11400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11402 if (!SWIG_IsOK(ecode1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11405 arg1
= static_cast< wxFontEncoding
>(val1
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= wxFontMapper::GetEncodingDescription(arg1
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11425 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
= 0;
11427 wxString
*arg1
= 0 ;
11428 wxFontEncoding result
;
11429 bool temp1
= false ;
11430 PyObject
* obj0
= 0 ;
11431 char * kwnames
[] = {
11432 (char *) "name", NULL
11435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11437 arg1
= wxString_in_helper(obj0
);
11438 if (arg1
== NULL
) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_From_int(static_cast< int >(result
));
11462 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
= 0;
11464 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11465 wxString
*arg2
= 0 ;
11468 bool temp2
= false ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 char * kwnames
[] = {
11472 (char *) "self",(char *) "prefix", NULL
11475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11477 if (!SWIG_IsOK(res1
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11480 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11482 arg2
= wxString_in_helper(obj1
);
11483 if (arg2
== NULL
) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_Py_Void();
11507 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11508 PyObject
*resultobj
= 0;
11511 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= wxFontMapper::GetDefaultConfigPath();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11531 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
= 0;
11533 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11534 wxFontEncoding arg2
;
11535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11537 bool arg4
= (bool) true ;
11538 PyObject
*result
= 0 ;
11543 bool temp3
= false ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 PyObject
* obj2
= 0 ;
11549 PyObject
* obj3
= 0 ;
11550 char * kwnames
[] = {
11551 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11556 if (!SWIG_IsOK(res1
)) {
11557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11559 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11561 if (!SWIG_IsOK(ecode2
)) {
11562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11564 arg2
= static_cast< wxFontEncoding
>(val2
);
11567 arg3
= wxString_in_helper(obj2
);
11568 if (arg3
== NULL
) SWIG_fail
;
11573 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11574 if (!SWIG_IsOK(ecode4
)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11577 arg4
= static_cast< bool >(val4
);
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= result
;
11600 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
= 0;
11602 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11603 wxFontEncoding arg2
;
11604 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11605 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11611 bool temp3
= false ;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 PyObject
* obj2
= 0 ;
11615 char * kwnames
[] = {
11616 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11624 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11626 if (!SWIG_IsOK(ecode2
)) {
11627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11629 arg2
= static_cast< wxFontEncoding
>(val2
);
11632 arg3
= wxString_in_helper(obj2
);
11633 if (arg3
== NULL
) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11660 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
= 0;
11662 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11663 wxWindow
*arg2
= (wxWindow
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 char * kwnames
[] = {
11671 (char *) "self",(char *) "parent", NULL
11674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11679 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11681 if (!SWIG_IsOK(res2
)) {
11682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 (arg1
)->SetDialogParent(arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_Py_Void();
11698 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
= 0;
11700 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11701 wxString
*arg2
= 0 ;
11704 bool temp2
= false ;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj1
= 0 ;
11707 char * kwnames
[] = {
11708 (char *) "self",(char *) "title", NULL
11711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11713 if (!SWIG_IsOK(res1
)) {
11714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11716 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11718 arg2
= wxString_in_helper(obj1
);
11719 if (arg2
== NULL
) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_Py_Void();
11743 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11746 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11747 return SWIG_Py_Void();
11750 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 return SWIG_Python_InitShadowInstance(args
);
11754 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
= 0;
11760 bool arg5
= (bool) false ;
11761 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11763 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11764 wxFont
*result
= 0 ;
11775 bool temp6
= false ;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 PyObject
* obj2
= 0 ;
11781 PyObject
* obj3
= 0 ;
11782 PyObject
* obj4
= 0 ;
11783 PyObject
* obj5
= 0 ;
11784 PyObject
* obj6
= 0 ;
11785 char * kwnames
[] = {
11786 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11791 if (!SWIG_IsOK(ecode1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11794 arg1
= static_cast< int >(val1
);
11795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11796 if (!SWIG_IsOK(ecode2
)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11799 arg2
= static_cast< int >(val2
);
11800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11801 if (!SWIG_IsOK(ecode3
)) {
11802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11804 arg3
= static_cast< int >(val3
);
11805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11806 if (!SWIG_IsOK(ecode4
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11809 arg4
= static_cast< int >(val4
);
11811 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11812 if (!SWIG_IsOK(ecode5
)) {
11813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11815 arg5
= static_cast< bool >(val5
);
11819 arg6
= wxString_in_helper(obj5
);
11820 if (arg6
== NULL
) SWIG_fail
;
11825 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11826 if (!SWIG_IsOK(ecode7
)) {
11827 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11829 arg7
= static_cast< wxFontEncoding
>(val7
);
11832 if (!wxPyCheckForApp()) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11835 wxPyEndAllowThreads(__tstate
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11853 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11854 PyObject
*resultobj
= 0;
11855 wxFont
*arg1
= (wxFont
*) 0 ;
11858 PyObject
*swig_obj
[1] ;
11860 if (!args
) SWIG_fail
;
11861 swig_obj
[0] = args
;
11862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11866 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= SWIG_Py_Void();
11881 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
= 0;
11883 wxNativeFontInfo
*arg1
= 0 ;
11884 wxFont
*result
= 0 ;
11887 PyObject
* obj0
= 0 ;
11888 char * kwnames
[] = {
11889 (char *) "info", NULL
11892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11893 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11894 if (!SWIG_IsOK(res1
)) {
11895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11900 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11902 if (!wxPyCheckForApp()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11915 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
= 0;
11917 wxString
*arg1
= 0 ;
11918 wxFont
*result
= 0 ;
11919 bool temp1
= false ;
11920 PyObject
* obj0
= 0 ;
11921 char * kwnames
[] = {
11922 (char *) "info", NULL
11925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11927 arg1
= wxString_in_helper(obj0
);
11928 if (arg1
== NULL
) SWIG_fail
;
11932 if (!wxPyCheckForApp()) SWIG_fail
;
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11953 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
= 0;
11956 wxFontFamily arg2
;
11957 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11958 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11959 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11960 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11961 wxFont
*result
= 0 ;
11968 bool temp4
= false ;
11971 PyObject
* obj0
= 0 ;
11972 PyObject
* obj1
= 0 ;
11973 PyObject
* obj2
= 0 ;
11974 PyObject
* obj3
= 0 ;
11975 PyObject
* obj4
= 0 ;
11976 char * kwnames
[] = {
11977 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11981 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11982 if (!SWIG_IsOK(ecode1
)) {
11983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11985 arg1
= static_cast< int >(val1
);
11986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11987 if (!SWIG_IsOK(ecode2
)) {
11988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11990 arg2
= static_cast< wxFontFamily
>(val2
);
11992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11993 if (!SWIG_IsOK(ecode3
)) {
11994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11996 arg3
= static_cast< int >(val3
);
12000 arg4
= wxString_in_helper(obj3
);
12001 if (arg4
== NULL
) SWIG_fail
;
12006 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12007 if (!SWIG_IsOK(ecode5
)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12010 arg5
= static_cast< wxFontEncoding
>(val5
);
12013 if (!wxPyCheckForApp()) SWIG_fail
;
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12034 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
= 0;
12040 bool arg5
= (bool) false ;
12041 wxString
const &arg6_defvalue
= wxEmptyString
;
12042 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12043 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12044 wxFont
*result
= 0 ;
12054 bool temp6
= false ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 PyObject
* obj2
= 0 ;
12060 PyObject
* obj3
= 0 ;
12061 PyObject
* obj4
= 0 ;
12062 PyObject
* obj5
= 0 ;
12063 PyObject
* obj6
= 0 ;
12064 char * kwnames
[] = {
12065 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12071 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12074 if (!SWIG_IsOK(ecode2
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12077 arg2
= static_cast< int >(val2
);
12078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12079 if (!SWIG_IsOK(ecode3
)) {
12080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12082 arg3
= static_cast< int >(val3
);
12083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12084 if (!SWIG_IsOK(ecode4
)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12087 arg4
= static_cast< int >(val4
);
12089 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12090 if (!SWIG_IsOK(ecode5
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12093 arg5
= static_cast< bool >(val5
);
12097 arg6
= wxString_in_helper(obj5
);
12098 if (arg6
== NULL
) SWIG_fail
;
12103 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12104 if (!SWIG_IsOK(ecode7
)) {
12105 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12107 arg7
= static_cast< wxFontEncoding
>(val7
);
12110 if (!wxPyCheckForApp()) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12131 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12134 wxFontFamily arg2
;
12135 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12136 wxString
const &arg4_defvalue
= wxEmptyString
;
12137 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12138 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12139 wxFont
*result
= 0 ;
12145 bool temp4
= false ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 PyObject
* obj2
= 0 ;
12151 PyObject
* obj3
= 0 ;
12152 PyObject
* obj4
= 0 ;
12153 char * kwnames
[] = {
12154 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12160 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12163 if (!SWIG_IsOK(ecode2
)) {
12164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12166 arg2
= static_cast< wxFontFamily
>(val2
);
12168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12169 if (!SWIG_IsOK(ecode3
)) {
12170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12172 arg3
= static_cast< int >(val3
);
12176 arg4
= wxString_in_helper(obj3
);
12177 if (arg4
== NULL
) SWIG_fail
;
12182 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12183 if (!SWIG_IsOK(ecode5
)) {
12184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12186 arg5
= static_cast< wxFontEncoding
>(val5
);
12189 if (!wxPyCheckForApp()) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12192 wxPyEndAllowThreads(__tstate
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12210 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12211 PyObject
*resultobj
= 0;
12212 wxFont
*arg1
= (wxFont
*) 0 ;
12216 PyObject
*swig_obj
[1] ;
12218 if (!args
) SWIG_fail
;
12219 swig_obj
[0] = args
;
12220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12224 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 result
= (bool)((wxFont
const *)arg1
)->Ok();
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12240 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
*resultobj
= 0;
12242 wxFont
*arg1
= (wxFont
*) 0 ;
12243 wxFont
*arg2
= (wxFont
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 char * kwnames
[] = {
12252 (char *) "self",(char *) "other", NULL
12255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12260 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12262 if (!SWIG_IsOK(res2
)) {
12263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12265 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12281 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
= 0;
12283 wxFont
*arg1
= (wxFont
*) 0 ;
12284 wxFont
*arg2
= (wxFont
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char * kwnames
[] = {
12293 (char *) "self",(char *) "other", NULL
12296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12298 if (!SWIG_IsOK(res1
)) {
12299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12301 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12303 if (!SWIG_IsOK(res2
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12306 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12309 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12322 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxFont
*arg1
= (wxFont
*) 0 ;
12328 PyObject
*swig_obj
[1] ;
12330 if (!args
) SWIG_fail
;
12331 swig_obj
[0] = args
;
12332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12336 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12340 wxPyEndAllowThreads(__tstate
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 resultobj
= SWIG_From_int(static_cast< int >(result
));
12350 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxFont
*arg1
= (wxFont
*) 0 ;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12364 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12378 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 PyObject
*resultobj
= 0;
12380 wxFont
*arg1
= (wxFont
*) 0 ;
12384 PyObject
*swig_obj
[1] ;
12386 if (!args
) SWIG_fail
;
12387 swig_obj
[0] = args
;
12388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12389 if (!SWIG_IsOK(res1
)) {
12390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12392 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12408 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12409 PyObject
*resultobj
= 0;
12410 wxFont
*arg1
= (wxFont
*) 0 ;
12414 PyObject
*swig_obj
[1] ;
12416 if (!args
) SWIG_fail
;
12417 swig_obj
[0] = args
;
12418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12419 if (!SWIG_IsOK(res1
)) {
12420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12422 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_From_int(static_cast< int >(result
));
12436 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12437 PyObject
*resultobj
= 0;
12438 wxFont
*arg1
= (wxFont
*) 0 ;
12442 PyObject
*swig_obj
[1] ;
12444 if (!args
) SWIG_fail
;
12445 swig_obj
[0] = args
;
12446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12447 if (!SWIG_IsOK(res1
)) {
12448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= SWIG_From_int(static_cast< int >(result
));
12464 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 PyObject
*resultobj
= 0;
12466 wxFont
*arg1
= (wxFont
*) 0 ;
12470 PyObject
*swig_obj
[1] ;
12472 if (!args
) SWIG_fail
;
12473 swig_obj
[0] = args
;
12474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12475 if (!SWIG_IsOK(res1
)) {
12476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12478 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_From_int(static_cast< int >(result
));
12492 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12493 PyObject
*resultobj
= 0;
12494 wxFont
*arg1
= (wxFont
*) 0 ;
12498 PyObject
*swig_obj
[1] ;
12500 if (!args
) SWIG_fail
;
12501 swig_obj
[0] = args
;
12502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12503 if (!SWIG_IsOK(res1
)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12506 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12522 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12523 PyObject
*resultobj
= 0;
12524 wxFont
*arg1
= (wxFont
*) 0 ;
12528 PyObject
*swig_obj
[1] ;
12530 if (!args
) SWIG_fail
;
12531 swig_obj
[0] = args
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12536 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= ((wxFont
const *)arg1
)->GetFaceName();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12556 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12557 PyObject
*resultobj
= 0;
12558 wxFont
*arg1
= (wxFont
*) 0 ;
12559 wxFontEncoding result
;
12562 PyObject
*swig_obj
[1] ;
12564 if (!args
) SWIG_fail
;
12565 swig_obj
[0] = args
;
12566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12570 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= SWIG_From_int(static_cast< int >(result
));
12584 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12585 PyObject
*resultobj
= 0;
12586 wxFont
*arg1
= (wxFont
*) 0 ;
12587 wxNativeFontInfo
*result
= 0 ;
12590 PyObject
*swig_obj
[1] ;
12592 if (!args
) SWIG_fail
;
12593 swig_obj
[0] = args
;
12594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12595 if (!SWIG_IsOK(res1
)) {
12596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12598 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12612 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxFont
*arg1
= (wxFont
*) 0 ;
12618 PyObject
*swig_obj
[1] ;
12620 if (!args
) SWIG_fail
;
12621 swig_obj
[0] = args
;
12622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12626 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12642 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 PyObject
*resultobj
= 0;
12644 wxFont
*arg1
= (wxFont
*) 0 ;
12648 PyObject
*swig_obj
[1] ;
12650 if (!args
) SWIG_fail
;
12651 swig_obj
[0] = args
;
12652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12653 if (!SWIG_IsOK(res1
)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12656 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12676 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12677 PyObject
*resultobj
= 0;
12678 wxFont
*arg1
= (wxFont
*) 0 ;
12682 PyObject
*swig_obj
[1] ;
12684 if (!args
) SWIG_fail
;
12685 swig_obj
[0] = args
;
12686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12687 if (!SWIG_IsOK(res1
)) {
12688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12690 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12693 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12710 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
= 0;
12712 wxFont
*arg1
= (wxFont
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char * kwnames
[] = {
12721 (char *) "self",(char *) "pointSize", NULL
12724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12726 if (!SWIG_IsOK(res1
)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12729 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12731 if (!SWIG_IsOK(ecode2
)) {
12732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12734 arg2
= static_cast< int >(val2
);
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 (arg1
)->SetPointSize(arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_Py_Void();
12748 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
= 0;
12750 wxFont
*arg1
= (wxFont
*) 0 ;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 char * kwnames
[] = {
12758 (char *) "self",(char *) "pixelSize", NULL
12761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12763 if (!SWIG_IsOK(res1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12766 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12769 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_Py_Void();
12784 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= 0;
12786 wxFont
*arg1
= (wxFont
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 char * kwnames
[] = {
12795 (char *) "self",(char *) "family", NULL
12798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12800 if (!SWIG_IsOK(res1
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12803 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12805 if (!SWIG_IsOK(ecode2
)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12808 arg2
= static_cast< int >(val2
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 (arg1
)->SetFamily(arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_Py_Void();
12822 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= 0;
12824 wxFont
*arg1
= (wxFont
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 char * kwnames
[] = {
12833 (char *) "self",(char *) "style", NULL
12836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12838 if (!SWIG_IsOK(res1
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12841 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12843 if (!SWIG_IsOK(ecode2
)) {
12844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12846 arg2
= static_cast< int >(val2
);
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 (arg1
)->SetStyle(arg2
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_Py_Void();
12860 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxFont
*arg1
= (wxFont
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 char * kwnames
[] = {
12871 (char *) "self",(char *) "weight", NULL
12874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12879 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12881 if (!SWIG_IsOK(ecode2
)) {
12882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12884 arg2
= static_cast< int >(val2
);
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 (arg1
)->SetWeight(arg2
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= SWIG_Py_Void();
12898 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
= 0;
12900 wxFont
*arg1
= (wxFont
*) 0 ;
12901 wxString
*arg2
= 0 ;
12904 bool temp2
= false ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 char * kwnames
[] = {
12908 (char *) "self",(char *) "faceName", NULL
12911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12916 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12918 arg2
= wxString_in_helper(obj1
);
12919 if (arg2
== NULL
) SWIG_fail
;
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12924 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_Py_Void();
12943 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
= 0;
12945 wxFont
*arg1
= (wxFont
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 char * kwnames
[] = {
12954 (char *) "self",(char *) "underlined", NULL
12957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12959 if (!SWIG_IsOK(res1
)) {
12960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12962 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12964 if (!SWIG_IsOK(ecode2
)) {
12965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12967 arg2
= static_cast< bool >(val2
);
12969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12970 (arg1
)->SetUnderlined(arg2
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= SWIG_Py_Void();
12981 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12982 PyObject
*resultobj
= 0;
12983 wxFont
*arg1
= (wxFont
*) 0 ;
12984 wxFontEncoding arg2
;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char * kwnames
[] = {
12992 (char *) "self",(char *) "encoding", NULL
12995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13000 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13002 if (!SWIG_IsOK(ecode2
)) {
13003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13005 arg2
= static_cast< wxFontEncoding
>(val2
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 (arg1
)->SetEncoding(arg2
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_Py_Void();
13019 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxFont
*arg1
= (wxFont
*) 0 ;
13022 wxNativeFontInfo
*arg2
= 0 ;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 char * kwnames
[] = {
13030 (char *) "self",(char *) "info", NULL
13033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13038 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13040 if (!SWIG_IsOK(res2
)) {
13041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13046 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_Py_Void();
13060 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
= 0;
13062 wxFont
*arg1
= (wxFont
*) 0 ;
13063 wxString
*arg2
= 0 ;
13066 bool temp2
= false ;
13067 PyObject
* obj0
= 0 ;
13068 PyObject
* obj1
= 0 ;
13069 char * kwnames
[] = {
13070 (char *) "self",(char *) "info", NULL
13073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13078 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13080 arg2
= wxString_in_helper(obj1
);
13081 if (arg2
== NULL
) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_Py_Void();
13105 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
= 0;
13107 wxFont
*arg1
= (wxFont
*) 0 ;
13108 wxString
*arg2
= 0 ;
13111 bool temp2
= false ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char * kwnames
[] = {
13115 (char *) "self",(char *) "info", NULL
13118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13120 if (!SWIG_IsOK(res1
)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13123 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_Py_Void();
13150 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13151 PyObject
*resultobj
= 0;
13152 wxFont
*arg1
= (wxFont
*) 0 ;
13156 PyObject
*swig_obj
[1] ;
13158 if (!args
) SWIG_fail
;
13159 swig_obj
[0] = args
;
13160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13164 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13184 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13185 PyObject
*resultobj
= 0;
13186 wxFont
*arg1
= (wxFont
*) 0 ;
13190 PyObject
*swig_obj
[1] ;
13192 if (!args
) SWIG_fail
;
13193 swig_obj
[0] = args
;
13194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13195 if (!SWIG_IsOK(res1
)) {
13196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13198 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= ((wxFont
const *)arg1
)->GetStyleString();
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13218 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 PyObject
*resultobj
= 0;
13220 wxFont
*arg1
= (wxFont
*) 0 ;
13224 PyObject
*swig_obj
[1] ;
13226 if (!args
) SWIG_fail
;
13227 swig_obj
[0] = args
;
13228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13229 if (!SWIG_IsOK(res1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13232 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= ((wxFont
const *)arg1
)->GetWeightString();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13252 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
= 0;
13254 wxFont
*arg1
= (wxFont
*) 0 ;
13255 bool arg2
= (bool) true ;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 char * kwnames
[] = {
13263 (char *) "self",(char *) "no", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13271 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13273 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13274 if (!SWIG_IsOK(ecode2
)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13277 arg2
= static_cast< bool >(val2
);
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 (arg1
)->SetNoAntiAliasing(arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= SWIG_Py_Void();
13292 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13293 PyObject
*resultobj
= 0;
13294 wxFont
*arg1
= (wxFont
*) 0 ;
13298 PyObject
*swig_obj
[1] ;
13300 if (!args
) SWIG_fail
;
13301 swig_obj
[0] = args
;
13302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13306 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13309 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13323 PyObject
*resultobj
= 0;
13324 wxFontEncoding result
;
13326 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13328 if (!wxPyCheckForApp()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_From_int(static_cast< int >(result
));
13341 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
= 0;
13343 wxFontEncoding arg1
;
13346 PyObject
* obj0
= 0 ;
13347 char * kwnames
[] = {
13348 (char *) "encoding", NULL
13351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13353 if (!SWIG_IsOK(ecode1
)) {
13354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13356 arg1
= static_cast< wxFontEncoding
>(val1
);
13358 if (!wxPyCheckForApp()) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 wxFont::SetDefaultEncoding(arg1
);
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_Py_Void();
13371 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13374 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13375 return SWIG_Py_Void();
13378 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13379 return SWIG_Python_InitShadowInstance(args
);
13382 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxPyFontEnumerator
*result
= 0 ;
13386 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13388 if (!wxPyCheckForApp()) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13401 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13402 PyObject
*resultobj
= 0;
13403 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13406 PyObject
*swig_obj
[1] ;
13408 if (!args
) SWIG_fail
;
13409 swig_obj
[0] = args
;
13410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13411 if (!SWIG_IsOK(res1
)) {
13412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13414 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= SWIG_Py_Void();
13429 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
= 0;
13431 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13432 PyObject
*arg2
= (PyObject
*) 0 ;
13433 PyObject
*arg3
= (PyObject
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 PyObject
* obj2
= 0 ;
13442 PyObject
* obj3
= 0 ;
13443 char * kwnames
[] = {
13444 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13452 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13455 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13456 if (!SWIG_IsOK(ecode4
)) {
13457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13459 arg4
= static_cast< bool >(val4
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= SWIG_Py_Void();
13473 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
= 0;
13475 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13476 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13477 bool arg3
= (bool) false ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 PyObject
* obj2
= 0 ;
13488 char * kwnames
[] = {
13489 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13497 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13500 if (!SWIG_IsOK(ecode2
)) {
13501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13503 arg2
= static_cast< wxFontEncoding
>(val2
);
13506 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13507 if (!SWIG_IsOK(ecode3
)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13510 arg3
= static_cast< bool >(val3
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= 0;
13529 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13530 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13531 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13535 bool temp2
= false ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 char * kwnames
[] = {
13539 (char *) "self",(char *) "facename", NULL
13542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13544 if (!SWIG_IsOK(res1
)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13547 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13550 arg2
= wxString_in_helper(obj1
);
13551 if (arg2
== NULL
) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13578 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13579 PyObject
*resultobj
= 0;
13580 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13581 PyObject
*result
= 0 ;
13584 PyObject
*swig_obj
[1] ;
13586 if (!args
) SWIG_fail
;
13587 swig_obj
[0] = args
;
13588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13589 if (!SWIG_IsOK(res1
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13592 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= result
;
13606 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13607 PyObject
*resultobj
= 0;
13608 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13609 PyObject
*result
= 0 ;
13612 PyObject
*swig_obj
[1] ;
13614 if (!args
) SWIG_fail
;
13615 swig_obj
[0] = args
;
13616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13617 if (!SWIG_IsOK(res1
)) {
13618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13620 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
;
13634 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13637 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13638 return SWIG_Py_Void();
13641 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13642 return SWIG_Python_InitShadowInstance(args
);
13645 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13646 PyObject
*resultobj
= 0;
13647 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13653 PyObject
*swig_obj
[2] ;
13655 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13657 if (!SWIG_IsOK(res1
)) {
13658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13660 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13661 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13662 if (!SWIG_IsOK(ecode2
)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13665 arg2
= static_cast< int >(val2
);
13666 if (arg1
) (arg1
)->Language
= arg2
;
13668 resultobj
= SWIG_Py_Void();
13675 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13676 PyObject
*resultobj
= 0;
13677 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13681 PyObject
*swig_obj
[1] ;
13683 if (!args
) SWIG_fail
;
13684 swig_obj
[0] = args
;
13685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13686 if (!SWIG_IsOK(res1
)) {
13687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13689 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13690 result
= (int) ((arg1
)->Language
);
13691 resultobj
= SWIG_From_int(static_cast< int >(result
));
13698 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13699 PyObject
*resultobj
= 0;
13700 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13701 wxString
*arg2
= (wxString
*) 0 ;
13704 bool temp2
= false ;
13705 PyObject
*swig_obj
[2] ;
13707 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13709 if (!SWIG_IsOK(res1
)) {
13710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13712 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13714 arg2
= wxString_in_helper(swig_obj
[1]);
13715 if (arg2
== NULL
) SWIG_fail
;
13718 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13720 resultobj
= SWIG_Py_Void();
13735 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13736 PyObject
*resultobj
= 0;
13737 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13738 wxString
*result
= 0 ;
13741 PyObject
*swig_obj
[1] ;
13743 if (!args
) SWIG_fail
;
13744 swig_obj
[0] = args
;
13745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13746 if (!SWIG_IsOK(res1
)) {
13747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13749 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13750 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13764 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13765 PyObject
*resultobj
= 0;
13766 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13767 wxString
*arg2
= (wxString
*) 0 ;
13770 bool temp2
= false ;
13771 PyObject
*swig_obj
[2] ;
13773 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13778 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13780 arg2
= wxString_in_helper(swig_obj
[1]);
13781 if (arg2
== NULL
) SWIG_fail
;
13784 if (arg1
) (arg1
)->Description
= *arg2
;
13786 resultobj
= SWIG_Py_Void();
13801 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13802 PyObject
*resultobj
= 0;
13803 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13804 wxString
*result
= 0 ;
13807 PyObject
*swig_obj
[1] ;
13809 if (!args
) SWIG_fail
;
13810 swig_obj
[0] = args
;
13811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13815 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13816 result
= (wxString
*)& ((arg1
)->Description
);
13819 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13821 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13830 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13833 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13834 return SWIG_Py_Void();
13837 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
= 0;
13839 int arg1
= (int) -1 ;
13840 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13841 wxLocale
*result
= 0 ;
13846 PyObject
* obj0
= 0 ;
13847 PyObject
* obj1
= 0 ;
13848 char * kwnames
[] = {
13849 (char *) "language",(char *) "flags", NULL
13852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13855 if (!SWIG_IsOK(ecode1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13858 arg1
= static_cast< int >(val1
);
13861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13862 if (!SWIG_IsOK(ecode2
)) {
13863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13865 arg2
= static_cast< int >(val2
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13880 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13881 PyObject
*resultobj
= 0;
13882 wxLocale
*arg1
= (wxLocale
*) 0 ;
13885 PyObject
*swig_obj
[1] ;
13887 if (!args
) SWIG_fail
;
13888 swig_obj
[0] = args
;
13889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13890 if (!SWIG_IsOK(res1
)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13893 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_Py_Void();
13908 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxLocale
*arg1
= (wxLocale
*) 0 ;
13911 wxString
*arg2
= 0 ;
13912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13914 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13915 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13916 bool arg5
= (bool) true ;
13917 bool arg6
= (bool) false ;
13921 bool temp2
= false ;
13922 bool temp3
= false ;
13923 bool temp4
= false ;
13928 PyObject
* obj0
= 0 ;
13929 PyObject
* obj1
= 0 ;
13930 PyObject
* obj2
= 0 ;
13931 PyObject
* obj3
= 0 ;
13932 PyObject
* obj4
= 0 ;
13933 PyObject
* obj5
= 0 ;
13934 char * kwnames
[] = {
13935 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13940 if (!SWIG_IsOK(res1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13943 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13951 arg3
= wxString_in_helper(obj2
);
13952 if (arg3
== NULL
) SWIG_fail
;
13958 arg4
= wxString_in_helper(obj3
);
13959 if (arg4
== NULL
) SWIG_fail
;
13964 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13965 if (!SWIG_IsOK(ecode5
)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13968 arg5
= static_cast< bool >(val5
);
13971 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13972 if (!SWIG_IsOK(ecode6
)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13975 arg6
= static_cast< bool >(val6
);
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14016 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
= 0;
14018 wxLocale
*arg1
= (wxLocale
*) 0 ;
14019 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14020 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 char * kwnames
[] = {
14032 (char *) "self",(char *) "language",(char *) "flags", NULL
14035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14037 if (!SWIG_IsOK(res1
)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14040 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14043 if (!SWIG_IsOK(ecode2
)) {
14044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14046 arg2
= static_cast< int >(val2
);
14049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14050 if (!SWIG_IsOK(ecode3
)) {
14051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14053 arg3
= static_cast< int >(val3
);
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14058 wxPyEndAllowThreads(__tstate
);
14059 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14070 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 PyObject
*resultobj
= 0;
14074 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (int)wxLocale::GetSystemLanguage();
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_From_int(static_cast< int >(result
));
14088 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14089 PyObject
*resultobj
= 0;
14090 wxFontEncoding result
;
14092 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_From_int(static_cast< int >(result
));
14106 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 PyObject
*resultobj
= 0;
14110 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= wxLocale::GetSystemEncodingName();
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14130 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 PyObject
*resultobj
= 0;
14132 wxLocale
*arg1
= (wxLocale
*) 0 ;
14136 PyObject
*swig_obj
[1] ;
14138 if (!args
) SWIG_fail
;
14139 swig_obj
[0] = args
;
14140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14144 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14160 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxLocale
*arg1
= (wxLocale
*) 0 ;
14166 PyObject
*swig_obj
[1] ;
14168 if (!args
) SWIG_fail
;
14169 swig_obj
[0] = args
;
14170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14171 if (!SWIG_IsOK(res1
)) {
14172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14174 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= ((wxLocale
const *)arg1
)->GetLocale();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14194 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 PyObject
*resultobj
= 0;
14196 wxLocale
*arg1
= (wxLocale
*) 0 ;
14200 PyObject
*swig_obj
[1] ;
14202 if (!args
) SWIG_fail
;
14203 swig_obj
[0] = args
;
14204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14205 if (!SWIG_IsOK(res1
)) {
14206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14208 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_From_int(static_cast< int >(result
));
14222 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 PyObject
*resultobj
= 0;
14224 wxLocale
*arg1
= (wxLocale
*) 0 ;
14228 PyObject
*swig_obj
[1] ;
14230 if (!args
) SWIG_fail
;
14231 swig_obj
[0] = args
;
14232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14236 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= ((wxLocale
const *)arg1
)->GetSysName();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14256 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14257 PyObject
*resultobj
= 0;
14258 wxLocale
*arg1
= (wxLocale
*) 0 ;
14262 PyObject
*swig_obj
[1] ;
14264 if (!args
) SWIG_fail
;
14265 swig_obj
[0] = args
;
14266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14270 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14290 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxString
*arg1
= 0 ;
14293 bool temp1
= false ;
14294 PyObject
* obj0
= 0 ;
14295 char * kwnames
[] = {
14296 (char *) "prefix", NULL
14299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14301 arg1
= wxString_in_helper(obj0
);
14302 if (arg1
== NULL
) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= SWIG_Py_Void();
14326 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
= 0;
14328 wxLocale
*arg1
= (wxLocale
*) 0 ;
14329 wxString
*arg2
= 0 ;
14333 bool temp2
= false ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char * kwnames
[] = {
14337 (char *) "self",(char *) "szDomain", NULL
14340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14342 if (!SWIG_IsOK(res1
)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14345 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14347 arg2
= wxString_in_helper(obj1
);
14348 if (arg2
== NULL
) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14374 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
= 0;
14376 wxLocale
*arg1
= (wxLocale
*) 0 ;
14377 wxString
*arg2
= 0 ;
14381 bool temp2
= false ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char * kwnames
[] = {
14385 (char *) "self",(char *) "szDomain", NULL
14388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14393 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14395 arg2
= wxString_in_helper(obj1
);
14396 if (arg2
== NULL
) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14422 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
= 0;
14425 wxLanguageInfo
*result
= 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char * kwnames
[] = {
14430 (char *) "lang", NULL
14433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14435 if (!SWIG_IsOK(ecode1
)) {
14436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14438 arg1
= static_cast< int >(val1
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14452 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14453 PyObject
*resultobj
= 0;
14458 PyObject
* obj0
= 0 ;
14459 char * kwnames
[] = {
14460 (char *) "lang", NULL
14463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14464 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14465 if (!SWIG_IsOK(ecode1
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14468 arg1
= static_cast< int >(val1
);
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= wxLocale::GetLanguageName(arg1
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14488 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
= 0;
14490 wxString
*arg1
= 0 ;
14491 wxLanguageInfo
*result
= 0 ;
14492 bool temp1
= false ;
14493 PyObject
* obj0
= 0 ;
14494 char * kwnames
[] = {
14495 (char *) "locale", NULL
14498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14500 arg1
= wxString_in_helper(obj0
);
14501 if (arg1
== NULL
) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14525 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
= 0;
14527 wxLanguageInfo
*arg1
= 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char * kwnames
[] = {
14532 (char *) "info", NULL
14535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14543 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= SWIG_Py_Void();
14557 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
= 0;
14559 wxLocale
*arg1
= (wxLocale
*) 0 ;
14560 wxString
*arg2
= 0 ;
14561 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14562 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14566 bool temp2
= false ;
14567 bool temp3
= false ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 PyObject
* obj2
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14580 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14582 arg2
= wxString_in_helper(obj1
);
14583 if (arg2
== NULL
) SWIG_fail
;
14588 arg3
= wxString_in_helper(obj2
);
14589 if (arg3
== NULL
) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14628 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14629 PyObject
*resultobj
= 0;
14630 wxLocale
*arg1
= (wxLocale
*) 0 ;
14631 wxString
*result
= 0 ;
14634 PyObject
*swig_obj
[1] ;
14636 if (!args
) SWIG_fail
;
14637 swig_obj
[0] = args
;
14638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14642 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14647 result
= (wxString
*) &_result_ref
;
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14656 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14665 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14668 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14669 return SWIG_Py_Void();
14672 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14673 return SWIG_Python_InitShadowInstance(args
);
14676 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14677 PyObject
*resultobj
= 0;
14678 wxLocale
*result
= 0 ;
14680 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (wxLocale
*)wxGetLocale();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14694 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14695 PyObject
*resultobj
= 0;
14696 wxString
*arg1
= 0 ;
14698 bool temp1
= false ;
14700 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14702 arg1
= wxString_in_helper(swig_obj
[0]);
14703 if (arg1
== NULL
) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= wxGetTranslation((wxString
const &)*arg1
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14733 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14734 PyObject
*resultobj
= 0;
14735 wxString
*arg1
= 0 ;
14736 wxString
*arg2
= 0 ;
14739 bool temp1
= false ;
14740 bool temp2
= false ;
14744 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14746 arg1
= wxString_in_helper(swig_obj
[0]);
14747 if (arg1
== NULL
) SWIG_fail
;
14751 arg2
= wxString_in_helper(swig_obj
[1]);
14752 if (arg2
== NULL
) SWIG_fail
;
14755 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14756 if (!SWIG_IsOK(ecode3
)) {
14757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14759 arg3
= static_cast< size_t >(val3
);
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14795 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14799 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14802 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14805 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14809 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14814 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14815 PyObject
*resultobj
= 0;
14816 wxEncodingConverter
*result
= 0 ;
14818 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14832 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14833 PyObject
*resultobj
= 0;
14834 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14837 PyObject
*swig_obj
[1] ;
14839 if (!args
) SWIG_fail
;
14840 swig_obj
[0] = args
;
14841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14842 if (!SWIG_IsOK(res1
)) {
14843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14845 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_Py_Void();
14860 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= 0;
14862 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14863 wxFontEncoding arg2
;
14864 wxFontEncoding arg3
;
14865 int arg4
= (int) wxCONVERT_STRICT
;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 PyObject
* obj2
= 0 ;
14878 PyObject
* obj3
= 0 ;
14879 char * kwnames
[] = {
14880 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14888 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14890 if (!SWIG_IsOK(ecode2
)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14893 arg2
= static_cast< wxFontEncoding
>(val2
);
14894 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14895 if (!SWIG_IsOK(ecode3
)) {
14896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14898 arg3
= static_cast< wxFontEncoding
>(val3
);
14900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14901 if (!SWIG_IsOK(ecode4
)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14904 arg4
= static_cast< int >(val4
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14921 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
= 0;
14923 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14924 wxString
*arg2
= 0 ;
14928 bool temp2
= false ;
14929 PyObject
* obj0
= 0 ;
14930 PyObject
* obj1
= 0 ;
14931 char * kwnames
[] = {
14932 (char *) "self",(char *) "input", NULL
14935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14937 if (!SWIG_IsOK(res1
)) {
14938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14940 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14942 arg2
= wxString_in_helper(obj1
);
14943 if (arg2
== NULL
) SWIG_fail
;
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14973 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
= 0;
14975 wxFontEncoding arg1
;
14976 int arg2
= (int) wxPLATFORM_CURRENT
;
14977 wxFontEncodingArray result
;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 char * kwnames
[] = {
14985 (char *) "enc",(char *) "platform", NULL
14988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14990 if (!SWIG_IsOK(ecode1
)) {
14991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14993 arg1
= static_cast< wxFontEncoding
>(val1
);
14995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14996 if (!SWIG_IsOK(ecode2
)) {
14997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14999 arg2
= static_cast< int >(val2
);
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= PyList_New(0);
15009 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15010 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15011 PyList_Append(resultobj
, number
);
15021 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= 0;
15023 wxFontEncoding arg1
;
15024 wxFontEncodingArray result
;
15027 PyObject
* obj0
= 0 ;
15028 char * kwnames
[] = {
15029 (char *) "enc", NULL
15032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15033 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15034 if (!SWIG_IsOK(ecode1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15037 arg1
= static_cast< wxFontEncoding
>(val1
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= PyList_New(0);
15046 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15047 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15048 PyList_Append(resultobj
, number
);
15058 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
= 0;
15060 wxFontEncoding arg1
;
15061 wxFontEncoding arg2
;
15067 PyObject
* obj0
= 0 ;
15068 PyObject
* obj1
= 0 ;
15069 char * kwnames
[] = {
15070 (char *) "encIn",(char *) "encOut", NULL
15073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15075 if (!SWIG_IsOK(ecode1
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15078 arg1
= static_cast< wxFontEncoding
>(val1
);
15079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15080 if (!SWIG_IsOK(ecode2
)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15083 arg2
= static_cast< wxFontEncoding
>(val2
);
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15099 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15102 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15103 return SWIG_Py_Void();
15106 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15107 return SWIG_Python_InitShadowInstance(args
);
15110 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15111 PyObject
*resultobj
= 0;
15112 wxDC
*arg1
= (wxDC
*) 0 ;
15115 PyObject
*swig_obj
[1] ;
15117 if (!args
) SWIG_fail
;
15118 swig_obj
[0] = args
;
15119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15120 if (!SWIG_IsOK(res1
)) {
15121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_Py_Void();
15138 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= 0;
15140 wxDC
*arg1
= (wxDC
*) 0 ;
15143 wxColour
*arg4
= 0 ;
15144 int arg5
= (int) wxFLOOD_SURFACE
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 PyObject
* obj2
= 0 ;
15158 PyObject
* obj3
= 0 ;
15159 PyObject
* obj4
= 0 ;
15160 char * kwnames
[] = {
15161 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15171 if (!SWIG_IsOK(ecode2
)) {
15172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15174 arg2
= static_cast< int >(val2
);
15175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15176 if (!SWIG_IsOK(ecode3
)) {
15177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15179 arg3
= static_cast< int >(val3
);
15182 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15185 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15186 if (!SWIG_IsOK(ecode5
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15189 arg5
= static_cast< int >(val5
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
= 0;
15208 wxDC
*arg1
= (wxDC
*) 0 ;
15209 wxPoint
*arg2
= 0 ;
15210 wxColour
*arg3
= 0 ;
15211 int arg4
= (int) wxFLOOD_SURFACE
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 PyObject
* obj3
= 0 ;
15223 char * kwnames
[] = {
15224 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15229 if (!SWIG_IsOK(res1
)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15239 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15243 if (!SWIG_IsOK(ecode4
)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15246 arg4
= static_cast< int >(val4
);
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15263 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
= 0;
15265 wxDC
*arg1
= (wxDC
*) 0 ;
15267 wxColour
*arg3
= 0 ;
15268 wxColour
*arg4
= 0 ;
15269 wxPoint
*arg5
= 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 PyObject
* obj2
= 0 ;
15279 PyObject
* obj3
= 0 ;
15280 PyObject
* obj4
= 0 ;
15281 char * kwnames
[] = {
15282 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15287 if (!SWIG_IsOK(res1
)) {
15288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15293 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15297 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15301 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15305 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_Py_Void();
15320 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
= 0;
15322 wxDC
*arg1
= (wxDC
*) 0 ;
15324 wxColour
*arg3
= 0 ;
15325 wxColour
*arg4
= 0 ;
15326 wxDirection arg5
= (wxDirection
) wxEAST
;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 PyObject
* obj3
= 0 ;
15338 PyObject
* obj4
= 0 ;
15339 char * kwnames
[] = {
15340 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15345 if (!SWIG_IsOK(res1
)) {
15346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15351 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15355 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15359 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15363 if (!SWIG_IsOK(ecode5
)) {
15364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15366 arg5
= static_cast< wxDirection
>(val5
);
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_Py_Void();
15381 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
= 0;
15383 wxDC
*arg1
= (wxDC
*) 0 ;
15393 PyObject
* obj0
= 0 ;
15394 PyObject
* obj1
= 0 ;
15395 PyObject
* obj2
= 0 ;
15396 char * kwnames
[] = {
15397 (char *) "self",(char *) "x",(char *) "y", NULL
15400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15402 if (!SWIG_IsOK(res1
)) {
15403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15407 if (!SWIG_IsOK(ecode2
)) {
15408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15410 arg2
= static_cast< int >(val2
);
15411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15412 if (!SWIG_IsOK(ecode3
)) {
15413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15415 arg3
= static_cast< int >(val3
);
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15429 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
= 0;
15431 wxDC
*arg1
= (wxDC
*) 0 ;
15432 wxPoint
*arg2
= 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char * kwnames
[] = {
15440 (char *) "self",(char *) "pt", NULL
15443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15451 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15466 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
= 0;
15468 wxDC
*arg1
= (wxDC
*) 0 ;
15483 PyObject
* obj0
= 0 ;
15484 PyObject
* obj1
= 0 ;
15485 PyObject
* obj2
= 0 ;
15486 PyObject
* obj3
= 0 ;
15487 PyObject
* obj4
= 0 ;
15488 char * kwnames
[] = {
15489 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15494 if (!SWIG_IsOK(res1
)) {
15495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15499 if (!SWIG_IsOK(ecode2
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15502 arg2
= static_cast< int >(val2
);
15503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15504 if (!SWIG_IsOK(ecode3
)) {
15505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15507 arg3
= static_cast< int >(val3
);
15508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15509 if (!SWIG_IsOK(ecode4
)) {
15510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15512 arg4
= static_cast< int >(val4
);
15513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15514 if (!SWIG_IsOK(ecode5
)) {
15515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15517 arg5
= static_cast< int >(val5
);
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_Py_Void();
15531 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 wxDC
*arg1
= (wxDC
*) 0 ;
15534 wxPoint
*arg2
= 0 ;
15535 wxPoint
*arg3
= 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 PyObject
* obj2
= 0 ;
15543 char * kwnames
[] = {
15544 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15549 if (!SWIG_IsOK(res1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_Py_Void();
15574 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
= 0;
15576 wxDC
*arg1
= (wxDC
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 char * kwnames
[] = {
15589 (char *) "self",(char *) "x",(char *) "y", NULL
15592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15599 if (!SWIG_IsOK(ecode2
)) {
15600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15602 arg2
= static_cast< int >(val2
);
15603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15604 if (!SWIG_IsOK(ecode3
)) {
15605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15607 arg3
= static_cast< int >(val3
);
15609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15610 (arg1
)->CrossHair(arg2
,arg3
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= SWIG_Py_Void();
15621 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15622 PyObject
*resultobj
= 0;
15623 wxDC
*arg1
= (wxDC
*) 0 ;
15624 wxPoint
*arg2
= 0 ;
15628 PyObject
* obj0
= 0 ;
15629 PyObject
* obj1
= 0 ;
15630 char * kwnames
[] = {
15631 (char *) "self",(char *) "pt", NULL
15634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15636 if (!SWIG_IsOK(res1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_Py_Void();
15657 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
= 0;
15659 wxDC
*arg1
= (wxDC
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 PyObject
* obj3
= 0 ;
15684 PyObject
* obj4
= 0 ;
15685 PyObject
* obj5
= 0 ;
15686 PyObject
* obj6
= 0 ;
15687 char * kwnames
[] = {
15688 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15698 if (!SWIG_IsOK(ecode2
)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15701 arg2
= static_cast< int >(val2
);
15702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15703 if (!SWIG_IsOK(ecode3
)) {
15704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15706 arg3
= static_cast< int >(val3
);
15707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15708 if (!SWIG_IsOK(ecode4
)) {
15709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15711 arg4
= static_cast< int >(val4
);
15712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15713 if (!SWIG_IsOK(ecode5
)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15716 arg5
= static_cast< int >(val5
);
15717 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15718 if (!SWIG_IsOK(ecode6
)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15721 arg6
= static_cast< int >(val6
);
15722 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15723 if (!SWIG_IsOK(ecode7
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15726 arg7
= static_cast< int >(val7
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_Py_Void();
15740 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
= 0;
15742 wxDC
*arg1
= (wxDC
*) 0 ;
15743 wxPoint
*arg2
= 0 ;
15744 wxPoint
*arg3
= 0 ;
15745 wxPoint
*arg4
= 0 ;
15751 PyObject
* obj0
= 0 ;
15752 PyObject
* obj1
= 0 ;
15753 PyObject
* obj2
= 0 ;
15754 PyObject
* obj3
= 0 ;
15755 char * kwnames
[] = {
15756 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15767 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15775 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_Py_Void();
15790 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
= 0;
15792 wxDC
*arg1
= (wxDC
*) 0 ;
15807 PyObject
* obj0
= 0 ;
15808 PyObject
* obj1
= 0 ;
15809 PyObject
* obj2
= 0 ;
15810 PyObject
* obj3
= 0 ;
15811 PyObject
* obj4
= 0 ;
15812 char * kwnames
[] = {
15813 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15818 if (!SWIG_IsOK(res1
)) {
15819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15823 if (!SWIG_IsOK(ecode2
)) {
15824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15826 arg2
= static_cast< int >(val2
);
15827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15828 if (!SWIG_IsOK(ecode3
)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15831 arg3
= static_cast< int >(val3
);
15832 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15833 if (!SWIG_IsOK(ecode4
)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15836 arg4
= static_cast< int >(val4
);
15837 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15838 if (!SWIG_IsOK(ecode5
)) {
15839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15841 arg5
= static_cast< int >(val5
);
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= SWIG_Py_Void();
15855 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
= 0;
15857 wxDC
*arg1
= (wxDC
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char * kwnames
[] = {
15865 (char *) "self",(char *) "rect", NULL
15868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15870 if (!SWIG_IsOK(res1
)) {
15871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15876 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 resultobj
= SWIG_Py_Void();
15891 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
= 0;
15893 wxDC
*arg1
= (wxDC
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 PyObject
* obj1
= 0 ;
15916 PyObject
* obj2
= 0 ;
15917 PyObject
* obj3
= 0 ;
15918 PyObject
* obj4
= 0 ;
15919 PyObject
* obj5
= 0 ;
15920 PyObject
* obj6
= 0 ;
15921 char * kwnames
[] = {
15922 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15932 if (!SWIG_IsOK(ecode2
)) {
15933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15935 arg2
= static_cast< int >(val2
);
15936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15937 if (!SWIG_IsOK(ecode3
)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15940 arg3
= static_cast< int >(val3
);
15941 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15942 if (!SWIG_IsOK(ecode4
)) {
15943 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15945 arg4
= static_cast< int >(val4
);
15946 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15947 if (!SWIG_IsOK(ecode5
)) {
15948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15950 arg5
= static_cast< int >(val5
);
15951 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15952 if (!SWIG_IsOK(ecode6
)) {
15953 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15955 arg6
= static_cast< double >(val6
);
15956 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15957 if (!SWIG_IsOK(ecode7
)) {
15958 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15960 arg7
= static_cast< double >(val7
);
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_Py_Void();
15974 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= 0;
15976 wxDC
*arg1
= (wxDC
*) 0 ;
15977 wxPoint
*arg2
= 0 ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 PyObject
* obj2
= 0 ;
15992 PyObject
* obj3
= 0 ;
15993 PyObject
* obj4
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16010 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16012 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16013 if (!SWIG_IsOK(ecode4
)) {
16014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16016 arg4
= static_cast< double >(val4
);
16017 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16018 if (!SWIG_IsOK(ecode5
)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16021 arg5
= static_cast< double >(val5
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_Py_Void();
16035 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxDC
*arg1
= (wxDC
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 PyObject
* obj2
= 0 ;
16049 char * kwnames
[] = {
16050 (char *) "self",(char *) "x",(char *) "y", NULL
16053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16055 if (!SWIG_IsOK(res1
)) {
16056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16060 if (!SWIG_IsOK(ecode2
)) {
16061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16063 arg2
= static_cast< int >(val2
);
16064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16065 if (!SWIG_IsOK(ecode3
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16068 arg3
= static_cast< int >(val3
);
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 (arg1
)->DrawPoint(arg2
,arg3
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_Py_Void();
16082 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
= 0;
16084 wxDC
*arg1
= (wxDC
*) 0 ;
16085 wxPoint
*arg2
= 0 ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char * kwnames
[] = {
16092 (char *) "self",(char *) "pt", NULL
16095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16097 if (!SWIG_IsOK(res1
)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_Py_Void();
16118 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
= 0;
16120 wxDC
*arg1
= (wxDC
*) 0 ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 PyObject
* obj2
= 0 ;
16138 PyObject
* obj3
= 0 ;
16139 PyObject
* obj4
= 0 ;
16140 char * kwnames
[] = {
16141 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16146 if (!SWIG_IsOK(res1
)) {
16147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16151 if (!SWIG_IsOK(ecode2
)) {
16152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16154 arg2
= static_cast< int >(val2
);
16155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16156 if (!SWIG_IsOK(ecode3
)) {
16157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16159 arg3
= static_cast< int >(val3
);
16160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16161 if (!SWIG_IsOK(ecode4
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16164 arg4
= static_cast< int >(val4
);
16165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16166 if (!SWIG_IsOK(ecode5
)) {
16167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16169 arg5
= static_cast< int >(val5
);
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= SWIG_Py_Void();
16183 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
= 0;
16185 wxDC
*arg1
= (wxDC
*) 0 ;
16190 PyObject
* obj0
= 0 ;
16191 PyObject
* obj1
= 0 ;
16192 char * kwnames
[] = {
16193 (char *) "self",(char *) "rect", NULL
16196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16204 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= SWIG_Py_Void();
16219 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
= 0;
16221 wxDC
*arg1
= (wxDC
*) 0 ;
16222 wxPoint
*arg2
= 0 ;
16228 PyObject
* obj0
= 0 ;
16229 PyObject
* obj1
= 0 ;
16230 PyObject
* obj2
= 0 ;
16231 char * kwnames
[] = {
16232 (char *) "self",(char *) "pt",(char *) "sz", NULL
16235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16237 if (!SWIG_IsOK(res1
)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16247 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_Py_Void();
16262 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxDC
*arg1
= (wxDC
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 PyObject
* obj3
= 0 ;
16286 PyObject
* obj4
= 0 ;
16287 PyObject
* obj5
= 0 ;
16288 char * kwnames
[] = {
16289 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16294 if (!SWIG_IsOK(res1
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16299 if (!SWIG_IsOK(ecode2
)) {
16300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16302 arg2
= static_cast< int >(val2
);
16303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16304 if (!SWIG_IsOK(ecode3
)) {
16305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16307 arg3
= static_cast< int >(val3
);
16308 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16309 if (!SWIG_IsOK(ecode4
)) {
16310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16312 arg4
= static_cast< int >(val4
);
16313 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16314 if (!SWIG_IsOK(ecode5
)) {
16315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16317 arg5
= static_cast< int >(val5
);
16318 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16319 if (!SWIG_IsOK(ecode6
)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16322 arg6
= static_cast< double >(val6
);
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= SWIG_Py_Void();
16336 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
= 0;
16338 wxDC
*arg1
= (wxDC
*) 0 ;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 PyObject
* obj2
= 0 ;
16349 char * kwnames
[] = {
16350 (char *) "self",(char *) "r",(char *) "radius", NULL
16353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16355 if (!SWIG_IsOK(res1
)) {
16356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16361 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16363 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16364 if (!SWIG_IsOK(ecode3
)) {
16365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16367 arg3
= static_cast< double >(val3
);
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16371 wxPyEndAllowThreads(__tstate
);
16372 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= SWIG_Py_Void();
16381 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16382 PyObject
*resultobj
= 0;
16383 wxDC
*arg1
= (wxDC
*) 0 ;
16384 wxPoint
*arg2
= 0 ;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 PyObject
* obj2
= 0 ;
16396 PyObject
* obj3
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16413 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16415 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16416 if (!SWIG_IsOK(ecode4
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16419 arg4
= static_cast< double >(val4
);
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_Py_Void();
16433 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
= 0;
16435 wxDC
*arg1
= (wxDC
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 PyObject
* obj2
= 0 ;
16450 PyObject
* obj3
= 0 ;
16451 char * kwnames
[] = {
16452 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16462 if (!SWIG_IsOK(ecode2
)) {
16463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16465 arg2
= static_cast< int >(val2
);
16466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16467 if (!SWIG_IsOK(ecode3
)) {
16468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16470 arg3
= static_cast< int >(val3
);
16471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16472 if (!SWIG_IsOK(ecode4
)) {
16473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16475 arg4
= static_cast< int >(val4
);
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_Py_Void();
16489 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= 0;
16491 wxDC
*arg1
= (wxDC
*) 0 ;
16492 wxPoint
*arg2
= 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 PyObject
* obj2
= 0 ;
16502 char * kwnames
[] = {
16503 (char *) "self",(char *) "pt",(char *) "radius", NULL
16506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16508 if (!SWIG_IsOK(res1
)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16514 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16517 if (!SWIG_IsOK(ecode3
)) {
16518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16520 arg3
= static_cast< int >(val3
);
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_Py_Void();
16534 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= 0;
16536 wxDC
*arg1
= (wxDC
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 PyObject
* obj2
= 0 ;
16554 PyObject
* obj3
= 0 ;
16555 PyObject
* obj4
= 0 ;
16556 char * kwnames
[] = {
16557 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16562 if (!SWIG_IsOK(res1
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16567 if (!SWIG_IsOK(ecode2
)) {
16568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16570 arg2
= static_cast< int >(val2
);
16571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16572 if (!SWIG_IsOK(ecode3
)) {
16573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16575 arg3
= static_cast< int >(val3
);
16576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16577 if (!SWIG_IsOK(ecode4
)) {
16578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16580 arg4
= static_cast< int >(val4
);
16581 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16582 if (!SWIG_IsOK(ecode5
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16585 arg5
= static_cast< int >(val5
);
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_Py_Void();
16599 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16601 wxDC
*arg1
= (wxDC
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 char * kwnames
[] = {
16609 (char *) "self",(char *) "rect", NULL
16612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16614 if (!SWIG_IsOK(res1
)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= SWIG_Py_Void();
16635 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
= 0;
16637 wxDC
*arg1
= (wxDC
*) 0 ;
16638 wxPoint
*arg2
= 0 ;
16644 PyObject
* obj0
= 0 ;
16645 PyObject
* obj1
= 0 ;
16646 PyObject
* obj2
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "pt",(char *) "sz", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16663 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_Py_Void();
16678 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
= 0;
16680 wxDC
*arg1
= (wxDC
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 PyObject
* obj1
= 0 ;
16694 PyObject
* obj2
= 0 ;
16695 PyObject
* obj3
= 0 ;
16696 char * kwnames
[] = {
16697 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16702 if (!SWIG_IsOK(res1
)) {
16703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16707 if (!SWIG_IsOK(res2
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16713 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16715 if (!SWIG_IsOK(ecode3
)) {
16716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16718 arg3
= static_cast< int >(val3
);
16719 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16720 if (!SWIG_IsOK(ecode4
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16723 arg4
= static_cast< int >(val4
);
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_Py_Void();
16737 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
= 0;
16739 wxDC
*arg1
= (wxDC
*) 0 ;
16741 wxPoint
*arg3
= 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 PyObject
* obj2
= 0 ;
16750 char * kwnames
[] = {
16751 (char *) "self",(char *) "icon",(char *) "pt", NULL
16754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16756 if (!SWIG_IsOK(res1
)) {
16757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16761 if (!SWIG_IsOK(res2
)) {
16762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16767 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_Py_Void();
16785 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
= 0;
16787 wxDC
*arg1
= (wxDC
*) 0 ;
16788 wxBitmap
*arg2
= 0 ;
16791 bool arg5
= (bool) false ;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 PyObject
* obj2
= 0 ;
16805 PyObject
* obj3
= 0 ;
16806 PyObject
* obj4
= 0 ;
16807 char * kwnames
[] = {
16808 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16818 if (!SWIG_IsOK(res2
)) {
16819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16824 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16826 if (!SWIG_IsOK(ecode3
)) {
16827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16829 arg3
= static_cast< int >(val3
);
16830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16831 if (!SWIG_IsOK(ecode4
)) {
16832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16834 arg4
= static_cast< int >(val4
);
16836 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16837 if (!SWIG_IsOK(ecode5
)) {
16838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16840 arg5
= static_cast< bool >(val5
);
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= SWIG_Py_Void();
16855 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
= 0;
16857 wxDC
*arg1
= (wxDC
*) 0 ;
16858 wxBitmap
*arg2
= 0 ;
16859 wxPoint
*arg3
= 0 ;
16860 bool arg4
= (bool) false ;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 PyObject
* obj2
= 0 ;
16871 PyObject
* obj3
= 0 ;
16872 char * kwnames
[] = {
16873 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16882 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16883 if (!SWIG_IsOK(res2
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16889 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16892 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16895 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16896 if (!SWIG_IsOK(ecode4
)) {
16897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16899 arg4
= static_cast< bool >(val4
);
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_Py_Void();
16914 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
= 0;
16916 wxDC
*arg1
= (wxDC
*) 0 ;
16917 wxString
*arg2
= 0 ;
16922 bool temp2
= false ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 PyObject
* obj2
= 0 ;
16930 PyObject
* obj3
= 0 ;
16931 char * kwnames
[] = {
16932 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16937 if (!SWIG_IsOK(res1
)) {
16938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16942 arg2
= wxString_in_helper(obj1
);
16943 if (arg2
== NULL
) SWIG_fail
;
16946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16947 if (!SWIG_IsOK(ecode3
)) {
16948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16950 arg3
= static_cast< int >(val3
);
16951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16952 if (!SWIG_IsOK(ecode4
)) {
16953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16955 arg4
= static_cast< int >(val4
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_Py_Void();
16977 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= 0;
16979 wxDC
*arg1
= (wxDC
*) 0 ;
16980 wxString
*arg2
= 0 ;
16981 wxPoint
*arg3
= 0 ;
16984 bool temp2
= false ;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 PyObject
* obj2
= 0 ;
16989 char * kwnames
[] = {
16990 (char *) "self",(char *) "text",(char *) "pt", NULL
16993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16995 if (!SWIG_IsOK(res1
)) {
16996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17000 arg2
= wxString_in_helper(obj1
);
17001 if (arg2
== NULL
) SWIG_fail
;
17006 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= SWIG_Py_Void();
17029 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
= 0;
17031 wxDC
*arg1
= (wxDC
*) 0 ;
17032 wxString
*arg2
= 0 ;
17038 bool temp2
= false ;
17045 PyObject
* obj0
= 0 ;
17046 PyObject
* obj1
= 0 ;
17047 PyObject
* obj2
= 0 ;
17048 PyObject
* obj3
= 0 ;
17049 PyObject
* obj4
= 0 ;
17050 char * kwnames
[] = {
17051 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17061 arg2
= wxString_in_helper(obj1
);
17062 if (arg2
== NULL
) SWIG_fail
;
17065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17066 if (!SWIG_IsOK(ecode3
)) {
17067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17069 arg3
= static_cast< int >(val3
);
17070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17071 if (!SWIG_IsOK(ecode4
)) {
17072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17074 arg4
= static_cast< int >(val4
);
17075 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17076 if (!SWIG_IsOK(ecode5
)) {
17077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17079 arg5
= static_cast< double >(val5
);
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_Py_Void();
17101 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= 0;
17103 wxDC
*arg1
= (wxDC
*) 0 ;
17104 wxString
*arg2
= 0 ;
17105 wxPoint
*arg3
= 0 ;
17109 bool temp2
= false ;
17113 PyObject
* obj0
= 0 ;
17114 PyObject
* obj1
= 0 ;
17115 PyObject
* obj2
= 0 ;
17116 PyObject
* obj3
= 0 ;
17117 char * kwnames
[] = {
17118 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17123 if (!SWIG_IsOK(res1
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17128 arg2
= wxString_in_helper(obj1
);
17129 if (arg2
== NULL
) SWIG_fail
;
17134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17136 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17137 if (!SWIG_IsOK(ecode4
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17140 arg4
= static_cast< double >(val4
);
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= SWIG_Py_Void();
17162 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
= 0;
17164 wxDC
*arg1
= (wxDC
*) 0 ;
17169 wxDC
*arg6
= (wxDC
*) 0 ;
17172 int arg9
= (int) wxCOPY
;
17173 bool arg10
= (bool) false ;
17174 int arg11
= (int) -1 ;
17175 int arg12
= (int) -1 ;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 PyObject
* obj3
= 0 ;
17205 PyObject
* obj4
= 0 ;
17206 PyObject
* obj5
= 0 ;
17207 PyObject
* obj6
= 0 ;
17208 PyObject
* obj7
= 0 ;
17209 PyObject
* obj8
= 0 ;
17210 PyObject
* obj9
= 0 ;
17211 PyObject
* obj10
= 0 ;
17212 PyObject
* obj11
= 0 ;
17213 char * kwnames
[] = {
17214 (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
17217 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
;
17218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17219 if (!SWIG_IsOK(res1
)) {
17220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17224 if (!SWIG_IsOK(ecode2
)) {
17225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17227 arg2
= static_cast< int >(val2
);
17228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17229 if (!SWIG_IsOK(ecode3
)) {
17230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17232 arg3
= static_cast< int >(val3
);
17233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17234 if (!SWIG_IsOK(ecode4
)) {
17235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17237 arg4
= static_cast< int >(val4
);
17238 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17239 if (!SWIG_IsOK(ecode5
)) {
17240 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17242 arg5
= static_cast< int >(val5
);
17243 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17244 if (!SWIG_IsOK(res6
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17247 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17248 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17249 if (!SWIG_IsOK(ecode7
)) {
17250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17252 arg7
= static_cast< int >(val7
);
17253 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17254 if (!SWIG_IsOK(ecode8
)) {
17255 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17257 arg8
= static_cast< int >(val8
);
17259 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17260 if (!SWIG_IsOK(ecode9
)) {
17261 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17263 arg9
= static_cast< int >(val9
);
17266 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17267 if (!SWIG_IsOK(ecode10
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17270 arg10
= static_cast< bool >(val10
);
17273 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17274 if (!SWIG_IsOK(ecode11
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17277 arg11
= static_cast< int >(val11
);
17280 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17281 if (!SWIG_IsOK(ecode12
)) {
17282 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17284 arg12
= static_cast< int >(val12
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17301 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
= 0;
17303 wxDC
*arg1
= (wxDC
*) 0 ;
17304 wxPoint
*arg2
= 0 ;
17306 wxDC
*arg4
= (wxDC
*) 0 ;
17307 wxPoint
*arg5
= 0 ;
17308 int arg6
= (int) wxCOPY
;
17309 bool arg7
= (bool) false ;
17310 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17311 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 PyObject
* obj2
= 0 ;
17328 PyObject
* obj3
= 0 ;
17329 PyObject
* obj4
= 0 ;
17330 PyObject
* obj5
= 0 ;
17331 PyObject
* obj6
= 0 ;
17332 PyObject
* obj7
= 0 ;
17333 char * kwnames
[] = {
17334 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17339 if (!SWIG_IsOK(res1
)) {
17340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17349 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17351 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17352 if (!SWIG_IsOK(res4
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17355 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17358 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17361 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17362 if (!SWIG_IsOK(ecode6
)) {
17363 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17365 arg6
= static_cast< int >(val6
);
17368 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17369 if (!SWIG_IsOK(ecode7
)) {
17370 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17372 arg7
= static_cast< bool >(val7
);
17377 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17395 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
= 0;
17397 wxDC
*arg1
= (wxDC
*) 0 ;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 PyObject
* obj2
= 0 ;
17415 PyObject
* obj3
= 0 ;
17416 PyObject
* obj4
= 0 ;
17417 char * kwnames
[] = {
17418 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17423 if (!SWIG_IsOK(res1
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17428 if (!SWIG_IsOK(ecode2
)) {
17429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17431 arg2
= static_cast< int >(val2
);
17432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17433 if (!SWIG_IsOK(ecode3
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17436 arg3
= static_cast< int >(val3
);
17437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17438 if (!SWIG_IsOK(ecode4
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17441 arg4
= static_cast< int >(val4
);
17442 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17443 if (!SWIG_IsOK(ecode5
)) {
17444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17446 arg5
= static_cast< int >(val5
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_Py_Void();
17460 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
= 0;
17462 wxDC
*arg1
= (wxDC
*) 0 ;
17463 wxPoint
*arg2
= 0 ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 PyObject
* obj2
= 0 ;
17472 char * kwnames
[] = {
17473 (char *) "self",(char *) "pt",(char *) "sz", NULL
17476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17478 if (!SWIG_IsOK(res1
)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17488 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= SWIG_Py_Void();
17503 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
= 0;
17505 wxDC
*arg1
= (wxDC
*) 0 ;
17506 wxRegion
*arg2
= 0 ;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char * kwnames
[] = {
17514 (char *) "self",(char *) "region", NULL
17517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17524 if (!SWIG_IsOK(res2
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17530 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_Py_Void();
17544 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxDC
*arg1
= (wxDC
*) 0 ;
17551 PyObject
* obj0
= 0 ;
17552 PyObject
* obj1
= 0 ;
17553 char * kwnames
[] = {
17554 (char *) "self",(char *) "rect", NULL
17557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17559 if (!SWIG_IsOK(res1
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17565 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_Py_Void();
17580 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
= 0;
17582 wxDC
*arg1
= (wxDC
*) 0 ;
17584 wxPoint
*arg3
= (wxPoint
*) 0 ;
17585 int arg4
= (int) 0 ;
17586 int arg5
= (int) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 PyObject
* obj2
= 0 ;
17596 PyObject
* obj3
= 0 ;
17597 char * kwnames
[] = {
17598 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17603 if (!SWIG_IsOK(res1
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17608 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17609 if (arg3
== NULL
) SWIG_fail
;
17612 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17613 if (!SWIG_IsOK(ecode4
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17616 arg4
= static_cast< int >(val4
);
17619 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17620 if (!SWIG_IsOK(ecode5
)) {
17621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17623 arg5
= static_cast< int >(val5
);
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_Py_Void();
17633 if (arg3
) delete [] arg3
;
17638 if (arg3
) delete [] arg3
;
17644 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
= 0;
17646 wxDC
*arg1
= (wxDC
*) 0 ;
17648 wxPoint
*arg3
= (wxPoint
*) 0 ;
17649 int arg4
= (int) 0 ;
17650 int arg5
= (int) 0 ;
17651 int arg6
= (int) wxODDEVEN_RULE
;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 PyObject
* obj3
= 0 ;
17664 PyObject
* obj4
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17676 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17677 if (arg3
== NULL
) SWIG_fail
;
17680 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17681 if (!SWIG_IsOK(ecode4
)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17684 arg4
= static_cast< int >(val4
);
17687 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17688 if (!SWIG_IsOK(ecode5
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17691 arg5
= static_cast< int >(val5
);
17694 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17695 if (!SWIG_IsOK(ecode6
)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17698 arg6
= static_cast< int >(val6
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= SWIG_Py_Void();
17708 if (arg3
) delete [] arg3
;
17713 if (arg3
) delete [] arg3
;
17719 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxDC
*arg1
= (wxDC
*) 0 ;
17722 wxString
*arg2
= 0 ;
17724 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17725 int arg5
= (int) -1 ;
17728 bool temp2
= false ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 PyObject
* obj2
= 0 ;
17737 PyObject
* obj3
= 0 ;
17738 PyObject
* obj4
= 0 ;
17739 char * kwnames
[] = {
17740 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17750 arg2
= wxString_in_helper(obj1
);
17751 if (arg2
== NULL
) SWIG_fail
;
17756 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17760 if (!SWIG_IsOK(ecode4
)) {
17761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17763 arg4
= static_cast< int >(val4
);
17766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17767 if (!SWIG_IsOK(ecode5
)) {
17768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17770 arg5
= static_cast< int >(val5
);
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= SWIG_Py_Void();
17793 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxDC
*arg1
= (wxDC
*) 0 ;
17796 wxString
*arg2
= 0 ;
17797 wxBitmap
*arg3
= 0 ;
17799 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17800 int arg6
= (int) -1 ;
17804 bool temp2
= false ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 PyObject
* obj2
= 0 ;
17815 PyObject
* obj3
= 0 ;
17816 PyObject
* obj4
= 0 ;
17817 PyObject
* obj5
= 0 ;
17818 char * kwnames
[] = {
17819 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17824 if (!SWIG_IsOK(res1
)) {
17825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17829 arg2
= wxString_in_helper(obj1
);
17830 if (arg2
== NULL
) SWIG_fail
;
17833 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17834 if (!SWIG_IsOK(res3
)) {
17835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17840 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17843 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17847 if (!SWIG_IsOK(ecode5
)) {
17848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17850 arg5
= static_cast< int >(val5
);
17853 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17854 if (!SWIG_IsOK(ecode6
)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17857 arg6
= static_cast< int >(val6
);
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17880 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
= 0;
17882 wxDC
*arg1
= (wxDC
*) 0 ;
17884 wxPoint
*arg3
= (wxPoint
*) 0 ;
17887 PyObject
* obj0
= 0 ;
17888 PyObject
* obj1
= 0 ;
17889 char * kwnames
[] = {
17890 (char *) "self",(char *) "points", NULL
17893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17895 if (!SWIG_IsOK(res1
)) {
17896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17900 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17901 if (arg3
== NULL
) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->DrawSpline(arg2
,arg3
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_Py_Void();
17911 if (arg3
) delete [] arg3
;
17916 if (arg3
) delete [] arg3
;
17922 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17923 PyObject
*resultobj
= 0;
17924 wxDC
*arg1
= (wxDC
*) 0 ;
17927 PyObject
*swig_obj
[1] ;
17929 if (!args
) SWIG_fail
;
17930 swig_obj
[0] = args
;
17931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17932 if (!SWIG_IsOK(res1
)) {
17933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_Py_Void();
17949 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
= 0;
17951 wxDC
*arg1
= (wxDC
*) 0 ;
17952 wxString
*arg2
= 0 ;
17956 bool temp2
= false ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char * kwnames
[] = {
17960 (char *) "self",(char *) "message", NULL
17963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17970 arg2
= wxString_in_helper(obj1
);
17971 if (arg2
== NULL
) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17997 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17998 PyObject
*resultobj
= 0;
17999 wxDC
*arg1
= (wxDC
*) 0 ;
18002 PyObject
*swig_obj
[1] ;
18004 if (!args
) SWIG_fail
;
18005 swig_obj
[0] = args
;
18006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_Py_Void();
18024 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18025 PyObject
*resultobj
= 0;
18026 wxDC
*arg1
= (wxDC
*) 0 ;
18029 PyObject
*swig_obj
[1] ;
18031 if (!args
) SWIG_fail
;
18032 swig_obj
[0] = args
;
18033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18037 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 (arg1
)->StartPage();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= SWIG_Py_Void();
18051 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18052 PyObject
*resultobj
= 0;
18053 wxDC
*arg1
= (wxDC
*) 0 ;
18056 PyObject
*swig_obj
[1] ;
18058 if (!args
) SWIG_fail
;
18059 swig_obj
[0] = args
;
18060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18061 if (!SWIG_IsOK(res1
)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_Py_Void();
18078 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxDC
*arg1
= (wxDC
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "self",(char *) "font", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18099 if (!SWIG_IsOK(res2
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18105 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->SetFont((wxFont
const &)*arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_Py_Void();
18119 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxDC
*arg1
= (wxDC
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "pen", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18140 if (!SWIG_IsOK(res2
)) {
18141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18146 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->SetPen((wxPen
const &)*arg2
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_Py_Void();
18160 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
= 0;
18162 wxDC
*arg1
= (wxDC
*) 0 ;
18163 wxBrush
*arg2
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "brush", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18181 if (!SWIG_IsOK(res2
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18187 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_Py_Void();
18201 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
= 0;
18203 wxDC
*arg1
= (wxDC
*) 0 ;
18204 wxBrush
*arg2
= 0 ;
18209 PyObject
* obj0
= 0 ;
18210 PyObject
* obj1
= 0 ;
18211 char * kwnames
[] = {
18212 (char *) "self",(char *) "brush", NULL
18215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18222 if (!SWIG_IsOK(res2
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18228 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_Py_Void();
18242 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
= 0;
18244 wxDC
*arg1
= (wxDC
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 char * kwnames
[] = {
18253 (char *) "self",(char *) "mode", NULL
18256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18258 if (!SWIG_IsOK(res1
)) {
18259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18263 if (!SWIG_IsOK(ecode2
)) {
18264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18266 arg2
= static_cast< int >(val2
);
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 (arg1
)->SetBackgroundMode(arg2
);
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 resultobj
= SWIG_Py_Void();
18280 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
= 0;
18282 wxDC
*arg1
= (wxDC
*) 0 ;
18283 wxPalette
*arg2
= 0 ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "palette", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18301 if (!SWIG_IsOK(res2
)) {
18302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18307 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= SWIG_Py_Void();
18321 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18322 PyObject
*resultobj
= 0;
18323 wxDC
*arg1
= (wxDC
*) 0 ;
18326 PyObject
*swig_obj
[1] ;
18328 if (!args
) SWIG_fail
;
18329 swig_obj
[0] = args
;
18330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18331 if (!SWIG_IsOK(res1
)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18334 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->DestroyClippingRegion();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_Py_Void();
18348 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18349 PyObject
*resultobj
= 0;
18350 wxDC
*arg1
= (wxDC
*) 0 ;
18351 int *arg2
= (int *) 0 ;
18352 int *arg3
= (int *) 0 ;
18353 int *arg4
= (int *) 0 ;
18354 int *arg5
= (int *) 0 ;
18358 int res2
= SWIG_TMPOBJ
;
18360 int res3
= SWIG_TMPOBJ
;
18362 int res4
= SWIG_TMPOBJ
;
18364 int res5
= SWIG_TMPOBJ
;
18365 PyObject
*swig_obj
[1] ;
18371 if (!args
) SWIG_fail
;
18372 swig_obj
[0] = args
;
18373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18374 if (!SWIG_IsOK(res1
)) {
18375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_Py_Void();
18385 if (SWIG_IsTmpObj(res2
)) {
18386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18388 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18391 if (SWIG_IsTmpObj(res3
)) {
18392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18397 if (SWIG_IsTmpObj(res4
)) {
18398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18400 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18403 if (SWIG_IsTmpObj(res5
)) {
18404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18406 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18415 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18416 PyObject
*resultobj
= 0;
18417 wxDC
*arg1
= (wxDC
*) 0 ;
18421 PyObject
*swig_obj
[1] ;
18423 if (!args
) SWIG_fail
;
18424 swig_obj
[0] = args
;
18425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18426 if (!SWIG_IsOK(res1
)) {
18427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= wxDC_GetClippingRect(arg1
);
18433 wxPyEndAllowThreads(__tstate
);
18434 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18443 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 PyObject
*resultobj
= 0;
18445 wxDC
*arg1
= (wxDC
*) 0 ;
18449 PyObject
*swig_obj
[1] ;
18451 if (!args
) SWIG_fail
;
18452 swig_obj
[0] = args
;
18453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= SWIG_From_int(static_cast< int >(result
));
18471 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18472 PyObject
*resultobj
= 0;
18473 wxDC
*arg1
= (wxDC
*) 0 ;
18477 PyObject
*swig_obj
[1] ;
18479 if (!args
) SWIG_fail
;
18480 swig_obj
[0] = args
;
18481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18482 if (!SWIG_IsOK(res1
)) {
18483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 resultobj
= SWIG_From_int(static_cast< int >(result
));
18499 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
= 0;
18501 wxDC
*arg1
= (wxDC
*) 0 ;
18502 wxString
*arg2
= 0 ;
18503 int *arg3
= (int *) 0 ;
18504 int *arg4
= (int *) 0 ;
18507 bool temp2
= false ;
18509 int res3
= SWIG_TMPOBJ
;
18511 int res4
= SWIG_TMPOBJ
;
18512 PyObject
* obj0
= 0 ;
18513 PyObject
* obj1
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "self",(char *) "string", NULL
18520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18522 if (!SWIG_IsOK(res1
)) {
18523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18527 arg2
= wxString_in_helper(obj1
);
18528 if (arg2
== NULL
) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_Py_Void();
18538 if (SWIG_IsTmpObj(res3
)) {
18539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18541 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18544 if (SWIG_IsTmpObj(res4
)) {
18545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18547 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18564 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
= 0;
18566 wxDC
*arg1
= (wxDC
*) 0 ;
18567 wxString
*arg2
= 0 ;
18568 int *arg3
= (int *) 0 ;
18569 int *arg4
= (int *) 0 ;
18570 int *arg5
= (int *) 0 ;
18571 int *arg6
= (int *) 0 ;
18572 wxFont
*arg7
= (wxFont
*) NULL
;
18575 bool temp2
= false ;
18577 int res3
= SWIG_TMPOBJ
;
18579 int res4
= SWIG_TMPOBJ
;
18581 int res5
= SWIG_TMPOBJ
;
18583 int res6
= SWIG_TMPOBJ
;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 PyObject
* obj2
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "self",(char *) "string",(char *) "font", NULL
18597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18599 if (!SWIG_IsOK(res1
)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18604 arg2
= wxString_in_helper(obj1
);
18605 if (arg2
== NULL
) SWIG_fail
;
18609 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18610 if (!SWIG_IsOK(res7
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18613 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_Py_Void();
18622 if (SWIG_IsTmpObj(res3
)) {
18623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18625 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18628 if (SWIG_IsTmpObj(res4
)) {
18629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18631 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18634 if (SWIG_IsTmpObj(res5
)) {
18635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18637 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18640 if (SWIG_IsTmpObj(res6
)) {
18641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18643 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18660 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
= 0;
18662 wxDC
*arg1
= (wxDC
*) 0 ;
18663 wxString
*arg2
= 0 ;
18664 int *arg3
= (int *) 0 ;
18665 int *arg4
= (int *) 0 ;
18666 int *arg5
= (int *) 0 ;
18667 wxFont
*arg6
= (wxFont
*) NULL
;
18670 bool temp2
= false ;
18672 int res3
= SWIG_TMPOBJ
;
18674 int res4
= SWIG_TMPOBJ
;
18676 int res5
= SWIG_TMPOBJ
;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18681 PyObject
* obj2
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "text",(char *) "font", NULL
18689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18696 arg2
= wxString_in_helper(obj1
);
18697 if (arg2
== NULL
) SWIG_fail
;
18701 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18702 if (!SWIG_IsOK(res6
)) {
18703 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18705 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= SWIG_Py_Void();
18714 if (SWIG_IsTmpObj(res3
)) {
18715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18717 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18720 if (SWIG_IsTmpObj(res4
)) {
18721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18723 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18726 if (SWIG_IsTmpObj(res5
)) {
18727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18729 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18746 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
= 0;
18748 wxDC
*arg1
= (wxDC
*) 0 ;
18749 wxString
*arg2
= 0 ;
18753 bool temp2
= false ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char * kwnames
[] = {
18757 (char *) "self",(char *) "text", NULL
18760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18762 if (!SWIG_IsOK(res1
)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18767 arg2
= wxString_in_helper(obj1
);
18768 if (arg2
== NULL
) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= PyList_New(0);
18780 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18781 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18782 PyList_Append(resultobj
, val
);
18800 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18801 PyObject
*resultobj
= 0;
18802 wxDC
*arg1
= (wxDC
*) 0 ;
18806 PyObject
*swig_obj
[1] ;
18808 if (!args
) SWIG_fail
;
18809 swig_obj
[0] = args
;
18810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (arg1
)->GetSize();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18828 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18829 PyObject
*resultobj
= 0;
18830 wxDC
*arg1
= (wxDC
*) 0 ;
18831 int *arg2
= (int *) 0 ;
18832 int *arg3
= (int *) 0 ;
18836 int res2
= SWIG_TMPOBJ
;
18838 int res3
= SWIG_TMPOBJ
;
18839 PyObject
*swig_obj
[1] ;
18843 if (!args
) SWIG_fail
;
18844 swig_obj
[0] = args
;
18845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18846 if (!SWIG_IsOK(res1
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->GetSize(arg2
,arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18857 if (SWIG_IsTmpObj(res2
)) {
18858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18860 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18863 if (SWIG_IsTmpObj(res3
)) {
18864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18866 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18875 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 PyObject
*resultobj
= 0;
18877 wxDC
*arg1
= (wxDC
*) 0 ;
18881 PyObject
*swig_obj
[1] ;
18883 if (!args
) SWIG_fail
;
18884 swig_obj
[0] = args
;
18885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18903 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18904 PyObject
*resultobj
= 0;
18905 wxDC
*arg1
= (wxDC
*) 0 ;
18906 int *arg2
= (int *) 0 ;
18907 int *arg3
= (int *) 0 ;
18911 int res2
= SWIG_TMPOBJ
;
18913 int res3
= SWIG_TMPOBJ
;
18914 PyObject
*swig_obj
[1] ;
18918 if (!args
) SWIG_fail
;
18919 swig_obj
[0] = args
;
18920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18921 if (!SWIG_IsOK(res1
)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18927 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_Py_Void();
18932 if (SWIG_IsTmpObj(res2
)) {
18933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18935 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18938 if (SWIG_IsTmpObj(res3
)) {
18939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18941 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18950 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
= 0;
18952 wxDC
*arg1
= (wxDC
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char * kwnames
[] = {
18962 (char *) "self",(char *) "x", NULL
18965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18967 if (!SWIG_IsOK(res1
)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18972 if (!SWIG_IsOK(ecode2
)) {
18973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18975 arg2
= static_cast< int >(val2
);
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_From_int(static_cast< int >(result
));
18989 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= 0;
18991 wxDC
*arg1
= (wxDC
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char * kwnames
[] = {
19001 (char *) "self",(char *) "y", NULL
19004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19006 if (!SWIG_IsOK(res1
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19011 if (!SWIG_IsOK(ecode2
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19014 arg2
= static_cast< int >(val2
);
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_From_int(static_cast< int >(result
));
19028 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= 0;
19030 wxDC
*arg1
= (wxDC
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 char * kwnames
[] = {
19040 (char *) "self",(char *) "x", NULL
19043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19045 if (!SWIG_IsOK(res1
)) {
19046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19050 if (!SWIG_IsOK(ecode2
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19053 arg2
= static_cast< int >(val2
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_From_int(static_cast< int >(result
));
19067 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
= 0;
19069 wxDC
*arg1
= (wxDC
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char * kwnames
[] = {
19079 (char *) "self",(char *) "y", NULL
19082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19084 if (!SWIG_IsOK(res1
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19089 if (!SWIG_IsOK(ecode2
)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19092 arg2
= static_cast< int >(val2
);
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_From_int(static_cast< int >(result
));
19106 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
= 0;
19108 wxDC
*arg1
= (wxDC
*) 0 ;
19115 PyObject
* obj0
= 0 ;
19116 PyObject
* obj1
= 0 ;
19117 char * kwnames
[] = {
19118 (char *) "self",(char *) "x", NULL
19121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19123 if (!SWIG_IsOK(res1
)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19128 if (!SWIG_IsOK(ecode2
)) {
19129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19131 arg2
= static_cast< int >(val2
);
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_From_int(static_cast< int >(result
));
19145 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= 0;
19147 wxDC
*arg1
= (wxDC
*) 0 ;
19154 PyObject
* obj0
= 0 ;
19155 PyObject
* obj1
= 0 ;
19156 char * kwnames
[] = {
19157 (char *) "self",(char *) "y", NULL
19160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19162 if (!SWIG_IsOK(res1
)) {
19163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19167 if (!SWIG_IsOK(ecode2
)) {
19168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19170 arg2
= static_cast< int >(val2
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_From_int(static_cast< int >(result
));
19184 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
= 0;
19186 wxDC
*arg1
= (wxDC
*) 0 ;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "self",(char *) "x", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19206 if (!SWIG_IsOK(ecode2
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19209 arg2
= static_cast< int >(val2
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_From_int(static_cast< int >(result
));
19223 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxDC
*arg1
= (wxDC
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char * kwnames
[] = {
19235 (char *) "self",(char *) "y", NULL
19238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19245 if (!SWIG_IsOK(ecode2
)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19248 arg2
= static_cast< int >(val2
);
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= SWIG_From_int(static_cast< int >(result
));
19262 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19263 PyObject
*resultobj
= 0;
19264 wxDC
*arg1
= (wxDC
*) 0 ;
19268 PyObject
*swig_obj
[1] ;
19270 if (!args
) SWIG_fail
;
19271 swig_obj
[0] = args
;
19272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19273 if (!SWIG_IsOK(res1
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19292 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19293 PyObject
*resultobj
= 0;
19294 wxDC
*arg1
= (wxDC
*) 0 ;
19298 PyObject
*swig_obj
[1] ;
19300 if (!args
) SWIG_fail
;
19301 swig_obj
[0] = args
;
19302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19303 if (!SWIG_IsOK(res1
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19322 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19323 PyObject
*resultobj
= 0;
19324 wxDC
*arg1
= (wxDC
*) 0 ;
19328 PyObject
*swig_obj
[1] ;
19330 if (!args
) SWIG_fail
;
19331 swig_obj
[0] = args
;
19332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_From_int(static_cast< int >(result
));
19350 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19351 PyObject
*resultobj
= 0;
19352 wxDC
*arg1
= (wxDC
*) 0 ;
19356 PyObject
*swig_obj
[1] ;
19358 if (!args
) SWIG_fail
;
19359 swig_obj
[0] = args
;
19360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= ((wxDC
const *)arg1
)->GetPPI();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19378 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19379 PyObject
*resultobj
= 0;
19380 wxDC
*arg1
= (wxDC
*) 0 ;
19384 PyObject
*swig_obj
[1] ;
19386 if (!args
) SWIG_fail
;
19387 swig_obj
[0] = args
;
19388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (bool)((wxDC
const *)arg1
)->Ok();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19408 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19409 PyObject
*resultobj
= 0;
19410 wxDC
*arg1
= (wxDC
*) 0 ;
19414 PyObject
*swig_obj
[1] ;
19416 if (!args
) SWIG_fail
;
19417 swig_obj
[0] = args
;
19418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_From_int(static_cast< int >(result
));
19436 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 PyObject
*resultobj
= 0;
19438 wxDC
*arg1
= (wxDC
*) 0 ;
19439 wxBrush
*result
= 0 ;
19442 PyObject
*swig_obj
[1] ;
19444 if (!args
) SWIG_fail
;
19445 swig_obj
[0] = args
;
19446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19455 result
= (wxBrush
*) &_result_ref
;
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19461 wxBrush
* resultptr
= new wxBrush(*result
);
19462 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19470 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19471 PyObject
*resultobj
= 0;
19472 wxDC
*arg1
= (wxDC
*) 0 ;
19473 wxBrush
*result
= 0 ;
19476 PyObject
*swig_obj
[1] ;
19478 if (!args
) SWIG_fail
;
19479 swig_obj
[0] = args
;
19480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19481 if (!SWIG_IsOK(res1
)) {
19482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19489 result
= (wxBrush
*) &_result_ref
;
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19495 wxBrush
* resultptr
= new wxBrush(*result
);
19496 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19504 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19505 PyObject
*resultobj
= 0;
19506 wxDC
*arg1
= (wxDC
*) 0 ;
19507 wxFont
*result
= 0 ;
19510 PyObject
*swig_obj
[1] ;
19512 if (!args
) SWIG_fail
;
19513 swig_obj
[0] = args
;
19514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19515 if (!SWIG_IsOK(res1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19518 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19523 result
= (wxFont
*) &_result_ref
;
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 wxFont
* resultptr
= new wxFont(*result
);
19530 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19538 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19539 PyObject
*resultobj
= 0;
19540 wxDC
*arg1
= (wxDC
*) 0 ;
19541 wxPen
*result
= 0 ;
19544 PyObject
*swig_obj
[1] ;
19546 if (!args
) SWIG_fail
;
19547 swig_obj
[0] = args
;
19548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19549 if (!SWIG_IsOK(res1
)) {
19550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19557 result
= (wxPen
*) &_result_ref
;
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 wxPen
* resultptr
= new wxPen(*result
);
19564 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19572 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19573 PyObject
*resultobj
= 0;
19574 wxDC
*arg1
= (wxDC
*) 0 ;
19575 wxColour
*result
= 0 ;
19578 PyObject
*swig_obj
[1] ;
19580 if (!args
) SWIG_fail
;
19581 swig_obj
[0] = args
;
19582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19591 result
= (wxColour
*) &_result_ref
;
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19603 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19604 PyObject
*resultobj
= 0;
19605 wxDC
*arg1
= (wxDC
*) 0 ;
19606 wxColour
*result
= 0 ;
19609 PyObject
*swig_obj
[1] ;
19611 if (!args
) SWIG_fail
;
19612 swig_obj
[0] = args
;
19613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19622 result
= (wxColour
*) &_result_ref
;
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19634 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
= 0;
19636 wxDC
*arg1
= (wxDC
*) 0 ;
19637 wxColour
*arg2
= 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char * kwnames
[] = {
19644 (char *) "self",(char *) "colour", NULL
19647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19649 if (!SWIG_IsOK(res1
)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19655 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19660 wxPyEndAllowThreads(__tstate
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 resultobj
= SWIG_Py_Void();
19670 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
= 0;
19672 wxDC
*arg1
= (wxDC
*) 0 ;
19673 wxColour
*arg2
= 0 ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char * kwnames
[] = {
19680 (char *) "self",(char *) "colour", NULL
19683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19685 if (!SWIG_IsOK(res1
)) {
19686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= SWIG_Py_Void();
19706 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19707 PyObject
*resultobj
= 0;
19708 wxDC
*arg1
= (wxDC
*) 0 ;
19712 PyObject
*swig_obj
[1] ;
19714 if (!args
) SWIG_fail
;
19715 swig_obj
[0] = args
;
19716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_From_int(static_cast< int >(result
));
19734 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
= 0;
19736 wxDC
*arg1
= (wxDC
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 char * kwnames
[] = {
19745 (char *) "self",(char *) "mode", NULL
19748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19750 if (!SWIG_IsOK(res1
)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19755 if (!SWIG_IsOK(ecode2
)) {
19756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19758 arg2
= static_cast< int >(val2
);
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->SetMapMode(arg2
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_Py_Void();
19772 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19773 PyObject
*resultobj
= 0;
19774 wxDC
*arg1
= (wxDC
*) 0 ;
19775 double *arg2
= (double *) 0 ;
19776 double *arg3
= (double *) 0 ;
19780 int res2
= SWIG_TMPOBJ
;
19782 int res3
= SWIG_TMPOBJ
;
19783 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_Py_Void();
19801 if (SWIG_IsTmpObj(res2
)) {
19802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19804 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19807 if (SWIG_IsTmpObj(res3
)) {
19808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19810 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19819 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= 0;
19821 wxDC
*arg1
= (wxDC
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 PyObject
* obj2
= 0 ;
19833 char * kwnames
[] = {
19834 (char *) "self",(char *) "x",(char *) "y", NULL
19837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19839 if (!SWIG_IsOK(res1
)) {
19840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19843 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19844 if (!SWIG_IsOK(ecode2
)) {
19845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19847 arg2
= static_cast< double >(val2
);
19848 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19849 if (!SWIG_IsOK(ecode3
)) {
19850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19852 arg3
= static_cast< double >(val3
);
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 (arg1
)->SetUserScale(arg2
,arg3
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= SWIG_Py_Void();
19866 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19867 PyObject
*resultobj
= 0;
19868 wxDC
*arg1
= (wxDC
*) 0 ;
19869 double *arg2
= (double *) 0 ;
19870 double *arg3
= (double *) 0 ;
19874 int res2
= SWIG_TMPOBJ
;
19876 int res3
= SWIG_TMPOBJ
;
19877 PyObject
*swig_obj
[1] ;
19881 if (!args
) SWIG_fail
;
19882 swig_obj
[0] = args
;
19883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19884 if (!SWIG_IsOK(res1
)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->GetLogicalScale(arg2
,arg3
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_Py_Void();
19895 if (SWIG_IsTmpObj(res2
)) {
19896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19898 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19901 if (SWIG_IsTmpObj(res3
)) {
19902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19904 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19913 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
= 0;
19915 wxDC
*arg1
= (wxDC
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 PyObject
* obj2
= 0 ;
19927 char * kwnames
[] = {
19928 (char *) "self",(char *) "x",(char *) "y", NULL
19931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19933 if (!SWIG_IsOK(res1
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19937 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19938 if (!SWIG_IsOK(ecode2
)) {
19939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19941 arg2
= static_cast< double >(val2
);
19942 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19943 if (!SWIG_IsOK(ecode3
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19946 arg3
= static_cast< double >(val3
);
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->SetLogicalScale(arg2
,arg3
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 resultobj
= SWIG_Py_Void();
19960 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19961 PyObject
*resultobj
= 0;
19962 wxDC
*arg1
= (wxDC
*) 0 ;
19966 PyObject
*swig_obj
[1] ;
19968 if (!args
) SWIG_fail
;
19969 swig_obj
[0] = args
;
19970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19971 if (!SWIG_IsOK(res1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19988 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19989 PyObject
*resultobj
= 0;
19990 wxDC
*arg1
= (wxDC
*) 0 ;
19991 int *arg2
= (int *) 0 ;
19992 int *arg3
= (int *) 0 ;
19996 int res2
= SWIG_TMPOBJ
;
19998 int res3
= SWIG_TMPOBJ
;
19999 PyObject
*swig_obj
[1] ;
20003 if (!args
) SWIG_fail
;
20004 swig_obj
[0] = args
;
20005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20006 if (!SWIG_IsOK(res1
)) {
20007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20012 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= SWIG_Py_Void();
20017 if (SWIG_IsTmpObj(res2
)) {
20018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20020 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20023 if (SWIG_IsTmpObj(res3
)) {
20024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20026 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20035 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxDC
*arg1
= (wxDC
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "x",(char *) "y", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20060 if (!SWIG_IsOK(ecode2
)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20063 arg2
= static_cast< int >(val2
);
20064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20065 if (!SWIG_IsOK(ecode3
)) {
20066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20068 arg3
= static_cast< int >(val3
);
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= SWIG_Py_Void();
20082 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
= 0;
20084 wxDC
*arg1
= (wxDC
*) 0 ;
20085 wxPoint
*arg2
= 0 ;
20089 PyObject
* obj0
= 0 ;
20090 PyObject
* obj1
= 0 ;
20091 char * kwnames
[] = {
20092 (char *) "self",(char *) "point", NULL
20095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20097 if (!SWIG_IsOK(res1
)) {
20098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= SWIG_Py_Void();
20118 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20119 PyObject
*resultobj
= 0;
20120 wxDC
*arg1
= (wxDC
*) 0 ;
20124 PyObject
*swig_obj
[1] ;
20126 if (!args
) SWIG_fail
;
20127 swig_obj
[0] = args
;
20128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20129 if (!SWIG_IsOK(res1
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20146 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20147 PyObject
*resultobj
= 0;
20148 wxDC
*arg1
= (wxDC
*) 0 ;
20149 int *arg2
= (int *) 0 ;
20150 int *arg3
= (int *) 0 ;
20154 int res2
= SWIG_TMPOBJ
;
20156 int res3
= SWIG_TMPOBJ
;
20157 PyObject
*swig_obj
[1] ;
20161 if (!args
) SWIG_fail
;
20162 swig_obj
[0] = args
;
20163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= SWIG_Py_Void();
20175 if (SWIG_IsTmpObj(res2
)) {
20176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20178 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20181 if (SWIG_IsTmpObj(res3
)) {
20182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20184 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20193 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
= 0;
20195 wxDC
*arg1
= (wxDC
*) 0 ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 PyObject
* obj2
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "x",(char *) "y", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20218 if (!SWIG_IsOK(ecode2
)) {
20219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20221 arg2
= static_cast< int >(val2
);
20222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20223 if (!SWIG_IsOK(ecode3
)) {
20224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20226 arg3
= static_cast< int >(val3
);
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_Py_Void();
20240 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20241 PyObject
*resultobj
= 0;
20242 wxDC
*arg1
= (wxDC
*) 0 ;
20243 wxPoint
*arg2
= 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char * kwnames
[] = {
20250 (char *) "self",(char *) "point", NULL
20253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20255 if (!SWIG_IsOK(res1
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxDC
*arg1
= (wxDC
*) 0 ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 PyObject
* obj2
= 0 ;
20290 char * kwnames
[] = {
20291 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20300 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20301 if (!SWIG_IsOK(ecode2
)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20304 arg2
= static_cast< bool >(val2
);
20305 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20306 if (!SWIG_IsOK(ecode3
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20309 arg3
= static_cast< bool >(val3
);
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_Py_Void();
20323 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20324 PyObject
*resultobj
= 0;
20325 wxDC
*arg1
= (wxDC
*) 0 ;
20329 PyObject
*swig_obj
[1] ;
20331 if (!args
) SWIG_fail
;
20332 swig_obj
[0] = args
;
20333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_From_int(static_cast< int >(result
));
20351 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= 0;
20353 wxDC
*arg1
= (wxDC
*) 0 ;
20359 PyObject
* obj0
= 0 ;
20360 PyObject
* obj1
= 0 ;
20361 char * kwnames
[] = {
20362 (char *) "self",(char *) "function", NULL
20365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20367 if (!SWIG_IsOK(res1
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20372 if (!SWIG_IsOK(ecode2
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20375 arg2
= static_cast< int >(val2
);
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 (arg1
)->SetLogicalFunction(arg2
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_Py_Void();
20389 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20390 PyObject
*resultobj
= 0;
20391 wxDC
*arg1
= (wxDC
*) 0 ;
20394 PyObject
*swig_obj
[1] ;
20396 if (!args
) SWIG_fail
;
20397 swig_obj
[0] = args
;
20398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20399 if (!SWIG_IsOK(res1
)) {
20400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 (arg1
)->ComputeScaleAndOrigin();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_Py_Void();
20416 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= 0;
20418 wxDC
*arg1
= (wxDC
*) 0 ;
20427 PyObject
* obj0
= 0 ;
20428 PyObject
* obj1
= 0 ;
20429 PyObject
* obj2
= 0 ;
20430 char * kwnames
[] = {
20431 (char *) "self",(char *) "x",(char *) "y", NULL
20434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20436 if (!SWIG_IsOK(res1
)) {
20437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20441 if (!SWIG_IsOK(ecode2
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20444 arg2
= static_cast< int >(val2
);
20445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20446 if (!SWIG_IsOK(ecode3
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20449 arg3
= static_cast< int >(val3
);
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
= 0;
20465 wxDC
*arg1
= (wxDC
*) 0 ;
20466 wxPoint
*arg2
= 0 ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char * kwnames
[] = {
20473 (char *) "self",(char *) "point", NULL
20476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20478 if (!SWIG_IsOK(res1
)) {
20479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20484 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= SWIG_Py_Void();
20499 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20500 PyObject
*resultobj
= 0;
20501 wxDC
*arg1
= (wxDC
*) 0 ;
20504 PyObject
*swig_obj
[1] ;
20506 if (!args
) SWIG_fail
;
20507 swig_obj
[0] = args
;
20508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20509 if (!SWIG_IsOK(res1
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 (arg1
)->ResetBoundingBox();
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= SWIG_Py_Void();
20526 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20527 PyObject
*resultobj
= 0;
20528 wxDC
*arg1
= (wxDC
*) 0 ;
20532 PyObject
*swig_obj
[1] ;
20534 if (!args
) SWIG_fail
;
20535 swig_obj
[0] = args
;
20536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20537 if (!SWIG_IsOK(res1
)) {
20538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (int)((wxDC
const *)arg1
)->MinX();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_From_int(static_cast< int >(result
));
20554 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 PyObject
*resultobj
= 0;
20556 wxDC
*arg1
= (wxDC
*) 0 ;
20560 PyObject
*swig_obj
[1] ;
20562 if (!args
) SWIG_fail
;
20563 swig_obj
[0] = args
;
20564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20565 if (!SWIG_IsOK(res1
)) {
20566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (int)((wxDC
const *)arg1
)->MaxX();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_From_int(static_cast< int >(result
));
20582 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20583 PyObject
*resultobj
= 0;
20584 wxDC
*arg1
= (wxDC
*) 0 ;
20588 PyObject
*swig_obj
[1] ;
20590 if (!args
) SWIG_fail
;
20591 swig_obj
[0] = args
;
20592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20593 if (!SWIG_IsOK(res1
)) {
20594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20596 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (int)((wxDC
const *)arg1
)->MinY();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= SWIG_From_int(static_cast< int >(result
));
20610 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20611 PyObject
*resultobj
= 0;
20612 wxDC
*arg1
= (wxDC
*) 0 ;
20616 PyObject
*swig_obj
[1] ;
20618 if (!args
) SWIG_fail
;
20619 swig_obj
[0] = args
;
20620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20621 if (!SWIG_IsOK(res1
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (int)((wxDC
const *)arg1
)->MaxY();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_From_int(static_cast< int >(result
));
20638 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20639 PyObject
*resultobj
= 0;
20640 wxDC
*arg1
= (wxDC
*) 0 ;
20641 int *arg2
= (int *) 0 ;
20642 int *arg3
= (int *) 0 ;
20643 int *arg4
= (int *) 0 ;
20644 int *arg5
= (int *) 0 ;
20648 int res2
= SWIG_TMPOBJ
;
20650 int res3
= SWIG_TMPOBJ
;
20652 int res4
= SWIG_TMPOBJ
;
20654 int res5
= SWIG_TMPOBJ
;
20655 PyObject
*swig_obj
[1] ;
20661 if (!args
) SWIG_fail
;
20662 swig_obj
[0] = args
;
20663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20664 if (!SWIG_IsOK(res1
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_Py_Void();
20675 if (SWIG_IsTmpObj(res2
)) {
20676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20678 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20681 if (SWIG_IsTmpObj(res3
)) {
20682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20684 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20687 if (SWIG_IsTmpObj(res4
)) {
20688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20690 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20693 if (SWIG_IsTmpObj(res5
)) {
20694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20696 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20705 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20706 PyObject
*resultobj
= 0;
20707 wxDC
*arg1
= (wxDC
*) 0 ;
20711 PyObject
*swig_obj
[1] ;
20713 if (!args
) SWIG_fail
;
20714 swig_obj
[0] = args
;
20715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (long)(arg1
)->GetHDC();
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_From_long(static_cast< long >(result
));
20733 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
= 0;
20735 wxDC
*arg1
= (wxDC
*) 0 ;
20736 PyObject
*arg2
= (PyObject
*) 0 ;
20737 PyObject
*arg3
= (PyObject
*) 0 ;
20738 PyObject
*arg4
= (PyObject
*) 0 ;
20739 PyObject
*result
= 0 ;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 PyObject
* obj2
= 0 ;
20745 PyObject
* obj3
= 0 ;
20746 char * kwnames
[] = {
20747 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20752 if (!SWIG_IsOK(res1
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= result
;
20772 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
= 0;
20774 wxDC
*arg1
= (wxDC
*) 0 ;
20775 PyObject
*arg2
= (PyObject
*) 0 ;
20776 PyObject
*arg3
= (PyObject
*) 0 ;
20777 PyObject
*arg4
= (PyObject
*) 0 ;
20778 PyObject
*result
= 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 PyObject
* obj3
= 0 ;
20785 char * kwnames
[] = {
20786 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20791 if (!SWIG_IsOK(res1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= result
;
20811 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
= 0;
20813 wxDC
*arg1
= (wxDC
*) 0 ;
20814 PyObject
*arg2
= (PyObject
*) 0 ;
20815 PyObject
*arg3
= (PyObject
*) 0 ;
20816 PyObject
*arg4
= (PyObject
*) 0 ;
20817 PyObject
*result
= 0 ;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 PyObject
* obj2
= 0 ;
20823 PyObject
* obj3
= 0 ;
20824 char * kwnames
[] = {
20825 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20830 if (!SWIG_IsOK(res1
)) {
20831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= result
;
20850 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxDC
*arg1
= (wxDC
*) 0 ;
20853 PyObject
*arg2
= (PyObject
*) 0 ;
20854 PyObject
*arg3
= (PyObject
*) 0 ;
20855 PyObject
*arg4
= (PyObject
*) 0 ;
20856 PyObject
*result
= 0 ;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 PyObject
* obj2
= 0 ;
20862 PyObject
* obj3
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
;
20889 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
= 0;
20891 wxDC
*arg1
= (wxDC
*) 0 ;
20892 PyObject
*arg2
= (PyObject
*) 0 ;
20893 PyObject
*arg3
= (PyObject
*) 0 ;
20894 PyObject
*arg4
= (PyObject
*) 0 ;
20895 PyObject
*result
= 0 ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 PyObject
* obj2
= 0 ;
20901 PyObject
* obj3
= 0 ;
20902 char * kwnames
[] = {
20903 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20908 if (!SWIG_IsOK(res1
)) {
20909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= result
;
20928 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
= 0;
20930 wxDC
*arg1
= (wxDC
*) 0 ;
20931 PyObject
*arg2
= (PyObject
*) 0 ;
20932 PyObject
*arg3
= (PyObject
*) 0 ;
20933 PyObject
*arg4
= (PyObject
*) 0 ;
20934 PyObject
*arg5
= (PyObject
*) 0 ;
20935 PyObject
*result
= 0 ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 PyObject
* obj2
= 0 ;
20941 PyObject
* obj3
= 0 ;
20942 PyObject
* obj4
= 0 ;
20943 char * kwnames
[] = {
20944 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= result
;
20970 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20973 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20974 return SWIG_Py_Void();
20977 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20978 PyObject
*resultobj
= 0;
20979 wxMemoryDC
*result
= 0 ;
20981 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20983 if (!wxPyCheckForApp()) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (wxMemoryDC
*)new wxMemoryDC();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20996 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxDC
*arg1
= (wxDC
*) 0 ;
20999 wxMemoryDC
*result
= 0 ;
21002 PyObject
* obj0
= 0 ;
21003 char * kwnames
[] = {
21004 (char *) "oldDC", NULL
21007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21009 if (!SWIG_IsOK(res1
)) {
21010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21014 if (!wxPyCheckForApp()) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21027 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
= 0;
21029 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21030 wxBitmap
*arg2
= 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 char * kwnames
[] = {
21038 (char *) "self",(char *) "bitmap", NULL
21041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21043 if (!SWIG_IsOK(res1
)) {
21044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21046 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21048 if (!SWIG_IsOK(res2
)) {
21049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21054 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= SWIG_Py_Void();
21068 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21071 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21072 return SWIG_Py_Void();
21075 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21076 return SWIG_Python_InitShadowInstance(args
);
21079 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21080 PyObject
*resultobj
= 0;
21081 wxDC
*arg1
= (wxDC
*) 0 ;
21082 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21083 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21084 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21085 wxBufferedDC
*result
= 0 ;
21093 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21095 if (!SWIG_IsOK(res1
)) {
21096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21100 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21101 if (!SWIG_IsOK(res2
)) {
21102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21107 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21110 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21111 if (!SWIG_IsOK(ecode3
)) {
21112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21114 arg3
= static_cast< int >(val3
);
21117 if (!wxPyCheckForApp()) SWIG_fail
;
21118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21130 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21131 PyObject
*resultobj
= 0;
21132 wxDC
*arg1
= (wxDC
*) 0 ;
21134 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21135 wxBufferedDC
*result
= 0 ;
21142 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21144 if (!SWIG_IsOK(res1
)) {
21145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21150 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21153 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21154 if (!SWIG_IsOK(ecode3
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21157 arg3
= static_cast< int >(val3
);
21160 if (!wxPyCheckForApp()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21173 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21177 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21179 if ((argc
>= 1) && (argc
<= 3)) {
21183 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21184 _v
= SWIG_CheckState(res
);
21186 if (!_v
) goto check_1
;
21188 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21192 if ((argc
>= 2) && (argc
<= 3)) {
21193 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21202 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21203 PyObject
*resultobj
= 0;
21204 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21207 PyObject
*swig_obj
[1] ;
21209 if (!args
) SWIG_fail
;
21210 swig_obj
[0] = args
;
21211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21212 if (!SWIG_IsOK(res1
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21215 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_Py_Void();
21230 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21231 PyObject
*resultobj
= 0;
21232 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21235 PyObject
*swig_obj
[1] ;
21237 if (!args
) SWIG_fail
;
21238 swig_obj
[0] = args
;
21239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21243 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_Py_Void();
21257 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21259 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21260 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21261 return SWIG_Py_Void();
21264 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21265 return SWIG_Python_InitShadowInstance(args
);
21268 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
= 0;
21270 wxWindow
*arg1
= (wxWindow
*) 0 ;
21271 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21272 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21273 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21274 wxBufferedPaintDC
*result
= 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 PyObject
* obj2
= 0 ;
21284 char * kwnames
[] = {
21285 (char *) "window",(char *) "buffer",(char *) "style", NULL
21288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21290 if (!SWIG_IsOK(res1
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21296 if (!SWIG_IsOK(res2
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21302 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21306 if (!SWIG_IsOK(ecode3
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21309 arg3
= static_cast< int >(val3
);
21312 if (!wxPyCheckForApp()) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21325 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21328 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21329 return SWIG_Py_Void();
21332 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21333 return SWIG_Python_InitShadowInstance(args
);
21336 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21337 PyObject
*resultobj
= 0;
21338 wxScreenDC
*result
= 0 ;
21340 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21342 if (!wxPyCheckForApp()) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxScreenDC
*)new wxScreenDC();
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21355 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
= 0;
21357 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21358 wxWindow
*arg2
= (wxWindow
*) 0 ;
21364 PyObject
* obj0
= 0 ;
21365 PyObject
* obj1
= 0 ;
21366 char * kwnames
[] = {
21367 (char *) "self",(char *) "window", NULL
21370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21372 if (!SWIG_IsOK(res1
)) {
21373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21375 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21377 if (!SWIG_IsOK(res2
)) {
21378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21380 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21396 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
= 0;
21398 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21399 wxRect
*arg2
= (wxRect
*) NULL
;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char * kwnames
[] = {
21408 (char *) "self",(char *) "rect", NULL
21411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21416 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21419 if (!SWIG_IsOK(res2
)) {
21420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21422 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21439 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21440 PyObject
*resultobj
= 0;
21441 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21445 PyObject
*swig_obj
[1] ;
21447 if (!args
) SWIG_fail
;
21448 swig_obj
[0] = args
;
21449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21453 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)(arg1
)->EndDrawingOnTop();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21469 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21472 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21473 return SWIG_Py_Void();
21476 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21477 return SWIG_Python_InitShadowInstance(args
);
21480 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
= 0;
21482 wxWindow
*arg1
= (wxWindow
*) 0 ;
21483 wxClientDC
*result
= 0 ;
21486 PyObject
* obj0
= 0 ;
21487 char * kwnames
[] = {
21488 (char *) "win", NULL
21491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21498 if (!wxPyCheckForApp()) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (wxClientDC
*)new wxClientDC(arg1
);
21501 wxPyEndAllowThreads(__tstate
);
21502 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21511 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21514 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21515 return SWIG_Py_Void();
21518 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21519 return SWIG_Python_InitShadowInstance(args
);
21522 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
= 0;
21524 wxWindow
*arg1
= (wxWindow
*) 0 ;
21525 wxPaintDC
*result
= 0 ;
21528 PyObject
* obj0
= 0 ;
21529 char * kwnames
[] = {
21530 (char *) "win", NULL
21533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21535 if (!SWIG_IsOK(res1
)) {
21536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21540 if (!wxPyCheckForApp()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21553 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21556 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21557 return SWIG_Py_Void();
21560 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21561 return SWIG_Python_InitShadowInstance(args
);
21564 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
= 0;
21566 wxWindow
*arg1
= (wxWindow
*) 0 ;
21567 wxWindowDC
*result
= 0 ;
21570 PyObject
* obj0
= 0 ;
21571 char * kwnames
[] = {
21572 (char *) "win", NULL
21575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21577 if (!SWIG_IsOK(res1
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21582 if (!wxPyCheckForApp()) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21595 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21598 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21599 return SWIG_Py_Void();
21602 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21603 return SWIG_Python_InitShadowInstance(args
);
21606 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
= 0;
21610 wxMirrorDC
*result
= 0 ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 char * kwnames
[] = {
21618 (char *) "dc",(char *) "mirror", NULL
21621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21623 if (!SWIG_IsOK(res1
)) {
21624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21630 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21631 if (!SWIG_IsOK(ecode2
)) {
21632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21634 arg2
= static_cast< bool >(val2
);
21636 if (!wxPyCheckForApp()) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21649 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21652 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21653 return SWIG_Py_Void();
21656 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21657 return SWIG_Python_InitShadowInstance(args
);
21660 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
= 0;
21662 wxPrintData
*arg1
= 0 ;
21663 wxPostScriptDC
*result
= 0 ;
21666 PyObject
* obj0
= 0 ;
21667 char * kwnames
[] = {
21668 (char *) "printData", NULL
21671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21672 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21679 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21681 if (!wxPyCheckForApp()) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21694 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 PyObject
*resultobj
= 0;
21696 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21697 wxPrintData
*result
= 0 ;
21700 PyObject
*swig_obj
[1] ;
21702 if (!args
) SWIG_fail
;
21703 swig_obj
[0] = args
;
21704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21705 if (!SWIG_IsOK(res1
)) {
21706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21708 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21713 result
= (wxPrintData
*) &_result_ref
;
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21725 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
= 0;
21727 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21728 wxPrintData
*arg2
= 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char * kwnames
[] = {
21736 (char *) "self",(char *) "data", NULL
21739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21744 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21746 if (!SWIG_IsOK(res2
)) {
21747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21752 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_Py_Void();
21766 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21771 PyObject
* obj0
= 0 ;
21772 char * kwnames
[] = {
21773 (char *) "ppi", NULL
21776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21778 if (!SWIG_IsOK(ecode1
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21781 arg1
= static_cast< int >(val1
);
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 wxPostScriptDC::SetResolution(arg1
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_Py_Void();
21795 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21796 PyObject
*resultobj
= 0;
21799 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (int)wxPostScriptDC::GetResolution();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_From_int(static_cast< int >(result
));
21813 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21817 return SWIG_Py_Void();
21820 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21821 return SWIG_Python_InitShadowInstance(args
);
21824 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
= 0;
21826 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21827 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21828 wxMetaFile
*result
= 0 ;
21829 bool temp1
= false ;
21830 PyObject
* obj0
= 0 ;
21831 char * kwnames
[] = {
21832 (char *) "filename", NULL
21835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21838 arg1
= wxString_in_helper(obj0
);
21839 if (arg1
== NULL
) SWIG_fail
;
21844 if (!wxPyCheckForApp()) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21865 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21866 PyObject
*resultobj
= 0;
21867 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21870 PyObject
*swig_obj
[1] ;
21872 if (!args
) SWIG_fail
;
21873 swig_obj
[0] = args
;
21874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21878 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_Py_Void();
21893 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21894 PyObject
*resultobj
= 0;
21895 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21899 PyObject
*swig_obj
[1] ;
21901 if (!args
) SWIG_fail
;
21902 swig_obj
[0] = args
;
21903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21904 if (!SWIG_IsOK(res1
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21907 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (bool)(arg1
)->Ok();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21923 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
= 0;
21925 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21926 int arg2
= (int) 0 ;
21927 int arg3
= (int) 0 ;
21935 PyObject
* obj0
= 0 ;
21936 PyObject
* obj1
= 0 ;
21937 PyObject
* obj2
= 0 ;
21938 char * kwnames
[] = {
21939 (char *) "self",(char *) "width",(char *) "height", NULL
21942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21944 if (!SWIG_IsOK(res1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21947 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21950 if (!SWIG_IsOK(ecode2
)) {
21951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21953 arg2
= static_cast< int >(val2
);
21956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21957 if (!SWIG_IsOK(ecode3
)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21960 arg3
= static_cast< int >(val3
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21977 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21978 PyObject
*resultobj
= 0;
21979 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21983 PyObject
*swig_obj
[1] ;
21985 if (!args
) SWIG_fail
;
21986 swig_obj
[0] = args
;
21987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21991 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (arg1
)->GetSize();
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22005 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22006 PyObject
*resultobj
= 0;
22007 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22011 PyObject
*swig_obj
[1] ;
22013 if (!args
) SWIG_fail
;
22014 swig_obj
[0] = args
;
22015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22016 if (!SWIG_IsOK(res1
)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22019 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= (int)(arg1
)->GetWidth();
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_From_int(static_cast< int >(result
));
22033 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22034 PyObject
*resultobj
= 0;
22035 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22039 PyObject
*swig_obj
[1] ;
22041 if (!args
) SWIG_fail
;
22042 swig_obj
[0] = args
;
22043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22044 if (!SWIG_IsOK(res1
)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22047 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (int)(arg1
)->GetHeight();
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_From_int(static_cast< int >(result
));
22061 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22062 PyObject
*resultobj
= 0;
22063 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22064 wxString
*result
= 0 ;
22067 PyObject
*swig_obj
[1] ;
22069 if (!args
) SWIG_fail
;
22070 swig_obj
[0] = args
;
22071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22075 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22080 result
= (wxString
*) &_result_ref
;
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22089 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22098 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22101 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22102 return SWIG_Py_Void();
22105 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 return SWIG_Python_InitShadowInstance(args
);
22109 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22112 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22113 int arg2
= (int) 0 ;
22114 int arg3
= (int) 0 ;
22115 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22116 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22117 wxMetaFileDC
*result
= 0 ;
22118 bool temp1
= false ;
22123 bool temp4
= false ;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 PyObject
* obj3
= 0 ;
22128 char * kwnames
[] = {
22129 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22135 arg1
= wxString_in_helper(obj0
);
22136 if (arg1
== NULL
) SWIG_fail
;
22141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22142 if (!SWIG_IsOK(ecode2
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22145 arg2
= static_cast< int >(val2
);
22148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22149 if (!SWIG_IsOK(ecode3
)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22152 arg3
= static_cast< int >(val3
);
22156 arg4
= wxString_in_helper(obj3
);
22157 if (arg4
== NULL
) SWIG_fail
;
22162 if (!wxPyCheckForApp()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22191 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22192 PyObject
*resultobj
= 0;
22193 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22194 wxMetaFile
*result
= 0 ;
22197 PyObject
*swig_obj
[1] ;
22199 if (!args
) SWIG_fail
;
22200 swig_obj
[0] = args
;
22201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22202 if (!SWIG_IsOK(res1
)) {
22203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22205 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (wxMetaFile
*)(arg1
)->Close();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22219 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22222 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22223 return SWIG_Py_Void();
22226 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22227 return SWIG_Python_InitShadowInstance(args
);
22230 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
= 0;
22232 wxPrintData
*arg1
= 0 ;
22233 wxPrinterDC
*result
= 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char * kwnames
[] = {
22238 (char *) "printData", NULL
22241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22243 if (!SWIG_IsOK(res1
)) {
22244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22249 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22251 if (!wxPyCheckForApp()) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22264 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22268 return SWIG_Py_Void();
22271 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22272 return SWIG_Python_InitShadowInstance(args
);
22275 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
= 0;
22279 int arg3
= (int) true ;
22280 int arg4
= (int) 1 ;
22281 wxImageList
*result
= 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 PyObject
* obj2
= 0 ;
22293 PyObject
* obj3
= 0 ;
22294 char * kwnames
[] = {
22295 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22299 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22300 if (!SWIG_IsOK(ecode1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22303 arg1
= static_cast< int >(val1
);
22304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22305 if (!SWIG_IsOK(ecode2
)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22308 arg2
= static_cast< int >(val2
);
22310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22311 if (!SWIG_IsOK(ecode3
)) {
22312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22314 arg3
= static_cast< int >(val3
);
22317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22318 if (!SWIG_IsOK(ecode4
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22321 arg4
= static_cast< int >(val4
);
22324 if (!wxPyCheckForApp()) SWIG_fail
;
22325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22326 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22331 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22339 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22340 PyObject
*resultobj
= 0;
22341 wxImageList
*arg1
= (wxImageList
*) 0 ;
22344 PyObject
*swig_obj
[1] ;
22346 if (!args
) SWIG_fail
;
22347 swig_obj
[0] = args
;
22348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22349 if (!SWIG_IsOK(res1
)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22352 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= SWIG_Py_Void();
22367 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
= 0;
22369 wxImageList
*arg1
= (wxImageList
*) 0 ;
22370 wxBitmap
*arg2
= 0 ;
22371 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22372 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22380 PyObject
* obj0
= 0 ;
22381 PyObject
* obj1
= 0 ;
22382 PyObject
* obj2
= 0 ;
22383 char * kwnames
[] = {
22384 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22392 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22394 if (!SWIG_IsOK(res2
)) {
22395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22400 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22402 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22403 if (!SWIG_IsOK(res3
)) {
22404 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22409 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_From_int(static_cast< int >(result
));
22424 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
= 0;
22426 wxImageList
*arg1
= (wxImageList
*) 0 ;
22427 wxBitmap
*arg2
= 0 ;
22428 wxColour
*arg3
= 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 PyObject
* obj2
= 0 ;
22438 char * kwnames
[] = {
22439 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22447 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22449 if (!SWIG_IsOK(res2
)) {
22450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22455 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22458 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_From_int(static_cast< int >(result
));
22473 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
= 0;
22475 wxImageList
*arg1
= (wxImageList
*) 0 ;
22482 PyObject
* obj0
= 0 ;
22483 PyObject
* obj1
= 0 ;
22484 char * kwnames
[] = {
22485 (char *) "self",(char *) "icon", NULL
22488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22493 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22495 if (!SWIG_IsOK(res2
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22501 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_From_int(static_cast< int >(result
));
22515 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
= 0;
22517 wxImageList
*arg1
= (wxImageList
*) 0 ;
22519 SwigValueWrapper
<wxBitmap
> result
;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char * kwnames
[] = {
22527 (char *) "self",(char *) "index", NULL
22530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22535 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22537 if (!SWIG_IsOK(ecode2
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22540 arg2
= static_cast< int >(val2
);
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22554 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
= 0;
22556 wxImageList
*arg1
= (wxImageList
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char * kwnames
[] = {
22566 (char *) "self",(char *) "index", NULL
22569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22574 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22576 if (!SWIG_IsOK(ecode2
)) {
22577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22579 arg2
= static_cast< int >(val2
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22593 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
= 0;
22595 wxImageList
*arg1
= (wxImageList
*) 0 ;
22597 wxBitmap
*arg3
= 0 ;
22598 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22599 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 PyObject
* obj3
= 0 ;
22613 char * kwnames
[] = {
22614 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22622 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22624 if (!SWIG_IsOK(ecode2
)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22627 arg2
= static_cast< int >(val2
);
22628 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22629 if (!SWIG_IsOK(res3
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22635 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22637 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22638 if (!SWIG_IsOK(res4
)) {
22639 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22644 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22661 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
= 0;
22663 wxImageList
*arg1
= (wxImageList
*) 0 ;
22668 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22669 bool arg7
= (bool) (bool)false ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 PyObject
* obj2
= 0 ;
22688 PyObject
* obj3
= 0 ;
22689 PyObject
* obj4
= 0 ;
22690 PyObject
* obj5
= 0 ;
22691 PyObject
* obj6
= 0 ;
22692 char * kwnames
[] = {
22693 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22698 if (!SWIG_IsOK(res1
)) {
22699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22701 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22703 if (!SWIG_IsOK(ecode2
)) {
22704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22706 arg2
= static_cast< int >(val2
);
22707 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22708 if (!SWIG_IsOK(res3
)) {
22709 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22714 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22715 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22716 if (!SWIG_IsOK(ecode4
)) {
22717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22719 arg4
= static_cast< int >(val4
);
22720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22721 if (!SWIG_IsOK(ecode5
)) {
22722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22724 arg5
= static_cast< int >(val5
);
22726 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22727 if (!SWIG_IsOK(ecode6
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22730 arg6
= static_cast< int >(val6
);
22733 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22734 if (!SWIG_IsOK(ecode7
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22737 arg7
= static_cast< bool >(val7
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22754 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 PyObject
*resultobj
= 0;
22756 wxImageList
*arg1
= (wxImageList
*) 0 ;
22760 PyObject
*swig_obj
[1] ;
22762 if (!args
) SWIG_fail
;
22763 swig_obj
[0] = args
;
22764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22765 if (!SWIG_IsOK(res1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22768 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (int)(arg1
)->GetImageCount();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_From_int(static_cast< int >(result
));
22782 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
= 0;
22784 wxImageList
*arg1
= (wxImageList
*) 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char * kwnames
[] = {
22794 (char *) "self",(char *) "index", NULL
22797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22799 if (!SWIG_IsOK(res1
)) {
22800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22802 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22804 if (!SWIG_IsOK(ecode2
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22807 arg2
= static_cast< int >(val2
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (bool)(arg1
)->Remove(arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22823 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 PyObject
*resultobj
= 0;
22825 wxImageList
*arg1
= (wxImageList
*) 0 ;
22829 PyObject
*swig_obj
[1] ;
22831 if (!args
) SWIG_fail
;
22832 swig_obj
[0] = args
;
22833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22834 if (!SWIG_IsOK(res1
)) {
22835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22837 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (bool)(arg1
)->RemoveAll();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22853 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
= 0;
22855 wxImageList
*arg1
= (wxImageList
*) 0 ;
22864 int res3
= SWIG_TMPOBJ
;
22866 int res4
= SWIG_TMPOBJ
;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 char * kwnames
[] = {
22870 (char *) "self",(char *) "index", NULL
22875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22880 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22882 if (!SWIG_IsOK(ecode2
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22885 arg2
= static_cast< int >(val2
);
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_Py_Void();
22893 if (SWIG_IsTmpObj(res3
)) {
22894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22896 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22899 if (SWIG_IsTmpObj(res4
)) {
22900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22902 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22911 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22913 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22914 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22915 return SWIG_Py_Void();
22918 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22919 return SWIG_Python_InitShadowInstance(args
);
22922 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 PyObject
*resultobj
= 0;
22924 wxStockGDI
*result
= 0 ;
22926 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (wxStockGDI
*)new wxStockGDI();
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22940 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22941 PyObject
*resultobj
= 0;
22942 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22945 PyObject
*swig_obj
[1] ;
22947 if (!args
) SWIG_fail
;
22948 swig_obj
[0] = args
;
22949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22953 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_Py_Void();
22968 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22969 PyObject
*resultobj
= 0;
22971 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 wxStockGDI::DeleteAll();
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_Py_Void();
22985 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22986 PyObject
*resultobj
= 0;
22987 wxStockGDI
*result
= 0 ;
22989 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22994 result
= (wxStockGDI
*) &_result_ref
;
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23006 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23007 PyObject
*resultobj
= 0;
23008 wxStockGDI::Item arg1
;
23009 wxBrush
*result
= 0 ;
23012 PyObject
* obj0
= 0 ;
23013 char * kwnames
[] = {
23014 (char *) "item", NULL
23017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
23018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23019 if (!SWIG_IsOK(ecode1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23022 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23036 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
= 0;
23038 wxStockGDI::Item arg1
;
23039 wxColour
*result
= 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char * kwnames
[] = {
23044 (char *) "item", NULL
23047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
23048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23049 if (!SWIG_IsOK(ecode1
)) {
23050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23052 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23066 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
= 0;
23068 wxStockGDI::Item arg1
;
23069 wxCursor
*result
= 0 ;
23072 PyObject
* obj0
= 0 ;
23073 char * kwnames
[] = {
23074 (char *) "item", NULL
23077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
23078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23079 if (!SWIG_IsOK(ecode1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23082 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
23096 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
= 0;
23098 wxStockGDI::Item arg1
;
23099 wxPen
*result
= 0 ;
23102 PyObject
* obj0
= 0 ;
23103 char * kwnames
[] = {
23104 (char *) "item", NULL
23107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
23108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23109 if (!SWIG_IsOK(ecode1
)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23112 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23126 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
= 0;
23128 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
23129 wxStockGDI::Item arg2
;
23130 wxFont
*result
= 0 ;
23135 PyObject
* obj0
= 0 ;
23136 PyObject
* obj1
= 0 ;
23137 char * kwnames
[] = {
23138 (char *) "self",(char *) "item", NULL
23141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23143 if (!SWIG_IsOK(res1
)) {
23144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
23146 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
23147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23148 if (!SWIG_IsOK(ecode2
)) {
23149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
23151 arg2
= static_cast< wxStockGDI::Item
>(val2
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23165 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23168 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
23169 return SWIG_Py_Void();
23172 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23173 return SWIG_Python_InitShadowInstance(args
);
23176 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23177 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23182 SWIGINTERN PyObject
*NullBitmap_get(void) {
23183 PyObject
*pyobj
= 0;
23185 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23190 SWIGINTERN
int NullIcon_set(PyObject
*) {
23191 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23196 SWIGINTERN PyObject
*NullIcon_get(void) {
23197 PyObject
*pyobj
= 0;
23199 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23204 SWIGINTERN
int NullCursor_set(PyObject
*) {
23205 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23210 SWIGINTERN PyObject
*NullCursor_get(void) {
23211 PyObject
*pyobj
= 0;
23213 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23218 SWIGINTERN
int NullPen_set(PyObject
*) {
23219 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23224 SWIGINTERN PyObject
*NullPen_get(void) {
23225 PyObject
*pyobj
= 0;
23227 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23232 SWIGINTERN
int NullBrush_set(PyObject
*) {
23233 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23238 SWIGINTERN PyObject
*NullBrush_get(void) {
23239 PyObject
*pyobj
= 0;
23241 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23246 SWIGINTERN
int NullPalette_set(PyObject
*) {
23247 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23252 SWIGINTERN PyObject
*NullPalette_get(void) {
23253 PyObject
*pyobj
= 0;
23255 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23260 SWIGINTERN
int NullFont_set(PyObject
*) {
23261 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23266 SWIGINTERN PyObject
*NullFont_get(void) {
23267 PyObject
*pyobj
= 0;
23269 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23274 SWIGINTERN
int NullColour_set(PyObject
*) {
23275 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23280 SWIGINTERN PyObject
*NullColour_get(void) {
23281 PyObject
*pyobj
= 0;
23283 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23288 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23289 PyObject
*resultobj
= 0;
23290 wxGDIObjListBase
*result
= 0 ;
23292 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
23306 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23307 PyObject
*resultobj
= 0;
23308 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
23311 PyObject
*swig_obj
[1] ;
23313 if (!args
) SWIG_fail
;
23314 swig_obj
[0] = args
;
23315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
23316 if (!SWIG_IsOK(res1
)) {
23317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
23319 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_Py_Void();
23334 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23337 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
23338 return SWIG_Py_Void();
23341 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23342 return SWIG_Python_InitShadowInstance(args
);
23345 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxPenList
*arg1
= (wxPenList
*) 0 ;
23348 wxColour
*arg2
= 0 ;
23351 wxPen
*result
= 0 ;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 PyObject
* obj2
= 0 ;
23362 PyObject
* obj3
= 0 ;
23363 char * kwnames
[] = {
23364 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23369 if (!SWIG_IsOK(res1
)) {
23370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23372 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23375 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23378 if (!SWIG_IsOK(ecode3
)) {
23379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23381 arg3
= static_cast< int >(val3
);
23382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23383 if (!SWIG_IsOK(ecode4
)) {
23384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23386 arg4
= static_cast< int >(val4
);
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23400 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
= 0;
23402 wxPenList
*arg1
= (wxPenList
*) 0 ;
23403 wxPen
*arg2
= (wxPen
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char * kwnames
[] = {
23411 (char *) "self",(char *) "pen", NULL
23414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23416 if (!SWIG_IsOK(res1
)) {
23417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23419 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23421 if (!SWIG_IsOK(res2
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23424 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->AddPen(arg2
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_Py_Void();
23438 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
= 0;
23440 wxPenList
*arg1
= (wxPenList
*) 0 ;
23441 wxPen
*arg2
= (wxPen
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char * kwnames
[] = {
23449 (char *) "self",(char *) "pen", NULL
23452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23454 if (!SWIG_IsOK(res1
)) {
23455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23457 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23459 if (!SWIG_IsOK(res2
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23462 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 (arg1
)->RemovePen(arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= SWIG_Py_Void();
23476 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23480 return SWIG_Py_Void();
23483 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
= 0;
23485 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23486 wxColour
*arg2
= 0 ;
23487 int arg3
= (int) wxSOLID
;
23488 wxBrush
*result
= 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 PyObject
* obj2
= 0 ;
23497 char * kwnames
[] = {
23498 (char *) "self",(char *) "colour",(char *) "style", NULL
23501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23506 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23513 if (!SWIG_IsOK(ecode3
)) {
23514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23516 arg3
= static_cast< int >(val3
);
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23531 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
= 0;
23533 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23534 wxBrush
*arg2
= (wxBrush
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "self",(char *) "brush", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23547 if (!SWIG_IsOK(res1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23550 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23552 if (!SWIG_IsOK(res2
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23555 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 (arg1
)->AddBrush(arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= SWIG_Py_Void();
23569 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
= 0;
23571 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23572 wxBrush
*arg2
= (wxBrush
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "brush", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23588 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23590 if (!SWIG_IsOK(res2
)) {
23591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23593 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 (arg1
)->RemoveBrush(arg2
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= SWIG_Py_Void();
23607 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23610 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23611 return SWIG_Py_Void();
23614 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
= 0;
23616 wxFontList
*arg1
= (wxFontList
*) 0 ;
23621 bool arg6
= (bool) false ;
23622 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23624 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23625 wxFont
*result
= 0 ;
23638 bool temp7
= false ;
23641 PyObject
* obj0
= 0 ;
23642 PyObject
* obj1
= 0 ;
23643 PyObject
* obj2
= 0 ;
23644 PyObject
* obj3
= 0 ;
23645 PyObject
* obj4
= 0 ;
23646 PyObject
* obj5
= 0 ;
23647 PyObject
* obj6
= 0 ;
23648 PyObject
* obj7
= 0 ;
23649 char * kwnames
[] = {
23650 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23658 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23660 if (!SWIG_IsOK(ecode2
)) {
23661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23663 arg2
= static_cast< int >(val2
);
23664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23665 if (!SWIG_IsOK(ecode3
)) {
23666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23668 arg3
= static_cast< int >(val3
);
23669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23670 if (!SWIG_IsOK(ecode4
)) {
23671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23673 arg4
= static_cast< int >(val4
);
23674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23675 if (!SWIG_IsOK(ecode5
)) {
23676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23678 arg5
= static_cast< int >(val5
);
23680 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23681 if (!SWIG_IsOK(ecode6
)) {
23682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23684 arg6
= static_cast< bool >(val6
);
23688 arg7
= wxString_in_helper(obj6
);
23689 if (arg7
== NULL
) SWIG_fail
;
23694 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23695 if (!SWIG_IsOK(ecode8
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23698 arg8
= static_cast< wxFontEncoding
>(val8
);
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23721 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
= 0;
23723 wxFontList
*arg1
= (wxFontList
*) 0 ;
23724 wxFont
*arg2
= (wxFont
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 char * kwnames
[] = {
23732 (char *) "self",(char *) "font", NULL
23735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23737 if (!SWIG_IsOK(res1
)) {
23738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23740 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23742 if (!SWIG_IsOK(res2
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23745 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 (arg1
)->AddFont(arg2
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 resultobj
= SWIG_Py_Void();
23759 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= 0;
23761 wxFontList
*arg1
= (wxFontList
*) 0 ;
23762 wxFont
*arg2
= (wxFont
*) 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 char * kwnames
[] = {
23770 (char *) "self",(char *) "font", NULL
23773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23778 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23780 if (!SWIG_IsOK(res2
)) {
23781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23783 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->RemoveFont(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_Py_Void();
23797 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23800 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23801 return SWIG_Py_Void();
23804 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23805 PyObject
*resultobj
= 0;
23806 wxColourDatabase
*result
= 0 ;
23808 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23810 if (!wxPyCheckForApp()) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (wxColourDatabase
*)new wxColourDatabase();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23823 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23824 PyObject
*resultobj
= 0;
23825 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23836 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_Py_Void();
23851 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
= 0;
23853 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23854 wxString
*arg2
= 0 ;
23858 bool temp2
= false ;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 char * kwnames
[] = {
23862 (char *) "self",(char *) "name", NULL
23865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23867 if (!SWIG_IsOK(res1
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23870 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23872 arg2
= wxString_in_helper(obj1
);
23873 if (arg2
== NULL
) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23882 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23897 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
= 0;
23899 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23900 wxColour
*arg2
= 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "colour", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23916 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23919 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23940 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
= 0;
23942 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23943 wxString
*arg2
= 0 ;
23944 wxColour
*arg3
= 0 ;
23947 bool temp2
= false ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 PyObject
* obj2
= 0 ;
23952 char * kwnames
[] = {
23953 (char *) "self",(char *) "name",(char *) "colour", NULL
23956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23958 if (!SWIG_IsOK(res1
)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23961 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23963 arg2
= wxString_in_helper(obj1
);
23964 if (arg2
== NULL
) SWIG_fail
;
23969 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= SWIG_Py_Void();
23992 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= 0;
23994 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23995 wxString
*arg2
= 0 ;
24001 bool temp2
= false ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24011 PyObject
* obj3
= 0 ;
24012 PyObject
* obj4
= 0 ;
24013 char * kwnames
[] = {
24014 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24022 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24024 arg2
= wxString_in_helper(obj1
);
24025 if (arg2
== NULL
) SWIG_fail
;
24028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24029 if (!SWIG_IsOK(ecode3
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24032 arg3
= static_cast< int >(val3
);
24033 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24034 if (!SWIG_IsOK(ecode4
)) {
24035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24037 arg4
= static_cast< int >(val4
);
24038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24039 if (!SWIG_IsOK(ecode5
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24042 arg5
= static_cast< int >(val5
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_Py_Void();
24064 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24067 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24068 return SWIG_Py_Void();
24071 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24072 return SWIG_Python_InitShadowInstance(args
);
24075 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24076 PyObject
*resultobj
= 0;
24077 wxFontList
*result
= 0 ;
24079 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxFontList
*)_wxPyInitTheFontList();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
24093 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 PyObject
*resultobj
= 0;
24095 wxPenList
*result
= 0 ;
24097 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 result
= (wxPenList
*)_wxPyInitThePenList();
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
24111 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24112 PyObject
*resultobj
= 0;
24113 wxBrushList
*result
= 0 ;
24115 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 result
= (wxBrushList
*)_wxPyInitTheBrushList();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
24129 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 PyObject
*resultobj
= 0;
24131 wxColourDatabase
*result
= 0 ;
24133 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24147 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24148 PyObject
*resultobj
= 0;
24149 wxEffects
*result
= 0 ;
24151 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (wxEffects
*)new wxEffects();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24165 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24166 PyObject
*resultobj
= 0;
24167 wxEffects
*arg1
= (wxEffects
*) 0 ;
24171 PyObject
*swig_obj
[1] ;
24173 if (!args
) SWIG_fail
;
24174 swig_obj
[0] = args
;
24175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24179 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24193 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxEffects
*arg1
= (wxEffects
*) 0 ;
24199 PyObject
*swig_obj
[1] ;
24201 if (!args
) SWIG_fail
;
24202 swig_obj
[0] = args
;
24203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24207 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24221 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24222 PyObject
*resultobj
= 0;
24223 wxEffects
*arg1
= (wxEffects
*) 0 ;
24227 PyObject
*swig_obj
[1] ;
24229 if (!args
) SWIG_fail
;
24230 swig_obj
[0] = args
;
24231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24232 if (!SWIG_IsOK(res1
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24235 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24249 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24250 PyObject
*resultobj
= 0;
24251 wxEffects
*arg1
= (wxEffects
*) 0 ;
24255 PyObject
*swig_obj
[1] ;
24257 if (!args
) SWIG_fail
;
24258 swig_obj
[0] = args
;
24259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24260 if (!SWIG_IsOK(res1
)) {
24261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24263 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24277 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24278 PyObject
*resultobj
= 0;
24279 wxEffects
*arg1
= (wxEffects
*) 0 ;
24283 PyObject
*swig_obj
[1] ;
24285 if (!args
) SWIG_fail
;
24286 swig_obj
[0] = args
;
24287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24291 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24305 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= 0;
24307 wxEffects
*arg1
= (wxEffects
*) 0 ;
24308 wxColour
*arg2
= 0 ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char * kwnames
[] = {
24315 (char *) "self",(char *) "c", NULL
24318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24320 if (!SWIG_IsOK(res1
)) {
24321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24323 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24326 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_Py_Void();
24341 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
= 0;
24343 wxEffects
*arg1
= (wxEffects
*) 0 ;
24344 wxColour
*arg2
= 0 ;
24348 PyObject
* obj0
= 0 ;
24349 PyObject
* obj1
= 0 ;
24350 char * kwnames
[] = {
24351 (char *) "self",(char *) "c", NULL
24354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24359 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_Py_Void();
24377 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxEffects
*arg1
= (wxEffects
*) 0 ;
24380 wxColour
*arg2
= 0 ;
24384 PyObject
* obj0
= 0 ;
24385 PyObject
* obj1
= 0 ;
24386 char * kwnames
[] = {
24387 (char *) "self",(char *) "c", NULL
24390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24395 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24398 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= SWIG_Py_Void();
24413 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
= 0;
24415 wxEffects
*arg1
= (wxEffects
*) 0 ;
24416 wxColour
*arg2
= 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char * kwnames
[] = {
24423 (char *) "self",(char *) "c", NULL
24426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24428 if (!SWIG_IsOK(res1
)) {
24429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24431 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24434 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_Py_Void();
24449 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
= 0;
24451 wxEffects
*arg1
= (wxEffects
*) 0 ;
24452 wxColour
*arg2
= 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 char * kwnames
[] = {
24459 (char *) "self",(char *) "c", NULL
24462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24464 if (!SWIG_IsOK(res1
)) {
24465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24467 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_Py_Void();
24485 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
= 0;
24487 wxEffects
*arg1
= (wxEffects
*) 0 ;
24488 wxColour
*arg2
= 0 ;
24489 wxColour
*arg3
= 0 ;
24490 wxColour
*arg4
= 0 ;
24491 wxColour
*arg5
= 0 ;
24492 wxColour
*arg6
= 0 ;
24500 PyObject
* obj0
= 0 ;
24501 PyObject
* obj1
= 0 ;
24502 PyObject
* obj2
= 0 ;
24503 PyObject
* obj3
= 0 ;
24504 PyObject
* obj4
= 0 ;
24505 PyObject
* obj5
= 0 ;
24506 char * kwnames
[] = {
24507 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24515 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24522 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24526 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24530 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24534 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= SWIG_Py_Void();
24549 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
= 0;
24551 wxEffects
*arg1
= (wxEffects
*) 0 ;
24554 int arg4
= (int) 1 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 PyObject
* obj2
= 0 ;
24565 PyObject
* obj3
= 0 ;
24566 char * kwnames
[] = {
24567 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24572 if (!SWIG_IsOK(res1
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24575 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24577 if (!SWIG_IsOK(res2
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24583 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24586 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24590 if (!SWIG_IsOK(ecode4
)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24593 arg4
= static_cast< int >(val4
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_Py_Void();
24608 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= 0;
24610 wxEffects
*arg1
= (wxEffects
*) 0 ;
24613 wxBitmap
*arg4
= 0 ;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 PyObject
* obj2
= 0 ;
24625 PyObject
* obj3
= 0 ;
24626 char * kwnames
[] = {
24627 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24635 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24638 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24640 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24641 if (!SWIG_IsOK(res3
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24647 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24648 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24649 if (!SWIG_IsOK(res4
)) {
24650 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24655 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24671 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24674 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24675 return SWIG_Py_Void();
24678 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24679 return SWIG_Python_InitShadowInstance(args
);
24682 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
= 0;
24687 wxSplitterRenderParams
*result
= 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 PyObject
* obj2
= 0 ;
24697 char * kwnames
[] = {
24698 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24703 if (!SWIG_IsOK(ecode1
)) {
24704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24706 arg1
= static_cast< int >(val1
);
24707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24708 if (!SWIG_IsOK(ecode2
)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24711 arg2
= static_cast< int >(val2
);
24712 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24713 if (!SWIG_IsOK(ecode3
)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24716 arg3
= static_cast< bool >(val3
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24730 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24731 PyObject
*resultobj
= 0;
24732 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24735 PyObject
*swig_obj
[1] ;
24737 if (!args
) SWIG_fail
;
24738 swig_obj
[0] = args
;
24739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24740 if (!SWIG_IsOK(res1
)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24743 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= SWIG_Py_Void();
24758 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24759 PyObject
*resultobj
= 0;
24760 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24764 PyObject
*swig_obj
[1] ;
24766 if (!args
) SWIG_fail
;
24767 swig_obj
[0] = args
;
24768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24772 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24773 result
= (int)(int) ((arg1
)->widthSash
);
24774 resultobj
= SWIG_From_int(static_cast< int >(result
));
24781 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24782 PyObject
*resultobj
= 0;
24783 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24787 PyObject
*swig_obj
[1] ;
24789 if (!args
) SWIG_fail
;
24790 swig_obj
[0] = args
;
24791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24792 if (!SWIG_IsOK(res1
)) {
24793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24795 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24796 result
= (int)(int) ((arg1
)->border
);
24797 resultobj
= SWIG_From_int(static_cast< int >(result
));
24804 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24805 PyObject
*resultobj
= 0;
24806 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24810 PyObject
*swig_obj
[1] ;
24812 if (!args
) SWIG_fail
;
24813 swig_obj
[0] = args
;
24814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24815 if (!SWIG_IsOK(res1
)) {
24816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24818 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24819 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24820 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24827 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24830 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24831 return SWIG_Py_Void();
24834 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24835 return SWIG_Python_InitShadowInstance(args
);
24838 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= 0;
24842 wxRendererVersion
*result
= 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "version_",(char *) "age_", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24855 if (!SWIG_IsOK(ecode1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24858 arg1
= static_cast< int >(val1
);
24859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24860 if (!SWIG_IsOK(ecode2
)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24863 arg2
= static_cast< int >(val2
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24877 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24878 PyObject
*resultobj
= 0;
24879 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24882 PyObject
*swig_obj
[1] ;
24884 if (!args
) SWIG_fail
;
24885 swig_obj
[0] = args
;
24886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24890 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_Py_Void();
24905 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
= 0;
24907 wxRendererVersion
*arg1
= 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char * kwnames
[] = {
24913 (char *) "ver", NULL
24916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24918 if (!SWIG_IsOK(res1
)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24924 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24928 wxPyEndAllowThreads(__tstate
);
24929 if (PyErr_Occurred()) SWIG_fail
;
24932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24940 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24941 PyObject
*resultobj
= 0;
24942 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24946 PyObject
*swig_obj
[1] ;
24948 if (!args
) SWIG_fail
;
24949 swig_obj
[0] = args
;
24950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24951 if (!SWIG_IsOK(res1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24954 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24955 result
= (int)(int) ((arg1
)->version
);
24956 resultobj
= SWIG_From_int(static_cast< int >(result
));
24963 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24964 PyObject
*resultobj
= 0;
24965 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24969 PyObject
*swig_obj
[1] ;
24971 if (!args
) SWIG_fail
;
24972 swig_obj
[0] = args
;
24973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24974 if (!SWIG_IsOK(res1
)) {
24975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24977 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24978 result
= (int)(int) ((arg1
)->age
);
24979 resultobj
= SWIG_From_int(static_cast< int >(result
));
24986 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24989 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24990 return SWIG_Py_Void();
24993 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24994 return SWIG_Python_InitShadowInstance(args
);
24997 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
= 0;
24999 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25000 wxWindow
*arg2
= (wxWindow
*) 0 ;
25003 int arg5
= (int) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 PyObject
* obj2
= 0 ;
25016 PyObject
* obj3
= 0 ;
25017 PyObject
* obj4
= 0 ;
25018 char * kwnames
[] = {
25019 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25027 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25029 if (!SWIG_IsOK(res2
)) {
25030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25033 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25034 if (!SWIG_IsOK(res3
)) {
25035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25040 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25043 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25046 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25047 if (!SWIG_IsOK(ecode5
)) {
25048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25050 arg5
= static_cast< int >(val5
);
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_Py_Void();
25065 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
= 0;
25067 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25068 wxWindow
*arg2
= (wxWindow
*) 0 ;
25071 int arg5
= (int) 0 ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 PyObject
* obj2
= 0 ;
25084 PyObject
* obj3
= 0 ;
25085 PyObject
* obj4
= 0 ;
25086 char * kwnames
[] = {
25087 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25092 if (!SWIG_IsOK(res1
)) {
25093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25095 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25097 if (!SWIG_IsOK(res2
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25100 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25101 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25102 if (!SWIG_IsOK(res3
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25108 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25111 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25115 if (!SWIG_IsOK(ecode5
)) {
25116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25118 arg5
= static_cast< int >(val5
);
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= SWIG_Py_Void();
25133 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
= 0;
25135 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25136 wxWindow
*arg2
= (wxWindow
*) 0 ;
25139 int arg5
= (int) 0 ;
25149 PyObject
* obj0
= 0 ;
25150 PyObject
* obj1
= 0 ;
25151 PyObject
* obj2
= 0 ;
25152 PyObject
* obj3
= 0 ;
25153 PyObject
* obj4
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25163 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25165 if (!SWIG_IsOK(res2
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25168 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25169 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25170 if (!SWIG_IsOK(res3
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25176 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25179 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25182 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25183 if (!SWIG_IsOK(ecode5
)) {
25184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25186 arg5
= static_cast< int >(val5
);
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_Py_Void();
25201 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
= 0;
25203 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25204 wxWindow
*arg2
= (wxWindow
*) 0 ;
25208 wxOrientation arg6
;
25209 int arg7
= (int) 0 ;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 PyObject
* obj2
= 0 ;
25226 PyObject
* obj3
= 0 ;
25227 PyObject
* obj4
= 0 ;
25228 PyObject
* obj5
= 0 ;
25229 PyObject
* obj6
= 0 ;
25230 char * kwnames
[] = {
25231 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25239 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25241 if (!SWIG_IsOK(res2
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25244 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25245 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25246 if (!SWIG_IsOK(res3
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25252 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25255 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25257 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25258 if (!SWIG_IsOK(ecode5
)) {
25259 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25261 arg5
= static_cast< int >(val5
);
25262 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25263 if (!SWIG_IsOK(ecode6
)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25266 arg6
= static_cast< wxOrientation
>(val6
);
25268 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25269 if (!SWIG_IsOK(ecode7
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25272 arg7
= static_cast< int >(val7
);
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_Py_Void();
25287 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
= 0;
25289 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25290 wxWindow
*arg2
= (wxWindow
*) 0 ;
25293 int arg5
= (int) 0 ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 PyObject
* obj2
= 0 ;
25306 PyObject
* obj3
= 0 ;
25307 PyObject
* obj4
= 0 ;
25308 char * kwnames
[] = {
25309 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25314 if (!SWIG_IsOK(res1
)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25317 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25319 if (!SWIG_IsOK(res2
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25323 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25324 if (!SWIG_IsOK(res3
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25330 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25333 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25337 if (!SWIG_IsOK(ecode5
)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25340 arg5
= static_cast< int >(val5
);
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= 0;
25357 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25358 wxWindow
*arg2
= (wxWindow
*) 0 ;
25361 int arg5
= (int) 0 ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 PyObject
* obj2
= 0 ;
25374 PyObject
* obj3
= 0 ;
25375 PyObject
* obj4
= 0 ;
25376 char * kwnames
[] = {
25377 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25385 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25387 if (!SWIG_IsOK(res2
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25391 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25392 if (!SWIG_IsOK(res3
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25398 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25401 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25405 if (!SWIG_IsOK(ecode5
)) {
25406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25408 arg5
= static_cast< int >(val5
);
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_Py_Void();
25423 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
= 0;
25425 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25426 wxWindow
*arg2
= (wxWindow
*) 0 ;
25429 int arg5
= (int) 0 ;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 PyObject
* obj2
= 0 ;
25442 PyObject
* obj3
= 0 ;
25443 PyObject
* obj4
= 0 ;
25444 char * kwnames
[] = {
25445 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25453 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25455 if (!SWIG_IsOK(res2
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
25458 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25459 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25460 if (!SWIG_IsOK(res3
)) {
25461 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25466 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25469 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25473 if (!SWIG_IsOK(ecode5
)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
25476 arg5
= static_cast< int >(val5
);
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_Py_Void();
25491 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
= 0;
25493 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25494 wxWindow
*arg2
= (wxWindow
*) 0 ;
25497 int arg5
= (int) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 PyObject
* obj1
= 0 ;
25509 PyObject
* obj2
= 0 ;
25510 PyObject
* obj3
= 0 ;
25511 PyObject
* obj4
= 0 ;
25512 char * kwnames
[] = {
25513 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25521 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25522 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25523 if (!SWIG_IsOK(res2
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25526 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25527 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25528 if (!SWIG_IsOK(res3
)) {
25529 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25534 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25537 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25541 if (!SWIG_IsOK(ecode5
)) {
25542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
25544 arg5
= static_cast< int >(val5
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_Py_Void();
25559 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
= 0;
25561 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25562 wxWindow
*arg2
= (wxWindow
*) 0 ;
25565 int arg5
= (int) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 PyObject
* obj2
= 0 ;
25578 PyObject
* obj3
= 0 ;
25579 PyObject
* obj4
= 0 ;
25580 char * kwnames
[] = {
25581 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25586 if (!SWIG_IsOK(res1
)) {
25587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25589 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25591 if (!SWIG_IsOK(res2
)) {
25592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
25594 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25595 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25596 if (!SWIG_IsOK(res3
)) {
25597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25602 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25605 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25609 if (!SWIG_IsOK(ecode5
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
25612 arg5
= static_cast< int >(val5
);
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_Py_Void();
25627 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
= 0;
25629 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25630 wxWindow
*arg2
= (wxWindow
*) 0 ;
25631 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25636 PyObject
* obj0
= 0 ;
25637 PyObject
* obj1
= 0 ;
25638 char * kwnames
[] = {
25639 (char *) "self",(char *) "win", NULL
25642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25644 if (!SWIG_IsOK(res1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25647 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25649 if (!SWIG_IsOK(res2
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25666 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25667 PyObject
*resultobj
= 0;
25668 wxRendererNative
*result
= 0 ;
25670 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25675 result
= (wxRendererNative
*) &_result_ref
;
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25687 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25688 PyObject
*resultobj
= 0;
25689 wxRendererNative
*result
= 0 ;
25691 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25696 result
= (wxRendererNative
*) &_result_ref
;
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25708 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxRendererNative
*result
= 0 ;
25712 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25717 result
= (wxRendererNative
*) &_result_ref
;
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25729 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
= 0;
25731 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25732 wxRendererNative
*result
= 0 ;
25735 PyObject
* obj0
= 0 ;
25736 char * kwnames
[] = {
25737 (char *) "renderer", NULL
25740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25745 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25759 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25760 PyObject
*resultobj
= 0;
25761 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25762 SwigValueWrapper
<wxRendererVersion
> result
;
25765 PyObject
*swig_obj
[1] ;
25767 if (!args
) SWIG_fail
;
25768 swig_obj
[0] = args
;
25769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25770 if (!SWIG_IsOK(res1
)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25773 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25787 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25790 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25791 return SWIG_Py_Void();
25794 static PyMethodDef SwigMethods
[] = {
25795 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25796 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25797 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25798 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25799 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25800 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25804 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25805 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25806 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25807 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25808 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25813 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25816 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25817 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25818 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25819 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25821 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25824 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25825 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25826 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25827 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25829 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25830 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25831 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25832 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25833 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25834 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25835 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25842 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
25844 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
25845 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25849 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25850 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25853 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25857 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25858 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25859 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25860 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25861 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25862 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25863 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25865 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
25871 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25873 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25874 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25875 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25876 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25877 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25878 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25879 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25885 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25895 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25896 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25898 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25899 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25900 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25902 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25903 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
25908 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25910 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25911 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25912 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25913 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25919 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25920 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25922 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25923 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25925 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25927 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25928 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25929 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25930 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25933 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25937 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25938 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25940 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
25943 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25945 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
25946 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
25947 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
25948 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25953 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25954 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25959 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25960 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25966 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25970 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25980 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25983 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25984 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25986 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25987 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25988 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25989 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25990 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25991 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25992 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25993 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25994 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25995 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25996 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25997 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25998 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25999 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
26000 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
26001 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
26002 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
26004 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
26005 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
26006 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
26007 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
26008 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
26009 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
26010 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
26011 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
26021 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
26022 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
26024 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
26025 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
26026 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
26027 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
26028 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
26029 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
26030 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
26031 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
26032 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
26034 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
26035 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
26036 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
26039 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
26040 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
26041 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
26044 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
26050 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
26055 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
26056 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
26058 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
26064 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
26067 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
26068 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
26069 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
26070 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
26071 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
26072 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
26073 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
26074 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
26075 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
26076 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
26077 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
26078 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
26079 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
26091 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
26092 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
26093 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
26095 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
26096 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26097 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
26098 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
26099 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
26100 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
26101 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26102 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
26105 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
26106 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
26107 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
26108 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
26109 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
26110 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
26111 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
26112 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
26113 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
26114 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
26115 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26116 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
26117 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26118 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
26120 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
26121 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
26122 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
26123 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
26124 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
26125 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
26126 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
26127 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26128 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26129 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26130 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26134 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26135 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
26136 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
26137 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
26138 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
26139 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
26140 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
26141 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
26142 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26143 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26144 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26145 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26146 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
26148 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
26149 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
26150 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26151 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26152 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26153 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26154 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26155 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26156 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26157 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26158 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26160 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26165 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26166 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26167 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26168 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26169 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26170 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26171 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26172 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26173 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26174 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26177 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26179 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26180 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26181 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26183 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26184 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26185 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
26199 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
26201 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
26202 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
26203 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26208 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
26210 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
26211 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
26212 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
26213 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
26214 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
26219 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
26220 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
26221 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
26222 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26226 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26230 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
26231 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
26232 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
26233 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
26234 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
26235 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
26236 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
26237 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
26238 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
26239 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
26240 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
26241 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
26242 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26243 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26244 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
26245 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26246 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
26247 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26248 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
26249 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26250 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
26251 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
26252 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26253 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26254 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
26255 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
26256 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26257 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
26260 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26261 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
26262 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26263 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26264 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
26265 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
26266 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
26267 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
26268 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
26269 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
26270 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
26271 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26272 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26273 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26274 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26275 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26276 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26277 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
26278 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
26279 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26280 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26281 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
26282 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
26283 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
26284 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
26285 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
26286 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
26287 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
26288 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26289 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
26290 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
26291 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
26292 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26293 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26294 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
26295 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
26296 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
26297 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26298 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
26299 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
26300 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26301 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
26302 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
26303 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26304 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
26305 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
26306 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26307 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
26308 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
26309 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26310 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
26311 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26312 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26313 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
26314 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
26315 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
26316 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26317 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
26318 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
26319 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26320 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
26321 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
26322 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
26323 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
26324 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
26325 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
26326 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26327 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
26328 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
26329 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
26330 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26331 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
26332 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
26333 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26334 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
26335 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26336 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26337 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26338 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26339 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26340 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26341 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26342 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
26343 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26344 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
26345 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26346 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
26347 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
26348 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
26349 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
26350 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
26351 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
26352 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26353 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26354 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26355 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26356 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26357 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
26358 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
26359 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
26360 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
26361 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
26362 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
26363 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26364 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26365 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26366 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
26367 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26368 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26369 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26370 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
26371 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26372 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26373 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26374 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
26375 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
26376 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
26377 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26378 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26379 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26380 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26381 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
26382 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
26383 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
26384 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
26385 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
26386 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
26387 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
26388 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
26389 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
26390 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
26391 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
26392 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
26393 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26394 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26395 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26396 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26397 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26398 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26399 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26400 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26401 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
26402 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
26403 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26404 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
26405 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
26406 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
26407 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
26408 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
26409 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
26410 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26411 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
26412 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26413 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
26414 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
26415 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
26416 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
26417 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26418 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26419 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26420 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26421 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26422 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26423 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26424 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26425 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26426 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26427 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
26428 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
26429 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
26430 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26431 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
26432 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
26433 { NULL
, NULL
, 0, NULL
}
26437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26439 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
26440 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
26442 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
26443 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26445 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
26446 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
26448 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
26449 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
26451 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
26452 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
26454 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
26455 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
26457 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
26458 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
26460 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
26461 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
26463 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
26464 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
26466 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
26467 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
26469 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
26470 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
26472 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
26473 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
26475 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
26476 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
26478 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
26479 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
26481 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
26482 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
26484 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
26485 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
26487 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
26488 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26490 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
26491 return (void *)((wxDC
*) ((wxClientDC
*) x
));
26493 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
26494 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
26496 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
26497 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
26499 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
26500 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
26502 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
26503 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
26505 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
26506 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
26508 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
26509 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
26511 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
26512 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26514 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26515 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26517 static void *_p_wxPenTo_p_wxObject(void *x
) {
26518 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
26520 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
26521 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
26523 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26524 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26526 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26527 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26529 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26530 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26532 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26533 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26535 static void *_p_wxIconTo_p_wxObject(void *x
) {
26536 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
26538 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26539 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26541 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26542 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26544 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26545 return (void *)((wxObject
*) ((wxSizer
*) x
));
26547 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26548 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26550 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26553 static void *_p_wxEventTo_p_wxObject(void *x
) {
26554 return (void *)((wxObject
*) ((wxEvent
*) x
));
26556 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26557 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26559 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26560 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26562 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26563 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26565 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26566 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26568 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26569 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26571 static void *_p_wxDCTo_p_wxObject(void *x
) {
26572 return (void *)((wxObject
*) ((wxDC
*) x
));
26574 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26575 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26577 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26578 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26580 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26581 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26583 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26584 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26586 static void *_p_wxControlTo_p_wxObject(void *x
) {
26587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26589 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26590 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26592 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
26593 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
26595 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26596 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26598 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
26599 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
26601 static void *_p_wxRegionTo_p_wxObject(void *x
) {
26602 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
26604 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26605 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26607 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
26608 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
26610 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
26611 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
26613 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
26614 return (void *)((wxObject
*) ((wxEffects
*) x
));
26616 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26617 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26619 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26622 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
26623 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
26625 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26626 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26628 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26629 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26631 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
26632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
26634 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26635 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26637 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26640 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26641 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26643 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26644 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26646 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26647 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26649 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26650 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26652 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26653 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26655 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26656 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26658 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26659 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26661 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26662 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26664 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26665 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26667 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26670 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26673 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26674 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26676 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26677 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26679 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26680 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26682 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26685 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
26686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
26688 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26689 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26691 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26694 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26697 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26698 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26700 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
26701 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26703 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
26704 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
26706 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
26707 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
26709 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
26710 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
26712 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
26713 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
26715 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26716 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26718 static void *_p_wxImageTo_p_wxObject(void *x
) {
26719 return (void *)((wxObject
*) ((wxImage
*) x
));
26721 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26722 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26724 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
26725 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
26727 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
26728 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
26730 static void *_p_wxImageListTo_p_wxObject(void *x
) {
26731 return (void *)((wxObject
*) ((wxImageList
*) x
));
26733 static void *_p_wxCursorTo_p_wxObject(void *x
) {
26734 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
26736 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
26737 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
26739 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
26740 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
26742 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26745 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26746 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26748 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26749 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26751 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26752 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26754 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26755 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26757 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26760 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
26761 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
26763 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26764 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26766 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26767 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26769 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26770 return (void *)((wxObject
*) ((wxMask
*) x
));
26772 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26775 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26776 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26778 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26781 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26782 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26784 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26785 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26787 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26788 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26790 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26793 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26794 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26796 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26797 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26799 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26800 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26802 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26805 static void *_p_wxFontTo_p_wxObject(void *x
) {
26806 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26808 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26809 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26811 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26812 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26814 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26817 static void *_p_wxColourTo_p_wxObject(void *x
) {
26818 return (void *)((wxObject
*) ((wxColour
*) x
));
26820 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26823 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26824 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26826 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26827 return (void *)((wxWindow
*) ((wxControl
*) x
));
26829 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26830 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26832 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26833 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26835 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26836 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26837 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};
26838 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26839 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26840 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26841 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26842 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26843 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26844 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26845 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26846 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26847 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26848 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26849 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26850 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26851 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26852 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26853 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26854 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26855 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26856 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26857 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26858 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26859 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
26860 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26861 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26862 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26863 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26864 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26865 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26866 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26867 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26868 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26869 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26870 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26871 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26872 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26873 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26874 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26875 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26876 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26877 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26878 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26879 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26880 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26881 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26882 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26883 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26884 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26885 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26886 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26887 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26888 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26889 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26890 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26891 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26892 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26893 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26894 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26895 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26896 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26897 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26898 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26899 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26900 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26901 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26902 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26903 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26904 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26905 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26906 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26907 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26908 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26909 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26910 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26911 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26912 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26913 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26914 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26915 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26916 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26917 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26918 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26919 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26920 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26921 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26922 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26923 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26924 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26925 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26926 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26927 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26928 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26929 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26930 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26931 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26932 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26933 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26934 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26935 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26936 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26937 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26938 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26939 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26940 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26941 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26942 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26943 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26944 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26945 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26946 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26947 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26948 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26949 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26950 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26951 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26952 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26953 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26954 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26955 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26956 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26957 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26958 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26959 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26960 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26961 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26962 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26963 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26964 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26965 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26966 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26967 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26968 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
26969 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26970 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26971 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26973 static swig_type_info
*swig_type_initial
[] = {
26976 &_swigt__p_form_ops_t
,
26978 &_swigt__p_unsigned_char
,
26979 &_swigt__p_unsigned_int
,
26980 &_swigt__p_unsigned_long
,
26981 &_swigt__p_wxANIHandler
,
26982 &_swigt__p_wxAcceleratorTable
,
26983 &_swigt__p_wxActivateEvent
,
26984 &_swigt__p_wxBMPHandler
,
26985 &_swigt__p_wxBitmap
,
26986 &_swigt__p_wxBoxSizer
,
26987 &_swigt__p_wxBrush
,
26988 &_swigt__p_wxBrushList
,
26989 &_swigt__p_wxBufferedDC
,
26990 &_swigt__p_wxBufferedPaintDC
,
26991 &_swigt__p_wxCURHandler
,
26992 &_swigt__p_wxChildFocusEvent
,
26993 &_swigt__p_wxClientDC
,
26994 &_swigt__p_wxCloseEvent
,
26995 &_swigt__p_wxColour
,
26996 &_swigt__p_wxColourDatabase
,
26997 &_swigt__p_wxCommandEvent
,
26998 &_swigt__p_wxContextMenuEvent
,
26999 &_swigt__p_wxControl
,
27000 &_swigt__p_wxControlWithItems
,
27001 &_swigt__p_wxCursor
,
27004 &_swigt__p_wxDateEvent
,
27005 &_swigt__p_wxDisplayChangedEvent
,
27006 &_swigt__p_wxDropFilesEvent
,
27007 &_swigt__p_wxDuplexMode
,
27008 &_swigt__p_wxEffects
,
27009 &_swigt__p_wxEncodingConverter
,
27010 &_swigt__p_wxEraseEvent
,
27011 &_swigt__p_wxEvent
,
27012 &_swigt__p_wxEvtHandler
,
27013 &_swigt__p_wxFSFile
,
27014 &_swigt__p_wxFileSystem
,
27015 &_swigt__p_wxFlexGridSizer
,
27016 &_swigt__p_wxFocusEvent
,
27018 &_swigt__p_wxFontList
,
27019 &_swigt__p_wxFontMapper
,
27020 &_swigt__p_wxGBSizerItem
,
27021 &_swigt__p_wxGDIObjListBase
,
27022 &_swigt__p_wxGDIObject
,
27023 &_swigt__p_wxGIFHandler
,
27024 &_swigt__p_wxGridBagSizer
,
27025 &_swigt__p_wxGridSizer
,
27026 &_swigt__p_wxICOHandler
,
27028 &_swigt__p_wxIconBundle
,
27029 &_swigt__p_wxIconLocation
,
27030 &_swigt__p_wxIconizeEvent
,
27031 &_swigt__p_wxIdleEvent
,
27032 &_swigt__p_wxImage
,
27033 &_swigt__p_wxImageHandler
,
27034 &_swigt__p_wxImageList
,
27035 &_swigt__p_wxIndividualLayoutConstraint
,
27036 &_swigt__p_wxInitDialogEvent
,
27037 &_swigt__p_wxJPEGHandler
,
27038 &_swigt__p_wxKeyEvent
,
27039 &_swigt__p_wxLanguageInfo
,
27040 &_swigt__p_wxLayoutConstraints
,
27041 &_swigt__p_wxLocale
,
27043 &_swigt__p_wxMaximizeEvent
,
27044 &_swigt__p_wxMemoryDC
,
27046 &_swigt__p_wxMenuBar
,
27047 &_swigt__p_wxMenuEvent
,
27048 &_swigt__p_wxMenuItem
,
27049 &_swigt__p_wxMetaFile
,
27050 &_swigt__p_wxMetaFileDC
,
27051 &_swigt__p_wxMirrorDC
,
27052 &_swigt__p_wxMouseCaptureChangedEvent
,
27053 &_swigt__p_wxMouseEvent
,
27054 &_swigt__p_wxMoveEvent
,
27055 &_swigt__p_wxNativeEncodingInfo
,
27056 &_swigt__p_wxNativeFontInfo
,
27057 &_swigt__p_wxNavigationKeyEvent
,
27058 &_swigt__p_wxNcPaintEvent
,
27059 &_swigt__p_wxNotifyEvent
,
27060 &_swigt__p_wxObject
,
27061 &_swigt__p_wxPCXHandler
,
27062 &_swigt__p_wxPNGHandler
,
27063 &_swigt__p_wxPNMHandler
,
27064 &_swigt__p_wxPaintDC
,
27065 &_swigt__p_wxPaintEvent
,
27066 &_swigt__p_wxPalette
,
27067 &_swigt__p_wxPaletteChangedEvent
,
27068 &_swigt__p_wxPaperSize
,
27070 &_swigt__p_wxPenList
,
27071 &_swigt__p_wxPoint
,
27072 &_swigt__p_wxPostScriptDC
,
27073 &_swigt__p_wxPrintData
,
27074 &_swigt__p_wxPrinterDC
,
27075 &_swigt__p_wxPyApp
,
27076 &_swigt__p_wxPyCommandEvent
,
27077 &_swigt__p_wxPyEvent
,
27078 &_swigt__p_wxPyFontEnumerator
,
27079 &_swigt__p_wxPyImageHandler
,
27080 &_swigt__p_wxPySizer
,
27081 &_swigt__p_wxPyValidator
,
27082 &_swigt__p_wxQueryNewPaletteEvent
,
27084 &_swigt__p_wxRegion
,
27085 &_swigt__p_wxRegionIterator
,
27086 &_swigt__p_wxRendererNative
,
27087 &_swigt__p_wxRendererVersion
,
27088 &_swigt__p_wxScreenDC
,
27089 &_swigt__p_wxScrollEvent
,
27090 &_swigt__p_wxScrollWinEvent
,
27091 &_swigt__p_wxSetCursorEvent
,
27092 &_swigt__p_wxShowEvent
,
27094 &_swigt__p_wxSizeEvent
,
27095 &_swigt__p_wxSizer
,
27096 &_swigt__p_wxSizerItem
,
27097 &_swigt__p_wxSplitterRenderParams
,
27098 &_swigt__p_wxStaticBoxSizer
,
27099 &_swigt__p_wxStdDialogButtonSizer
,
27100 &_swigt__p_wxStockGDI
,
27101 &_swigt__p_wxString
,
27102 &_swigt__p_wxSysColourChangedEvent
,
27103 &_swigt__p_wxTIFFHandler
,
27104 &_swigt__p_wxUpdateUIEvent
,
27105 &_swigt__p_wxValidator
,
27106 &_swigt__p_wxWindow
,
27107 &_swigt__p_wxWindowCreateEvent
,
27108 &_swigt__p_wxWindowDC
,
27109 &_swigt__p_wxWindowDestroyEvent
,
27110 &_swigt__p_wxXPMHandler
,
27113 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
27114 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
27115 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
27116 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
27117 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
27118 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
27119 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
27120 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
27121 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
27122 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
27123 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}};
27124 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27125 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
27126 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
27127 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
27128 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
27129 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}};
27130 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
27131 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
27132 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
27133 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
27134 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
27135 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
27136 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
27137 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}};
27138 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}};
27139 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
27140 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
27141 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
27142 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
27143 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
27144 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
27145 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
27146 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
27147 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}};
27148 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
27149 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
27150 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
27151 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
27152 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
27153 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
27154 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27155 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27156 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
27157 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
27158 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27159 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27160 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27161 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
27162 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
27163 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
27164 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
27165 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27166 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27167 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
27168 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27169 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27170 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27171 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27172 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27173 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27174 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
27175 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
27176 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
27177 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
27178 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27179 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27180 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
27181 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
27182 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27183 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
27184 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27185 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
27186 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27187 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27188 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27189 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
27190 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27191 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27192 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27193 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
27194 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
27195 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
27196 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
27197 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27198 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27199 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27200 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27201 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
27202 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
27203 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27204 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27205 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
27206 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
27207 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
27208 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27209 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27210 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27211 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
27212 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
27213 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27214 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27215 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
27216 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27217 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27218 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27219 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27220 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27221 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
27222 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27223 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27224 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
27225 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
27226 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
27227 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_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_wxGIFHandler
, _p_wxGIFHandlerTo_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_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}};
27228 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27229 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
27230 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
27231 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
27232 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
27233 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
27234 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
27235 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
27236 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
27237 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
27238 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
27239 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
27240 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
27241 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
27242 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
27243 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
27244 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
27245 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
27246 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
27247 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
27248 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}};
27249 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
27251 static swig_cast_info
*swig_cast_initial
[] = {
27254 _swigc__p_form_ops_t
,
27256 _swigc__p_unsigned_char
,
27257 _swigc__p_unsigned_int
,
27258 _swigc__p_unsigned_long
,
27259 _swigc__p_wxANIHandler
,
27260 _swigc__p_wxAcceleratorTable
,
27261 _swigc__p_wxActivateEvent
,
27262 _swigc__p_wxBMPHandler
,
27263 _swigc__p_wxBitmap
,
27264 _swigc__p_wxBoxSizer
,
27266 _swigc__p_wxBrushList
,
27267 _swigc__p_wxBufferedDC
,
27268 _swigc__p_wxBufferedPaintDC
,
27269 _swigc__p_wxCURHandler
,
27270 _swigc__p_wxChildFocusEvent
,
27271 _swigc__p_wxClientDC
,
27272 _swigc__p_wxCloseEvent
,
27273 _swigc__p_wxColour
,
27274 _swigc__p_wxColourDatabase
,
27275 _swigc__p_wxCommandEvent
,
27276 _swigc__p_wxContextMenuEvent
,
27277 _swigc__p_wxControl
,
27278 _swigc__p_wxControlWithItems
,
27279 _swigc__p_wxCursor
,
27282 _swigc__p_wxDateEvent
,
27283 _swigc__p_wxDisplayChangedEvent
,
27284 _swigc__p_wxDropFilesEvent
,
27285 _swigc__p_wxDuplexMode
,
27286 _swigc__p_wxEffects
,
27287 _swigc__p_wxEncodingConverter
,
27288 _swigc__p_wxEraseEvent
,
27290 _swigc__p_wxEvtHandler
,
27291 _swigc__p_wxFSFile
,
27292 _swigc__p_wxFileSystem
,
27293 _swigc__p_wxFlexGridSizer
,
27294 _swigc__p_wxFocusEvent
,
27296 _swigc__p_wxFontList
,
27297 _swigc__p_wxFontMapper
,
27298 _swigc__p_wxGBSizerItem
,
27299 _swigc__p_wxGDIObjListBase
,
27300 _swigc__p_wxGDIObject
,
27301 _swigc__p_wxGIFHandler
,
27302 _swigc__p_wxGridBagSizer
,
27303 _swigc__p_wxGridSizer
,
27304 _swigc__p_wxICOHandler
,
27306 _swigc__p_wxIconBundle
,
27307 _swigc__p_wxIconLocation
,
27308 _swigc__p_wxIconizeEvent
,
27309 _swigc__p_wxIdleEvent
,
27311 _swigc__p_wxImageHandler
,
27312 _swigc__p_wxImageList
,
27313 _swigc__p_wxIndividualLayoutConstraint
,
27314 _swigc__p_wxInitDialogEvent
,
27315 _swigc__p_wxJPEGHandler
,
27316 _swigc__p_wxKeyEvent
,
27317 _swigc__p_wxLanguageInfo
,
27318 _swigc__p_wxLayoutConstraints
,
27319 _swigc__p_wxLocale
,
27321 _swigc__p_wxMaximizeEvent
,
27322 _swigc__p_wxMemoryDC
,
27324 _swigc__p_wxMenuBar
,
27325 _swigc__p_wxMenuEvent
,
27326 _swigc__p_wxMenuItem
,
27327 _swigc__p_wxMetaFile
,
27328 _swigc__p_wxMetaFileDC
,
27329 _swigc__p_wxMirrorDC
,
27330 _swigc__p_wxMouseCaptureChangedEvent
,
27331 _swigc__p_wxMouseEvent
,
27332 _swigc__p_wxMoveEvent
,
27333 _swigc__p_wxNativeEncodingInfo
,
27334 _swigc__p_wxNativeFontInfo
,
27335 _swigc__p_wxNavigationKeyEvent
,
27336 _swigc__p_wxNcPaintEvent
,
27337 _swigc__p_wxNotifyEvent
,
27338 _swigc__p_wxObject
,
27339 _swigc__p_wxPCXHandler
,
27340 _swigc__p_wxPNGHandler
,
27341 _swigc__p_wxPNMHandler
,
27342 _swigc__p_wxPaintDC
,
27343 _swigc__p_wxPaintEvent
,
27344 _swigc__p_wxPalette
,
27345 _swigc__p_wxPaletteChangedEvent
,
27346 _swigc__p_wxPaperSize
,
27348 _swigc__p_wxPenList
,
27350 _swigc__p_wxPostScriptDC
,
27351 _swigc__p_wxPrintData
,
27352 _swigc__p_wxPrinterDC
,
27354 _swigc__p_wxPyCommandEvent
,
27355 _swigc__p_wxPyEvent
,
27356 _swigc__p_wxPyFontEnumerator
,
27357 _swigc__p_wxPyImageHandler
,
27358 _swigc__p_wxPySizer
,
27359 _swigc__p_wxPyValidator
,
27360 _swigc__p_wxQueryNewPaletteEvent
,
27362 _swigc__p_wxRegion
,
27363 _swigc__p_wxRegionIterator
,
27364 _swigc__p_wxRendererNative
,
27365 _swigc__p_wxRendererVersion
,
27366 _swigc__p_wxScreenDC
,
27367 _swigc__p_wxScrollEvent
,
27368 _swigc__p_wxScrollWinEvent
,
27369 _swigc__p_wxSetCursorEvent
,
27370 _swigc__p_wxShowEvent
,
27372 _swigc__p_wxSizeEvent
,
27374 _swigc__p_wxSizerItem
,
27375 _swigc__p_wxSplitterRenderParams
,
27376 _swigc__p_wxStaticBoxSizer
,
27377 _swigc__p_wxStdDialogButtonSizer
,
27378 _swigc__p_wxStockGDI
,
27379 _swigc__p_wxString
,
27380 _swigc__p_wxSysColourChangedEvent
,
27381 _swigc__p_wxTIFFHandler
,
27382 _swigc__p_wxUpdateUIEvent
,
27383 _swigc__p_wxValidator
,
27384 _swigc__p_wxWindow
,
27385 _swigc__p_wxWindowCreateEvent
,
27386 _swigc__p_wxWindowDC
,
27387 _swigc__p_wxWindowDestroyEvent
,
27388 _swigc__p_wxXPMHandler
,
27392 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27394 static swig_const_info swig_const_table
[] = {
27395 {0, 0, 0, 0.0, 0, 0}};
27400 /* -----------------------------------------------------------------------------
27401 * Type initialization:
27402 * This problem is tough by the requirement that no dynamic
27403 * memory is used. Also, since swig_type_info structures store pointers to
27404 * swig_cast_info structures and swig_cast_info structures store pointers back
27405 * to swig_type_info structures, we need some lookup code at initialization.
27406 * The idea is that swig generates all the structures that are needed.
27407 * The runtime then collects these partially filled structures.
27408 * The SWIG_InitializeModule function takes these initial arrays out of
27409 * swig_module, and does all the lookup, filling in the swig_module.types
27410 * array with the correct data and linking the correct swig_cast_info
27411 * structures together.
27413 * The generated swig_type_info structures are assigned staticly to an initial
27414 * array. We just loop though that array, and handle each type individually.
27415 * First we lookup if this type has been already loaded, and if so, use the
27416 * loaded structure instead of the generated one. Then we have to fill in the
27417 * cast linked list. The cast data is initially stored in something like a
27418 * two-dimensional array. Each row corresponds to a type (there are the same
27419 * number of rows as there are in the swig_type_initial array). Each entry in
27420 * a column is one of the swig_cast_info structures for that type.
27421 * The cast_initial array is actually an array of arrays, because each row has
27422 * a variable number of columns. So to actually build the cast linked list,
27423 * we find the array of casts associated with the type, and loop through it
27424 * adding the casts to the list. The one last trick we need to do is making
27425 * sure the type pointer in the swig_cast_info struct is correct.
27427 * First off, we lookup the cast->type name to see if it is already loaded.
27428 * There are three cases to handle:
27429 * 1) If the cast->type has already been loaded AND the type we are adding
27430 * casting info to has not been loaded (it is in this module), THEN we
27431 * replace the cast->type pointer with the type pointer that has already
27433 * 2) If BOTH types (the one we are adding casting info to, and the
27434 * cast->type) are loaded, THEN the cast info has already been loaded by
27435 * the previous module so we just ignore it.
27436 * 3) Finally, if cast->type has not already been loaded, then we add that
27437 * swig_cast_info to the linked list (because the cast->type) pointer will
27439 * ----------------------------------------------------------------------------- */
27449 #define SWIGRUNTIME_DEBUG
27453 SWIG_InitializeModule(void *clientdata
) {
27455 swig_module_info
*module_head
;
27456 static int init_run
= 0;
27458 clientdata
= clientdata
;
27460 if (init_run
) return;
27463 /* Initialize the swig_module */
27464 swig_module
.type_initial
= swig_type_initial
;
27465 swig_module
.cast_initial
= swig_cast_initial
;
27467 /* Try and load any already created modules */
27468 module_head
= SWIG_GetModule(clientdata
);
27470 swig_module
.next
= module_head
->next
;
27471 module_head
->next
= &swig_module
;
27473 /* This is the first module loaded */
27474 swig_module
.next
= &swig_module
;
27475 SWIG_SetModule(clientdata
, &swig_module
);
27478 /* Now work on filling in swig_module.types */
27479 #ifdef SWIGRUNTIME_DEBUG
27480 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
27482 for (i
= 0; i
< swig_module
.size
; ++i
) {
27483 swig_type_info
*type
= 0;
27484 swig_type_info
*ret
;
27485 swig_cast_info
*cast
;
27487 #ifdef SWIGRUNTIME_DEBUG
27488 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27491 /* if there is another module already loaded */
27492 if (swig_module
.next
!= &swig_module
) {
27493 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
27496 /* Overwrite clientdata field */
27497 #ifdef SWIGRUNTIME_DEBUG
27498 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
27500 if (swig_module
.type_initial
[i
]->clientdata
) {
27501 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
27502 #ifdef SWIGRUNTIME_DEBUG
27503 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
27507 type
= swig_module
.type_initial
[i
];
27510 /* Insert casting types */
27511 cast
= swig_module
.cast_initial
[i
];
27512 while (cast
->type
) {
27513 /* Don't need to add information already in the list */
27515 #ifdef SWIGRUNTIME_DEBUG
27516 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
27518 if (swig_module
.next
!= &swig_module
) {
27519 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
27520 #ifdef SWIGRUNTIME_DEBUG
27521 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
27525 if (type
== swig_module
.type_initial
[i
]) {
27526 #ifdef SWIGRUNTIME_DEBUG
27527 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
27532 /* Check for casting already in the list */
27533 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
27534 #ifdef SWIGRUNTIME_DEBUG
27535 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
27537 if (!ocast
) ret
= 0;
27542 #ifdef SWIGRUNTIME_DEBUG
27543 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
27546 type
->cast
->prev
= cast
;
27547 cast
->next
= type
->cast
;
27553 /* Set entry in modules->types array equal to the type */
27554 swig_module
.types
[i
] = type
;
27556 swig_module
.types
[i
] = 0;
27558 #ifdef SWIGRUNTIME_DEBUG
27559 printf("**** SWIG_InitializeModule: Cast List ******\n");
27560 for (i
= 0; i
< swig_module
.size
; ++i
) {
27562 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
27563 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27564 while (cast
->type
) {
27565 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
27569 printf("---- Total casts: %d\n",j
);
27571 printf("**** SWIG_InitializeModule: Cast List ******\n");
27575 /* This function will propagate the clientdata field of type to
27576 * any new swig_type_info structures that have been added into the list
27577 * of equivalent types. It is like calling
27578 * SWIG_TypeClientData(type, clientdata) a second time.
27581 SWIG_PropagateClientData(void) {
27583 swig_cast_info
*equiv
;
27584 static int init_run
= 0;
27586 if (init_run
) return;
27589 for (i
= 0; i
< swig_module
.size
; i
++) {
27590 if (swig_module
.types
[i
]->clientdata
) {
27591 equiv
= swig_module
.types
[i
]->cast
;
27593 if (!equiv
->converter
) {
27594 if (equiv
->type
&& !equiv
->type
->clientdata
)
27595 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
27597 equiv
= equiv
->next
;
27617 /* Python-specific SWIG API */
27618 #define SWIG_newvarlink() SWIG_Python_newvarlink()
27619 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
27620 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
27622 /* -----------------------------------------------------------------------------
27623 * global variable support code.
27624 * ----------------------------------------------------------------------------- */
27626 typedef struct swig_globalvar
{
27627 char *name
; /* Name of global variable */
27628 PyObject
*(*get_attr
)(void); /* Return the current value */
27629 int (*set_attr
)(PyObject
*); /* Set the value */
27630 struct swig_globalvar
*next
;
27633 typedef struct swig_varlinkobject
{
27635 swig_globalvar
*vars
;
27636 } swig_varlinkobject
;
27638 SWIGINTERN PyObject
*
27639 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
27640 return PyString_FromString("<Swig global variables>");
27643 SWIGINTERN PyObject
*
27644 swig_varlink_str(swig_varlinkobject
*v
) {
27645 PyObject
*str
= PyString_FromString("(");
27646 swig_globalvar
*var
;
27647 for (var
= v
->vars
; var
; var
=var
->next
) {
27648 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
27649 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
27651 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
27656 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
27657 PyObject
*str
= swig_varlink_str(v
);
27658 fprintf(fp
,"Swig global variables ");
27659 fprintf(fp
,"%s\n", PyString_AsString(str
));
27665 swig_varlink_dealloc(swig_varlinkobject
*v
) {
27666 swig_globalvar
*var
= v
->vars
;
27668 swig_globalvar
*n
= var
->next
;
27675 SWIGINTERN PyObject
*
27676 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
27677 PyObject
*res
= NULL
;
27678 swig_globalvar
*var
= v
->vars
;
27680 if (strcmp(var
->name
,n
) == 0) {
27681 res
= (*var
->get_attr
)();
27686 if (res
== NULL
&& !PyErr_Occurred()) {
27687 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27693 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
27695 swig_globalvar
*var
= v
->vars
;
27697 if (strcmp(var
->name
,n
) == 0) {
27698 res
= (*var
->set_attr
)(p
);
27703 if (res
== 1 && !PyErr_Occurred()) {
27704 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27709 SWIGINTERN PyTypeObject
*
27710 swig_varlink_type(void) {
27711 static char varlink__doc__
[] = "Swig var link object";
27712 static PyTypeObject varlink_type
;
27713 static int type_init
= 0;
27715 const PyTypeObject tmp
27717 PyObject_HEAD_INIT(NULL
)
27718 0, /* Number of items in variable part (ob_size) */
27719 (char *)"swigvarlink", /* Type name (tp_name) */
27720 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
27721 0, /* Itemsize (tp_itemsize) */
27722 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
27723 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
27724 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
27725 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
27726 0, /* tp_compare */
27727 (reprfunc
) swig_varlink_repr
, /* tp_repr */
27728 0, /* tp_as_number */
27729 0, /* tp_as_sequence */
27730 0, /* tp_as_mapping */
27733 (reprfunc
)swig_varlink_str
, /* tp_str */
27734 0, /* tp_getattro */
27735 0, /* tp_setattro */
27736 0, /* tp_as_buffer */
27738 varlink__doc__
, /* tp_doc */
27739 0, /* tp_traverse */
27741 0, /* tp_richcompare */
27742 0, /* tp_weaklistoffset */
27743 #if PY_VERSION_HEX >= 0x02020000
27744 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
27746 #if PY_VERSION_HEX >= 0x02030000
27749 #ifdef COUNT_ALLOCS
27750 0,0,0,0 /* tp_alloc -> tp_next */
27753 varlink_type
= tmp
;
27754 varlink_type
.ob_type
= &PyType_Type
;
27757 return &varlink_type
;
27760 /* Create a variable linking object for use later */
27761 SWIGINTERN PyObject
*
27762 SWIG_Python_newvarlink(void) {
27763 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27767 return ((PyObject
*) result
);
27771 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27772 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27773 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27775 size_t size
= strlen(name
)+1;
27776 gv
->name
= (char *)malloc(size
);
27778 strncpy(gv
->name
,name
,size
);
27779 gv
->get_attr
= get_attr
;
27780 gv
->set_attr
= set_attr
;
27781 gv
->next
= v
->vars
;
27787 SWIGINTERN PyObject
*
27789 static PyObject
*_SWIG_globals
= 0;
27790 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27791 return _SWIG_globals
;
27794 /* -----------------------------------------------------------------------------
27795 * constants/methods manipulation
27796 * ----------------------------------------------------------------------------- */
27798 /* Install Constants */
27800 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27803 for (i
= 0; constants
[i
].type
; ++i
) {
27804 switch(constants
[i
].type
) {
27805 case SWIG_PY_POINTER
:
27806 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27808 case SWIG_PY_BINARY
:
27809 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27816 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27822 /* -----------------------------------------------------------------------------*/
27823 /* Fix SwigMethods to carry the callback ptrs when needed */
27824 /* -----------------------------------------------------------------------------*/
27827 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27828 swig_const_info
*const_table
,
27829 swig_type_info
**types
,
27830 swig_type_info
**types_initial
) {
27832 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27833 char *c
= methods
[i
].ml_doc
;
27834 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27836 swig_const_info
*ci
= 0;
27837 char *name
= c
+ 10;
27838 for (j
= 0; const_table
[j
].type
; ++j
) {
27839 if (strncmp(const_table
[j
].name
, name
,
27840 strlen(const_table
[j
].name
)) == 0) {
27841 ci
= &(const_table
[j
]);
27846 size_t shift
= (ci
->ptype
) - types
;
27847 swig_type_info
*ty
= types_initial
[shift
];
27848 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27849 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27850 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27853 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27855 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27857 strncpy(buff
, "swig_ptr: ", 10);
27859 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27860 methods
[i
].ml_doc
= ndoc
;
27872 /* -----------------------------------------------------------------------------*
27873 * Partial Init method
27874 * -----------------------------------------------------------------------------*/
27879 SWIGEXPORT
void SWIG_init(void) {
27882 /* Fix SwigMethods to carry the callback ptrs when needed */
27883 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27885 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27886 d
= PyModule_GetDict(m
);
27888 SWIG_InitializeModule(0);
27889 SWIG_InstallConstants(d
,swig_const_table
);
27892 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
27893 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
27894 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
27895 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27896 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27897 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27898 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27899 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27900 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27901 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27902 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27903 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27904 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27905 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27906 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27907 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27908 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27909 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27910 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27911 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27912 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27913 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27914 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27915 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27916 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27917 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27918 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27919 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27920 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27921 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27922 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27923 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27924 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27925 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27926 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27927 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27928 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27929 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27930 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27931 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27932 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27933 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27934 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27935 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27937 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27938 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27939 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27940 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27941 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27942 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27943 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27944 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27945 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27946 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27947 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27948 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27949 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27950 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27951 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27952 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27953 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27954 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27960 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27961 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27962 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27966 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27967 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27968 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27969 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27970 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27971 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27972 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
28000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
28001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
28002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
28003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
28004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
28005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
28006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
28007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
28008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
28009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
28010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
28011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
28012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
28013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
28014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
28015 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
28016 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
28017 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
28018 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
28019 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
28020 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
28021 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
28023 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
28025 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
28026 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
28027 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
28028 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
28029 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
28030 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
28031 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
28032 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
28033 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
28034 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
28035 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
28036 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
28037 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
28038 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
28039 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
28040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
28041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
28042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
28043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
28044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
28045 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
28046 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
28047 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
28048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
28049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
28050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
28051 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
28052 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
28053 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
28054 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
28055 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
28056 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
28057 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
28058 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
28059 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
28060 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
28061 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
28062 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
28063 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
28064 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
28065 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
28066 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
28067 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
28068 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
28069 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
28070 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
28071 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
28072 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
28073 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
28074 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
28075 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
28076 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
28077 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
28078 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
28079 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
28080 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
28081 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
28082 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
28083 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
28084 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
28085 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
28086 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
28087 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
28088 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
28089 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
28090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
28091 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
28092 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
28093 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
28094 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
28095 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
28096 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
28097 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
28098 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
28099 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
28100 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
28101 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
28102 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
28103 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
28104 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
28105 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
28106 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
28107 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
28108 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
28109 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
28110 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
28111 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
28112 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
28113 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
28114 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
28115 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
28116 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
28117 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
28118 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
28119 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
28120 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
28121 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
28122 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
28123 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
28124 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
28125 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
28126 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
28127 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
28128 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
28129 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
28130 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
28131 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
28132 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
28133 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
28134 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
28135 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
28136 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
28137 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
28138 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
28139 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
28140 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
28141 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
28142 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
28143 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
28144 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
28145 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
28146 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
28147 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
28148 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
28149 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
28150 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
28151 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
28152 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
28153 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
28154 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
28155 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
28156 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
28157 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
28158 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
28159 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
28160 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
28161 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
28162 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
28163 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
28164 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
28165 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
28166 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
28167 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
28168 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
28169 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
28170 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
28171 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
28172 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
28173 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
28174 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
28175 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
28176 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
28177 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
28178 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
28179 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
28180 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
28181 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
28182 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
28183 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
28184 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
28185 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
28186 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
28187 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
28188 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
28189 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
28190 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
28191 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
28192 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
28193 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
28194 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
28195 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
28196 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
28197 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
28198 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
28199 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
28200 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
28201 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
28202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
28203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
28204 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
28205 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
28206 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
28207 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
28208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
28209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
28210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
28211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
28212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
28213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
28214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
28215 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
28216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
28217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
28218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
28219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
28220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
28221 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
28222 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
28223 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
28224 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
28225 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
28226 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
28227 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
28228 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
28229 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
28230 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
28231 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
28232 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
28233 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
28234 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
28235 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
28236 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
28237 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
28238 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
28239 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
28240 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
28241 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
28242 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
28243 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
28244 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
28245 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
28246 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
28247 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
28248 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
28249 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
28250 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
28251 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
28252 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
28253 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
28254 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
28255 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
28256 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
28257 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
28258 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
28259 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
28260 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
28261 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
28262 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
28263 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
28264 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
28265 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
28266 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
28267 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
28268 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
28269 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
28270 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
28271 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
28272 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
28273 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
28274 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
28275 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
28276 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
28277 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
28278 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
28279 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
28280 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
28281 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
28282 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
28283 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
28284 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
28285 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
28286 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
28287 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
28288 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
28289 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
28290 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
28291 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
28292 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
28293 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
28294 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
28295 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
28296 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
28297 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
28298 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
28299 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
28300 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
28301 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
28302 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
28303 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
28304 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
28305 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
28306 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
28307 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
28308 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
28309 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
28310 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
28311 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
28312 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
28313 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
28314 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
28315 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
28316 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
28317 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
28318 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
28319 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
28320 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
28321 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
28322 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
28323 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
28324 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
28325 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
28326 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
28327 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
28328 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
28329 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
28330 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
28331 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
28332 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
28333 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
28334 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
28335 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
28336 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
28337 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
28338 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
28340 // Work around a chicken/egg problem in drawlist.cpp
28341 wxPyDrawList_SetAPIPtr();