1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_double swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2477 #define SWIGTYPE_p_wxBitmap swig_types[11]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2479 #define SWIGTYPE_p_wxBrush swig_types[13]
2480 #define SWIGTYPE_p_wxBrushList swig_types[14]
2481 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2482 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2485 #define SWIGTYPE_p_wxClientDC swig_types[19]
2486 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20]
2487 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2488 #define SWIGTYPE_p_wxColour swig_types[22]
2489 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2490 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2492 #define SWIGTYPE_p_wxControl swig_types[26]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2494 #define SWIGTYPE_p_wxCursor swig_types[28]
2495 #define SWIGTYPE_p_wxDC swig_types[29]
2496 #define SWIGTYPE_p_wxDash swig_types[30]
2497 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEffects swig_types[35]
2502 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2503 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2504 #define SWIGTYPE_p_wxEvent swig_types[38]
2505 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2506 #define SWIGTYPE_p_wxFSFile swig_types[40]
2507 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontList swig_types[45]
2512 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2513 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2514 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2515 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxImageList swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxLocale swig_types[68]
2535 #define SWIGTYPE_p_wxMask swig_types[69]
2536 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2543 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2544 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2549 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2558 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPalette swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2562 #define SWIGTYPE_p_wxPen swig_types[96]
2563 #define SWIGTYPE_p_wxPenList swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2568 #define SWIGTYPE_p_wxPyApp swig_types[102]
2569 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[105]
2572 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPySizer swig_types[107]
2574 #define SWIGTYPE_p_wxPyValidator swig_types[108]
2575 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109]
2576 #define SWIGTYPE_p_wxRect swig_types[110]
2577 #define SWIGTYPE_p_wxRegion swig_types[111]
2578 #define SWIGTYPE_p_wxRegionIterator swig_types[112]
2579 #define SWIGTYPE_p_wxRendererNative swig_types[113]
2580 #define SWIGTYPE_p_wxRendererVersion swig_types[114]
2581 #define SWIGTYPE_p_wxScreenDC swig_types[115]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[116]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[117]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[118]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[119]
2586 #define SWIGTYPE_p_wxSize swig_types[120]
2587 #define SWIGTYPE_p_wxSizeEvent swig_types[121]
2588 #define SWIGTYPE_p_wxSizer swig_types[122]
2589 #define SWIGTYPE_p_wxSizerItem swig_types[123]
2590 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[124]
2591 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[125]
2592 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[126]
2593 #define SWIGTYPE_p_wxStockGDI swig_types[127]
2594 #define SWIGTYPE_p_wxString swig_types[128]
2595 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[129]
2596 #define SWIGTYPE_p_wxTIFFHandler swig_types[130]
2597 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[131]
2598 #define SWIGTYPE_p_wxValidator swig_types[132]
2599 #define SWIGTYPE_p_wxWindow swig_types[133]
2600 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[134]
2601 #define SWIGTYPE_p_wxWindowDC swig_types[135]
2602 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[136]
2603 #define SWIGTYPE_p_wxXPMHandler swig_types[137]
2604 static swig_type_info
*swig_types
[139];
2605 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
2606 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2607 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2609 /* -------- TYPES TABLE (END) -------- */
2611 #if (PY_VERSION_HEX <= 0x02000000)
2612 # if !defined(SWIG_PYTHON_CLASSIC)
2613 # error "This python version requires to use swig with the '-classic' option"
2616 #if (PY_VERSION_HEX <= 0x02020000)
2617 # error "This python version requires to use swig with the '-nomodern' option"
2619 #if (PY_VERSION_HEX <= 0x02020000)
2620 # error "This python version requires to use swig with the '-nomodernargs' option"
2623 # error "This python version requires to use swig with the '-nofastunpack' option"
2626 /*-----------------------------------------------
2627 @(target):= _gdi_.so
2628 ------------------------------------------------*/
2629 #define SWIG_init init_gdi_
2631 #define SWIG_name "_gdi_"
2633 #define SWIGVERSION 0x010329
2636 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2637 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2640 #include <stdexcept>
2644 class PyObject_ptr
{
2649 PyObject_ptr() :_obj(0)
2653 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2658 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2660 if (initial_ref
) Py_XINCREF(_obj
);
2663 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2665 Py_XINCREF(item
._obj
);
2676 operator PyObject
*() const
2681 PyObject
*operator->() const
2690 struct PyObject_var
: PyObject_ptr
{
2691 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2693 PyObject_var
& operator = (PyObject
* obj
)
2703 #include "wx/wxPython/wxPython.h"
2704 #include "wx/wxPython/pyclasses.h"
2707 static const wxString
wxPyEmptyString(wxEmptyString
);
2709 #define SWIG_From_long PyInt_FromLong
2712 SWIGINTERNINLINE PyObject
*
2713 SWIG_From_int (int value
)
2715 return SWIG_From_long (value
);
2721 # define LLONG_MIN LONG_LONG_MIN
2724 # define LLONG_MAX LONG_LONG_MAX
2727 # define ULLONG_MAX ULONG_LONG_MAX
2732 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2734 if (PyNumber_Check(obj
)) {
2735 if (val
) *val
= PyInt_AsLong(obj
);
2738 return SWIG_TypeError
;
2743 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2746 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2747 return SWIG_TypeError
;
2750 *val
= (unsigned long)v
;
2756 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2759 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2760 if (SWIG_IsOK(res
)) {
2761 if ((v
> UCHAR_MAX
)) {
2762 return SWIG_OverflowError
;
2764 if (val
) *val
= static_cast< unsigned char >(v
);
2771 SWIGINTERNINLINE PyObject
*
2772 SWIG_From_unsigned_SS_long (unsigned long value
)
2774 return (value
> LONG_MAX
) ?
2775 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2779 SWIGINTERNINLINE PyObject
*
2780 SWIG_From_unsigned_SS_char (unsigned char value
)
2782 return SWIG_From_unsigned_SS_long (value
);
2785 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2786 wxColour temp
, *obj
= &temp
;
2787 if ( other
== Py_None
) return false;
2788 if ( ! wxColour_helper(other
, &obj
) ) {
2792 return self
->operator==(*obj
);
2794 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2795 wxColour temp
, *obj
= &temp
;
2796 if ( other
== Py_None
) return true;
2797 if ( ! wxColour_helper(other
, &obj
)) {
2801 return self
->operator!=(*obj
);
2803 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2804 PyObject
* rv
= PyTuple_New(3);
2810 green
= self
->Green();
2811 blue
= self
->Blue();
2813 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2814 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2815 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2818 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2819 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2823 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2826 int res
= SWIG_AsVal_long (obj
, &v
);
2827 if (SWIG_IsOK(res
)) {
2828 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2829 return SWIG_OverflowError
;
2831 if (val
) *val
= static_cast< int >(v
);
2837 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2839 int count
= self
->GetDashes(&dashes
);
2840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2841 PyObject
* retval
= PyList_New(0);
2842 for (int x
=0; x
<count
; x
++) {
2843 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2844 PyList_Append(retval
, pyint
);
2847 wxPyEndBlockThreads(blocked
);
2850 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2852 int size
= PyList_Size(pyDashes
);
2853 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2855 // black magic warning! The array of wxDashes needs to exist as
2856 // long as the pen does because wxPen does not copy the array. So
2857 // stick a copy in a Python string object and attach it to _self,
2858 // and then call SetDashes with a pointer to that array. Then
2859 // when the Python pen object is destroyed the array will be
2861 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2862 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2864 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2866 Py_DECREF(strDashes
);
2867 wxPyEndBlockThreads(blocked
);
2869 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2870 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2872 #include <wx/image.h>
2874 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2875 char** cArray
= NULL
;
2878 if (!PyList_Check(listOfStrings
)) {
2879 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2882 count
= PyList_Size(listOfStrings
);
2883 cArray
= new char*[count
];
2885 for(int x
=0; x
<count
; x
++) {
2886 // TODO: Need some validation and error checking here
2887 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2893 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2894 char** cArray
= NULL
;
2897 cArray
= ConvertListOfStrings(listOfStrings
);
2900 bmp
= new wxBitmap(cArray
);
2904 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2907 PyString_AsStringAndSize(bits
, &buf
, &length
);
2908 return new wxBitmap(buf
, width
, height
, depth
);
2910 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2911 wxSize
size(self
->GetWidth(), self
->GetHeight());
2914 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2915 wxMask
*mask
= new wxMask(*self
, colour
);
2916 self
->SetMask(mask
);
2918 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2919 self
->SetWidth(size
.x
);
2920 self
->SetHeight(size
.y
);
2922 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2924 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2926 return new wxMask(bitmap
, *wxBLACK
);
2928 return new wxMask(bitmap
, colour
);
2931 #include <wx/iconbndl.h>
2933 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2934 wxIcon
* icon
= new wxIcon();
2935 icon
->CopyFromBitmap(bmp
);
2938 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2939 char** cArray
= NULL
;
2942 cArray
= ConvertListOfStrings(listOfStrings
);
2945 icon
= new wxIcon(cArray
);
2949 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2953 return new wxIconLocation(*filename
);
2956 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2963 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2970 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2972 wxImage
img(cursorName
, type
);
2973 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2974 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2975 return new wxCursor(img
);
2977 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2982 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2985 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2986 return self
->operator bool();
2989 #include <wx/fontutil.h>
2990 #include <wx/fontmap.h>
2991 #include <wx/fontenum.h>
2995 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2997 if (obj
== Py_True
) {
2998 if (val
) *val
= true;
3000 } else if (obj
== Py_False
) {
3001 if (val
) *val
= false;
3005 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3006 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3011 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3012 return self
->ToString();
3015 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3016 static wxNativeEncodingInfo info
;
3017 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3024 SWIGINTERNINLINE PyObject
*
3025 SWIG_From_size_t (size_t value
)
3027 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3031 SWIGINTERNINLINE
int
3032 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3035 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3036 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3040 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3041 wxFontEncoding alt_enc
;
3042 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3043 return PyInt_FromLong(alt_enc
);
3049 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3050 wxNativeFontInfo nfi
;
3051 nfi
.FromString(info
);
3052 return new wxFont(nfi
);
3054 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3055 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3057 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3058 return wxFontBase::New(pixelSize
, family
,
3059 style
, weight
, underlined
,
3062 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3063 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3065 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3066 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3068 class wxPyFontEnumerator
: public wxFontEnumerator
{
3070 wxPyFontEnumerator() {}
3071 ~wxPyFontEnumerator() {}
3073 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3074 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3079 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3080 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3083 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3085 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3086 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3087 ret
= wxArrayString2PyList_helper(arr
);
3088 wxPyEndBlockThreads(blocked
);
3091 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3093 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3094 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3095 ret
= wxArrayString2PyList_helper(arr
);
3096 wxPyEndBlockThreads(blocked
);
3102 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3105 loc
= new wxLocale();
3107 loc
= new wxLocale(language
, flags
);
3108 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3109 // for the floating point conversions and such to work right.
3110 #if PY_VERSION_HEX < 0x02040000
3111 setlocale(LC_NUMERIC
, "C");
3115 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3116 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3117 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3118 // for the floating point conversions and such to work right.
3119 #if PY_VERSION_HEX < 0x02040000
3120 setlocale(LC_NUMERIC
, "C");
3124 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3125 bool rc
= self
->Init(language
, flags
);
3126 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3127 // for the floating point conversions and such to work right.
3128 #if PY_VERSION_HEX < 0x02040000
3129 setlocale(LC_NUMERIC
, "C");
3134 #include "wx/wxPython/pydrawxxx.h"
3136 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3138 self
->GetPixel(x
, y
, &col
);
3141 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3143 self
->GetPixel(pt
, &col
);
3148 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3150 if (PyNumber_Check(obj
)) {
3151 if (val
) *val
= PyFloat_AsDouble(obj
);
3154 return SWIG_TypeError
;
3157 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3159 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3162 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3164 self
->GetClippingBox(rect
);
3167 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3169 self
->GetPartialTextExtents(text
, widths
);
3173 #define SWIG_From_double PyFloat_FromDouble
3175 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3176 self
->SetLogicalOrigin(point
.x
, point
.y
);
3178 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3179 self
->SetDeviceOrigin(point
.x
, point
.y
);
3181 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3182 self
->CalcBoundingBox(point
.x
, point
.y
);
3184 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3185 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3187 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3188 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3190 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3191 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3193 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3194 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3196 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3197 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3199 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3200 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3203 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3211 #include <wx/dcbuffer.h>
3214 #include <wx/dcps.h>
3217 class wxMetaFile
: public wxObject
{
3219 wxMetaFile(const wxString
&)
3220 { wxPyRaiseNotImplemented(); }
3223 class wxMetaFileDC
: public wxClientDC
{
3225 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3226 { wxPyRaiseNotImplemented(); }
3231 class wxPrinterDC
: public wxClientDC
{
3233 wxPrinterDC(const wxPrintData
&)
3234 { wxPyRaiseNotImplemented(); }
3240 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3241 self
->AddColour(name
, wxColour(red
, green
, blue
));
3244 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3245 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3246 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3247 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3250 #include <wx/effects.h>
3253 #include "wx/renderer.h"
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3265 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3266 PyObject
*resultobj
= 0;
3267 wxGDIObject
*result
= 0 ;
3269 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3271 if (!wxPyCheckForApp()) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (wxGDIObject
*)new wxGDIObject();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3284 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3285 PyObject
*resultobj
= 0;
3286 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3289 PyObject
*swig_obj
[1] ;
3291 if (!args
) SWIG_fail
;
3293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3294 if (!SWIG_IsOK(res1
)) {
3295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3297 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 resultobj
= SWIG_Py_Void();
3312 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3313 PyObject
*resultobj
= 0;
3314 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3318 PyObject
*swig_obj
[1] ;
3320 if (!args
) SWIG_fail
;
3322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3323 if (!SWIG_IsOK(res1
)) {
3324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3326 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 result
= (bool)(arg1
)->IsNull();
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3342 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3345 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3346 return SWIG_Py_Void();
3349 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3350 return SWIG_Python_InitShadowInstance(args
);
3353 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
= 0;
3355 byte arg1
= (byte
) 0 ;
3356 byte arg2
= (byte
) 0 ;
3357 byte arg3
= (byte
) 0 ;
3358 wxColour
*result
= 0 ;
3359 unsigned char val1
;
3361 unsigned char val2
;
3363 unsigned char val3
;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3367 PyObject
* obj2
= 0 ;
3368 char * kwnames
[] = {
3369 (char *) "red",(char *) "green",(char *) "blue", NULL
3372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3374 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3375 if (!SWIG_IsOK(ecode1
)) {
3376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3378 arg1
= static_cast< byte
>(val1
);
3381 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3382 if (!SWIG_IsOK(ecode2
)) {
3383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3385 arg2
= static_cast< byte
>(val2
);
3388 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3389 if (!SWIG_IsOK(ecode3
)) {
3390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3392 arg3
= static_cast< byte
>(val3
);
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3407 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
= 0;
3409 wxString
*arg1
= 0 ;
3410 wxColour
*result
= 0 ;
3411 bool temp1
= false ;
3412 PyObject
* obj0
= 0 ;
3413 char * kwnames
[] = {
3414 (char *) "colorName", NULL
3417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3419 arg1
= wxString_in_helper(obj0
);
3420 if (arg1
== NULL
) SWIG_fail
;
3424 if (!wxPyCheckForApp()) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3445 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
= 0;
3447 unsigned long arg1
;
3448 wxColour
*result
= 0 ;
3449 unsigned long val1
;
3451 PyObject
* obj0
= 0 ;
3452 char * kwnames
[] = {
3453 (char *) "colRGB", NULL
3456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3457 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3458 if (!SWIG_IsOK(ecode1
)) {
3459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3461 arg1
= static_cast< unsigned long >(val1
);
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (wxColour
*)new wxColour(arg1
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3475 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3476 PyObject
*resultobj
= 0;
3477 wxColour
*arg1
= (wxColour
*) 0 ;
3480 PyObject
*swig_obj
[1] ;
3482 if (!args
) SWIG_fail
;
3484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3485 if (!SWIG_IsOK(res1
)) {
3486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3488 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 resultobj
= SWIG_Py_Void();
3503 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3504 PyObject
*resultobj
= 0;
3505 wxColour
*arg1
= (wxColour
*) 0 ;
3509 PyObject
*swig_obj
[1] ;
3511 if (!args
) SWIG_fail
;
3513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3514 if (!SWIG_IsOK(res1
)) {
3515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3517 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (byte
)(arg1
)->Red();
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3531 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3532 PyObject
*resultobj
= 0;
3533 wxColour
*arg1
= (wxColour
*) 0 ;
3537 PyObject
*swig_obj
[1] ;
3539 if (!args
) SWIG_fail
;
3541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3542 if (!SWIG_IsOK(res1
)) {
3543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3545 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= (byte
)(arg1
)->Green();
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3552 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3559 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3560 PyObject
*resultobj
= 0;
3561 wxColour
*arg1
= (wxColour
*) 0 ;
3565 PyObject
*swig_obj
[1] ;
3567 if (!args
) SWIG_fail
;
3569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3570 if (!SWIG_IsOK(res1
)) {
3571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3573 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (byte
)(arg1
)->Blue();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3587 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3588 PyObject
*resultobj
= 0;
3589 wxColour
*arg1
= (wxColour
*) 0 ;
3593 PyObject
*swig_obj
[1] ;
3595 if (!args
) SWIG_fail
;
3597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3598 if (!SWIG_IsOK(res1
)) {
3599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3601 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (bool)(arg1
)->Ok();
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3617 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
= 0;
3619 wxColour
*arg1
= (wxColour
*) 0 ;
3625 unsigned char val2
;
3627 unsigned char val3
;
3629 unsigned char val4
;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3633 PyObject
* obj2
= 0 ;
3634 PyObject
* obj3
= 0 ;
3635 char * kwnames
[] = {
3636 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3644 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3645 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3646 if (!SWIG_IsOK(ecode2
)) {
3647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3649 arg2
= static_cast< byte
>(val2
);
3650 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3651 if (!SWIG_IsOK(ecode3
)) {
3652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3654 arg3
= static_cast< byte
>(val3
);
3655 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3656 if (!SWIG_IsOK(ecode4
)) {
3657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3659 arg4
= static_cast< byte
>(val4
);
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 (arg1
)->Set(arg2
,arg3
,arg4
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= SWIG_Py_Void();
3673 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
= 0;
3675 wxColour
*arg1
= (wxColour
*) 0 ;
3676 unsigned long arg2
;
3679 unsigned long val2
;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3683 char * kwnames
[] = {
3684 (char *) "self",(char *) "colRGB", NULL
3687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3689 if (!SWIG_IsOK(res1
)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3692 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3693 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3694 if (!SWIG_IsOK(ecode2
)) {
3695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3697 arg2
= static_cast< unsigned long >(val2
);
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_Py_Void();
3711 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
= 0;
3713 wxColour
*arg1
= (wxColour
*) 0 ;
3714 wxString
*arg2
= 0 ;
3717 bool temp2
= false ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 char * kwnames
[] = {
3721 (char *) "self",(char *) "colourName", NULL
3724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3726 if (!SWIG_IsOK(res1
)) {
3727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3729 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3731 arg2
= wxString_in_helper(obj1
);
3732 if (arg2
== NULL
) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 (arg1
)->InitFromName((wxString
const &)*arg2
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_Py_Void();
3756 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
= 0;
3758 wxColour
*arg1
= (wxColour
*) 0 ;
3759 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3765 PyObject
* obj0
= 0 ;
3766 PyObject
* obj1
= 0 ;
3767 char * kwnames
[] = {
3768 (char *) "self",(char *) "flags", NULL
3771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3773 if (!SWIG_IsOK(res1
)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3776 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3778 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3779 if (!SWIG_IsOK(ecode2
)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3782 arg2
= static_cast< long >(val2
);
3785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3786 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3803 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3804 PyObject
*resultobj
= 0;
3805 wxColour
*arg1
= (wxColour
*) 0 ;
3809 PyObject
*swig_obj
[1] ;
3811 if (!args
) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3817 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_From_long(static_cast< long >(result
));
3831 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
= 0;
3833 wxColour
*arg1
= (wxColour
*) 0 ;
3834 PyObject
*arg2
= (PyObject
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3840 char * kwnames
[] = {
3841 (char *) "self",(char *) "other", NULL
3844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3846 if (!SWIG_IsOK(res1
)) {
3847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3849 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3852 result
= (bool)wxColour___eq__(arg1
,arg2
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3864 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
= 0;
3866 wxColour
*arg1
= (wxColour
*) 0 ;
3867 PyObject
*arg2
= (PyObject
*) 0 ;
3871 PyObject
* obj0
= 0 ;
3872 PyObject
* obj1
= 0 ;
3873 char * kwnames
[] = {
3874 (char *) "self",(char *) "other", NULL
3877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3879 if (!SWIG_IsOK(res1
)) {
3880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3882 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3885 result
= (bool)wxColour___ne__(arg1
,arg2
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3897 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxColour
*arg1
= (wxColour
*) 0 ;
3900 PyObject
*result
= 0 ;
3903 PyObject
*swig_obj
[1] ;
3905 if (!args
) SWIG_fail
;
3907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3908 if (!SWIG_IsOK(res1
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3911 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (PyObject
*)wxColour_Get(arg1
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3925 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3926 PyObject
*resultobj
= 0;
3927 wxColour
*arg1
= (wxColour
*) 0 ;
3928 unsigned long result
;
3931 PyObject
*swig_obj
[1] ;
3933 if (!args
) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3939 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (unsigned long)wxColour_GetRGB(arg1
);
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3953 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3956 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3957 return SWIG_Py_Void();
3960 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3961 return SWIG_Python_InitShadowInstance(args
);
3964 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
= 0;
3967 unsigned char *arg2
= (unsigned char *) 0 ;
3968 unsigned char *arg3
= (unsigned char *) 0 ;
3969 unsigned char *arg4
= (unsigned char *) 0 ;
3970 wxPalette
*result
= 0 ;
3979 PyObject
* obj0
= 0 ;
3980 PyObject
* obj1
= 0 ;
3981 PyObject
* obj2
= 0 ;
3982 PyObject
* obj3
= 0 ;
3983 char * kwnames
[] = {
3984 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3989 if (!SWIG_IsOK(ecode1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3992 arg1
= static_cast< int >(val1
);
3993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3994 if (!SWIG_IsOK(res2
)) {
3995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3997 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3998 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3999 if (!SWIG_IsOK(res3
)) {
4000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4002 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4003 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4004 if (!SWIG_IsOK(res4
)) {
4005 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4007 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4009 if (!wxPyCheckForApp()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4022 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 PyObject
*resultobj
= 0;
4024 wxPalette
*arg1
= (wxPalette
*) 0 ;
4027 PyObject
*swig_obj
[1] ;
4029 if (!args
) SWIG_fail
;
4031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4032 if (!SWIG_IsOK(res1
)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4035 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_Py_Void();
4050 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= 0;
4052 wxPalette
*arg1
= (wxPalette
*) 0 ;
4059 unsigned char val2
;
4061 unsigned char val3
;
4063 unsigned char val4
;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4078 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4079 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4080 if (!SWIG_IsOK(ecode2
)) {
4081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4083 arg2
= static_cast< byte
>(val2
);
4084 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4085 if (!SWIG_IsOK(ecode3
)) {
4086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4088 arg3
= static_cast< byte
>(val3
);
4089 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4090 if (!SWIG_IsOK(ecode4
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4093 arg4
= static_cast< byte
>(val4
);
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_From_int(static_cast< int >(result
));
4107 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
= 0;
4109 wxPalette
*arg1
= (wxPalette
*) 0 ;
4111 byte
*arg3
= (byte
*) 0 ;
4112 byte
*arg4
= (byte
*) 0 ;
4113 byte
*arg5
= (byte
*) 0 ;
4120 int res3
= SWIG_TMPOBJ
;
4122 int res4
= SWIG_TMPOBJ
;
4124 int res5
= SWIG_TMPOBJ
;
4125 PyObject
* obj0
= 0 ;
4126 PyObject
* obj1
= 0 ;
4127 char * kwnames
[] = {
4128 (char *) "self",(char *) "pixel", NULL
4134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4139 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4141 if (!SWIG_IsOK(ecode2
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4144 arg2
= static_cast< int >(val2
);
4146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4154 if (SWIG_IsTmpObj(res3
)) {
4155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4157 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4160 if (SWIG_IsTmpObj(res4
)) {
4161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4163 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4166 if (SWIG_IsTmpObj(res5
)) {
4167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4169 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4178 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4179 PyObject
*resultobj
= 0;
4180 wxPalette
*arg1
= (wxPalette
*) 0 ;
4184 PyObject
*swig_obj
[1] ;
4186 if (!args
) SWIG_fail
;
4188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4189 if (!SWIG_IsOK(res1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4192 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_From_int(static_cast< int >(result
));
4206 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4207 PyObject
*resultobj
= 0;
4208 wxPalette
*arg1
= (wxPalette
*) 0 ;
4212 PyObject
*swig_obj
[1] ;
4214 if (!args
) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4220 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (bool)(arg1
)->Ok();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4240 return SWIG_Py_Void();
4243 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4244 return SWIG_Python_InitShadowInstance(args
);
4247 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
= 0;
4249 wxColour
*arg1
= 0 ;
4250 int arg2
= (int) 1 ;
4251 int arg3
= (int) wxSOLID
;
4258 PyObject
* obj0
= 0 ;
4259 PyObject
* obj1
= 0 ;
4260 PyObject
* obj2
= 0 ;
4261 char * kwnames
[] = {
4262 (char *) "colour",(char *) "width",(char *) "style", NULL
4265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4268 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4272 if (!SWIG_IsOK(ecode2
)) {
4273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4275 arg2
= static_cast< int >(val2
);
4278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4279 if (!SWIG_IsOK(ecode3
)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4282 arg3
= static_cast< int >(val3
);
4285 if (!wxPyCheckForApp()) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4298 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxPen
*arg1
= (wxPen
*) 0 ;
4303 PyObject
*swig_obj
[1] ;
4305 if (!args
) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4311 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_Py_Void();
4326 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 PyObject
*resultobj
= 0;
4328 wxPen
*arg1
= (wxPen
*) 0 ;
4332 PyObject
*swig_obj
[1] ;
4334 if (!args
) SWIG_fail
;
4336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4337 if (!SWIG_IsOK(res1
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4340 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (int)(arg1
)->GetCap();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_From_int(static_cast< int >(result
));
4354 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4355 PyObject
*resultobj
= 0;
4356 wxPen
*arg1
= (wxPen
*) 0 ;
4360 PyObject
*swig_obj
[1] ;
4362 if (!args
) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4368 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (arg1
)->GetColour();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4382 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4383 PyObject
*resultobj
= 0;
4384 wxPen
*arg1
= (wxPen
*) 0 ;
4388 PyObject
*swig_obj
[1] ;
4390 if (!args
) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4396 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (int)(arg1
)->GetJoin();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_From_int(static_cast< int >(result
));
4410 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4411 PyObject
*resultobj
= 0;
4412 wxPen
*arg1
= (wxPen
*) 0 ;
4416 PyObject
*swig_obj
[1] ;
4418 if (!args
) SWIG_fail
;
4420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4421 if (!SWIG_IsOK(res1
)) {
4422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4424 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (int)(arg1
)->GetStyle();
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_From_int(static_cast< int >(result
));
4438 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4439 PyObject
*resultobj
= 0;
4440 wxPen
*arg1
= (wxPen
*) 0 ;
4444 PyObject
*swig_obj
[1] ;
4446 if (!args
) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4452 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= (int)(arg1
)->GetWidth();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_From_int(static_cast< int >(result
));
4466 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4467 PyObject
*resultobj
= 0;
4468 wxPen
*arg1
= (wxPen
*) 0 ;
4472 PyObject
*swig_obj
[1] ;
4474 if (!args
) SWIG_fail
;
4476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4477 if (!SWIG_IsOK(res1
)) {
4478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4480 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 result
= (bool)(arg1
)->Ok();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4496 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= 0;
4498 wxPen
*arg1
= (wxPen
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 char * kwnames
[] = {
4507 (char *) "self",(char *) "cap_style", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4512 if (!SWIG_IsOK(res1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4515 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4517 if (!SWIG_IsOK(ecode2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4520 arg2
= static_cast< int >(val2
);
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetCap(arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_Py_Void();
4534 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
= 0;
4536 wxPen
*arg1
= (wxPen
*) 0 ;
4537 wxColour
*arg2
= 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4543 char * kwnames
[] = {
4544 (char *) "self",(char *) "colour", NULL
4547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4549 if (!SWIG_IsOK(res1
)) {
4550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4552 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 (arg1
)->SetColour(*arg2
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= SWIG_Py_Void();
4570 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxPen
*arg1
= (wxPen
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4579 PyObject
* obj1
= 0 ;
4580 char * kwnames
[] = {
4581 (char *) "self",(char *) "join_style", NULL
4584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4589 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4591 if (!SWIG_IsOK(ecode2
)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4594 arg2
= static_cast< int >(val2
);
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 (arg1
)->SetJoin(arg2
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= SWIG_Py_Void();
4608 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= 0;
4610 wxPen
*arg1
= (wxPen
*) 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4618 char * kwnames
[] = {
4619 (char *) "self",(char *) "style", NULL
4622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4624 if (!SWIG_IsOK(res1
)) {
4625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4627 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4629 if (!SWIG_IsOK(ecode2
)) {
4630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4632 arg2
= static_cast< int >(val2
);
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 (arg1
)->SetStyle(arg2
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_Py_Void();
4646 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= 0;
4648 wxPen
*arg1
= (wxPen
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 char * kwnames
[] = {
4657 (char *) "self",(char *) "width", NULL
4660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4662 if (!SWIG_IsOK(res1
)) {
4663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4665 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4667 if (!SWIG_IsOK(ecode2
)) {
4668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4670 arg2
= static_cast< int >(val2
);
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 (arg1
)->SetWidth(arg2
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_Py_Void();
4684 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
= 0;
4686 wxPen
*arg1
= (wxPen
*) 0 ;
4688 wxDash
*arg3
= (wxDash
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4692 PyObject
* obj1
= 0 ;
4693 char * kwnames
[] = {
4694 (char *) "self",(char *) "dashes", NULL
4697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4699 if (!SWIG_IsOK(res1
)) {
4700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4702 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4704 arg2
= PyList_Size(obj1
);
4705 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4706 if (arg3
== NULL
) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetDashes(arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_Py_Void();
4716 if (arg3
) delete [] arg3
;
4721 if (arg3
) delete [] arg3
;
4727 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4728 PyObject
*resultobj
= 0;
4729 wxPen
*arg1
= (wxPen
*) 0 ;
4730 PyObject
*result
= 0 ;
4733 PyObject
*swig_obj
[1] ;
4735 if (!args
) SWIG_fail
;
4737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4738 if (!SWIG_IsOK(res1
)) {
4739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4741 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4755 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
= 0;
4757 wxPen
*arg1
= (wxPen
*) 0 ;
4758 PyObject
*arg2
= (PyObject
*) 0 ;
4759 PyObject
*arg3
= (PyObject
*) 0 ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 PyObject
* obj2
= 0 ;
4765 char * kwnames
[] = {
4766 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4771 if (!SWIG_IsOK(res1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4774 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 wxPen__SetDashes(arg1
,arg2
,arg3
);
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_Py_Void();
4790 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4791 PyObject
*resultobj
= 0;
4792 wxPen
*arg1
= (wxPen
*) 0 ;
4796 PyObject
*swig_obj
[1] ;
4798 if (!args
) SWIG_fail
;
4800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4801 if (!SWIG_IsOK(res1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4804 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_From_int(static_cast< int >(result
));
4818 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
= 0;
4820 wxPen
*arg1
= (wxPen
*) 0 ;
4821 wxPen
*arg2
= (wxPen
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4829 char * kwnames
[] = {
4830 (char *) "self",(char *) "other", NULL
4833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4838 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4840 if (!SWIG_IsOK(res2
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4843 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4859 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
= 0;
4861 wxPen
*arg1
= (wxPen
*) 0 ;
4862 wxPen
*arg2
= (wxPen
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4869 PyObject
* obj1
= 0 ;
4870 char * kwnames
[] = {
4871 (char *) "self",(char *) "other", NULL
4874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4879 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4881 if (!SWIG_IsOK(res2
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4884 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4900 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4904 return SWIG_Py_Void();
4907 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4908 return SWIG_Python_InitShadowInstance(args
);
4911 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
= 0;
4913 wxColour
*arg1
= 0 ;
4914 int arg2
= (int) wxSOLID
;
4915 wxBrush
*result
= 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4921 char * kwnames
[] = {
4922 (char *) "colour",(char *) "style", NULL
4925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4932 if (!SWIG_IsOK(ecode2
)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4935 arg2
= static_cast< int >(val2
);
4938 if (!wxPyCheckForApp()) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
4951 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
= 0;
4953 wxBitmap
*arg1
= 0 ;
4954 wxBrush
*result
= 0 ;
4957 PyObject
* obj0
= 0 ;
4958 char * kwnames
[] = {
4959 (char *) "stippleBitmap", NULL
4962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
4963 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4964 if (!SWIG_IsOK(res1
)) {
4965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
4970 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
4972 if (!wxPyCheckForApp()) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
4985 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4987 wxBrush
*arg1
= (wxBrush
*) 0 ;
4990 PyObject
*swig_obj
[1] ;
4992 if (!args
) SWIG_fail
;
4994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
4995 if (!SWIG_IsOK(res1
)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
4998 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= SWIG_Py_Void();
5013 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
= 0;
5015 wxBrush
*arg1
= (wxBrush
*) 0 ;
5016 wxColour
*arg2
= 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "self",(char *) "col", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5031 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetColour((wxColour
const &)*arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_Py_Void();
5049 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
= 0;
5051 wxBrush
*arg1
= (wxBrush
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 char * kwnames
[] = {
5060 (char *) "self",(char *) "style", NULL
5063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5065 if (!SWIG_IsOK(res1
)) {
5066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5068 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5070 if (!SWIG_IsOK(ecode2
)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5073 arg2
= static_cast< int >(val2
);
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->SetStyle(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 resultobj
= SWIG_Py_Void();
5087 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
= 0;
5089 wxBrush
*arg1
= (wxBrush
*) 0 ;
5090 wxBitmap
*arg2
= 0 ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5097 char * kwnames
[] = {
5098 (char *) "self",(char *) "stipple", NULL
5101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5103 if (!SWIG_IsOK(res1
)) {
5104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5106 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5108 if (!SWIG_IsOK(res2
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5114 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_Py_Void();
5128 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5129 PyObject
*resultobj
= 0;
5130 wxBrush
*arg1
= (wxBrush
*) 0 ;
5134 PyObject
*swig_obj
[1] ;
5136 if (!args
) SWIG_fail
;
5138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5139 if (!SWIG_IsOK(res1
)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5142 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 result
= ((wxBrush
const *)arg1
)->GetColour();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5156 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5157 PyObject
*resultobj
= 0;
5158 wxBrush
*arg1
= (wxBrush
*) 0 ;
5162 PyObject
*swig_obj
[1] ;
5164 if (!args
) SWIG_fail
;
5166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5167 if (!SWIG_IsOK(res1
)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5170 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_From_int(static_cast< int >(result
));
5184 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5185 PyObject
*resultobj
= 0;
5186 wxBrush
*arg1
= (wxBrush
*) 0 ;
5187 wxBitmap
*result
= 0 ;
5190 PyObject
*swig_obj
[1] ;
5192 if (!args
) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5198 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5212 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5213 PyObject
*resultobj
= 0;
5214 wxBrush
*arg1
= (wxBrush
*) 0 ;
5218 PyObject
*swig_obj
[1] ;
5220 if (!args
) SWIG_fail
;
5222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5223 if (!SWIG_IsOK(res1
)) {
5224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5226 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5230 wxPyEndAllowThreads(__tstate
);
5231 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5242 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5243 PyObject
*resultobj
= 0;
5244 wxBrush
*arg1
= (wxBrush
*) 0 ;
5248 PyObject
*swig_obj
[1] ;
5250 if (!args
) SWIG_fail
;
5252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5253 if (!SWIG_IsOK(res1
)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5256 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= (bool)(arg1
)->Ok();
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5272 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5275 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5276 return SWIG_Py_Void();
5279 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 return SWIG_Python_InitShadowInstance(args
);
5283 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
= 0;
5285 wxString
*arg1
= 0 ;
5286 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5287 wxBitmap
*result
= 0 ;
5288 bool temp1
= false ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5293 char * kwnames
[] = {
5294 (char *) "name",(char *) "type", NULL
5297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5299 arg1
= wxString_in_helper(obj0
);
5300 if (arg1
== NULL
) SWIG_fail
;
5304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5305 if (!SWIG_IsOK(ecode2
)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5308 arg2
= static_cast< wxBitmapType
>(val2
);
5311 if (!wxPyCheckForApp()) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5332 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5333 PyObject
*resultobj
= 0;
5334 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5337 PyObject
*swig_obj
[1] ;
5339 if (!args
) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5345 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5364 int arg3
= (int) -1 ;
5365 wxBitmap
*result
= 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5374 PyObject
* obj2
= 0 ;
5375 char * kwnames
[] = {
5376 (char *) "width",(char *) "height",(char *) "depth", NULL
5379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5381 if (!SWIG_IsOK(ecode1
)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5384 arg1
= static_cast< int >(val1
);
5385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5386 if (!SWIG_IsOK(ecode2
)) {
5387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5389 arg2
= static_cast< int >(val2
);
5391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5392 if (!SWIG_IsOK(ecode3
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5395 arg3
= static_cast< int >(val3
);
5398 if (!wxPyCheckForApp()) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5411 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
= 0;
5414 wxBitmap
*result
= 0 ;
5417 PyObject
* obj0
= 0 ;
5418 char * kwnames
[] = {
5419 (char *) "icon", NULL
5422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5423 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5424 if (!SWIG_IsOK(res1
)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5430 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5445 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5448 int arg2
= (int) -1 ;
5449 wxBitmap
*result
= 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "image",(char *) "depth", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5468 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5471 if (!SWIG_IsOK(ecode2
)) {
5472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5474 arg2
= static_cast< int >(val2
);
5477 if (!wxPyCheckForApp()) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5490 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
= 0;
5492 PyObject
*arg1
= (PyObject
*) 0 ;
5493 wxBitmap
*result
= 0 ;
5494 PyObject
* obj0
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "listOfStrings", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5502 if (!wxPyCheckForApp()) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5515 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
*resultobj
= 0;
5517 PyObject
*arg1
= (PyObject
*) 0 ;
5520 int arg4
= (int) 1 ;
5521 wxBitmap
*result
= 0 ;
5528 PyObject
* obj0
= 0 ;
5529 PyObject
* obj1
= 0 ;
5530 PyObject
* obj2
= 0 ;
5531 PyObject
* obj3
= 0 ;
5532 char * kwnames
[] = {
5533 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5539 if (!SWIG_IsOK(ecode2
)) {
5540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5542 arg2
= static_cast< int >(val2
);
5543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5544 if (!SWIG_IsOK(ecode3
)) {
5545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5547 arg3
= static_cast< int >(val3
);
5549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5550 if (!SWIG_IsOK(ecode4
)) {
5551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5553 arg4
= static_cast< int >(val4
);
5556 if (!wxPyCheckForApp()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5569 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5570 PyObject
*resultobj
= 0;
5571 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5575 PyObject
*swig_obj
[1] ;
5577 if (!args
) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5583 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (bool)(arg1
)->Ok();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5599 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5600 PyObject
*resultobj
= 0;
5601 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5605 PyObject
*swig_obj
[1] ;
5607 if (!args
) SWIG_fail
;
5609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5610 if (!SWIG_IsOK(res1
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5613 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (int)(arg1
)->GetWidth();
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_From_int(static_cast< int >(result
));
5627 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5628 PyObject
*resultobj
= 0;
5629 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5633 PyObject
*swig_obj
[1] ;
5635 if (!args
) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5641 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (int)(arg1
)->GetHeight();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= SWIG_From_int(static_cast< int >(result
));
5655 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 PyObject
*resultobj
= 0;
5657 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5661 PyObject
*swig_obj
[1] ;
5663 if (!args
) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (int)(arg1
)->GetDepth();
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_From_int(static_cast< int >(result
));
5683 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5684 PyObject
*resultobj
= 0;
5685 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5689 PyObject
*swig_obj
[1] ;
5691 if (!args
) SWIG_fail
;
5693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5694 if (!SWIG_IsOK(res1
)) {
5695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= wxBitmap_GetSize(arg1
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5711 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5712 PyObject
*resultobj
= 0;
5713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5714 SwigValueWrapper
<wxImage
> result
;
5717 PyObject
*swig_obj
[1] ;
5719 if (!args
) SWIG_fail
;
5721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5722 if (!SWIG_IsOK(res1
)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5725 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5739 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5740 PyObject
*resultobj
= 0;
5741 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5742 wxMask
*result
= 0 ;
5745 PyObject
*swig_obj
[1] ;
5747 if (!args
) SWIG_fail
;
5749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5750 if (!SWIG_IsOK(res1
)) {
5751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5753 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5767 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
= 0;
5769 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5770 wxMask
*arg2
= (wxMask
*) 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5776 char * kwnames
[] = {
5777 (char *) "self",(char *) "mask", NULL
5780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5786 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5787 if (!SWIG_IsOK(res2
)) {
5788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 (arg1
)->SetMask(arg2
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5796 resultobj
= SWIG_Py_Void();
5803 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
= 0;
5805 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5806 wxColour
*arg2
= 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 char * kwnames
[] = {
5813 (char *) "self",(char *) "colour", NULL
5816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5818 if (!SWIG_IsOK(res1
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5821 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5824 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= SWIG_Py_Void();
5839 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
= 0;
5841 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5843 SwigValueWrapper
<wxBitmap
> result
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5849 char * kwnames
[] = {
5850 (char *) "self",(char *) "rect", NULL
5853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5855 if (!SWIG_IsOK(res1
)) {
5856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5858 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5876 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5878 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5879 wxString
*arg2
= 0 ;
5881 wxPalette
*arg4
= (wxPalette
*) NULL
;
5885 bool temp2
= false ;
5890 PyObject
* obj0
= 0 ;
5891 PyObject
* obj1
= 0 ;
5892 PyObject
* obj2
= 0 ;
5893 PyObject
* obj3
= 0 ;
5894 char * kwnames
[] = {
5895 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
5898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5905 arg2
= wxString_in_helper(obj1
);
5906 if (arg2
== NULL
) SWIG_fail
;
5909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5910 if (!SWIG_IsOK(ecode3
)) {
5911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5913 arg3
= static_cast< wxBitmapType
>(val3
);
5915 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5916 if (!SWIG_IsOK(res4
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
5919 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5946 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5947 wxString
*arg2
= 0 ;
5952 bool temp2
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 char * kwnames
[] = {
5959 (char *) "self",(char *) "name",(char *) "type", NULL
5962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
5967 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5969 arg2
= wxString_in_helper(obj1
);
5970 if (arg2
== NULL
) SWIG_fail
;
5973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5974 if (!SWIG_IsOK(ecode3
)) {
5975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
5977 arg3
= static_cast< wxBitmapType
>(val3
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6001 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6002 PyObject
*resultobj
= 0;
6003 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6004 wxPalette
*result
= 0 ;
6007 PyObject
*swig_obj
[1] ;
6009 if (!args
) SWIG_fail
;
6011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6012 if (!SWIG_IsOK(res1
)) {
6013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6029 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
= 0;
6031 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6038 PyObject
* obj0
= 0 ;
6039 PyObject
* obj1
= 0 ;
6040 char * kwnames
[] = {
6041 (char *) "self",(char *) "icon", NULL
6044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6046 if (!SWIG_IsOK(res1
)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6049 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6051 if (!SWIG_IsOK(res2
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6057 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= 0;
6075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 char * kwnames
[] = {
6084 (char *) "self",(char *) "height", NULL
6087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6089 if (!SWIG_IsOK(res1
)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6092 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6094 if (!SWIG_IsOK(ecode2
)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6097 arg2
= static_cast< int >(val2
);
6099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6100 (arg1
)->SetHeight(arg2
);
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= SWIG_Py_Void();
6111 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6121 char * kwnames
[] = {
6122 (char *) "self",(char *) "width", NULL
6125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6127 if (!SWIG_IsOK(res1
)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6130 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6132 if (!SWIG_IsOK(ecode2
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6135 arg2
= static_cast< int >(val2
);
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 (arg1
)->SetWidth(arg2
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_Py_Void();
6149 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
= 0;
6151 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6159 char * kwnames
[] = {
6160 (char *) "self",(char *) "depth", NULL
6163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6165 if (!SWIG_IsOK(res1
)) {
6166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6170 if (!SWIG_IsOK(ecode2
)) {
6171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6173 arg2
= static_cast< int >(val2
);
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetDepth(arg2
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_Py_Void();
6187 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= 0;
6189 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 char * kwnames
[] = {
6197 (char *) "self",(char *) "size", NULL
6200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6208 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_Py_Void();
6223 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
= 0;
6225 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6226 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6234 char * kwnames
[] = {
6235 (char *) "self",(char *) "other", NULL
6238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6240 if (!SWIG_IsOK(res1
)) {
6241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6243 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6245 if (!SWIG_IsOK(res2
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6264 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6267 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "self",(char *) "other", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6284 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6285 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6286 if (!SWIG_IsOK(res2
)) {
6287 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6289 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6305 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6308 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6309 return SWIG_Py_Void();
6312 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6313 return SWIG_Python_InitShadowInstance(args
);
6316 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
= 0;
6318 wxBitmap
*arg1
= 0 ;
6319 wxColour
const &arg2_defvalue
= wxNullColour
;
6320 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6321 wxMask
*result
= 0 ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "bitmap",(char *) "colour", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6339 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6343 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6347 if (!wxPyCheckForApp()) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6360 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6361 PyObject
*resultobj
= 0;
6362 wxMask
*arg1
= (wxMask
*) 0 ;
6365 PyObject
*swig_obj
[1] ;
6367 if (!args
) SWIG_fail
;
6369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6370 if (!SWIG_IsOK(res1
)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6373 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_Py_Void();
6388 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6391 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6392 return SWIG_Py_Void();
6395 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6396 return SWIG_Python_InitShadowInstance(args
);
6399 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
= 0;
6401 wxString
*arg1
= 0 ;
6403 int arg3
= (int) -1 ;
6404 int arg4
= (int) -1 ;
6405 wxIcon
*result
= 0 ;
6406 bool temp1
= false ;
6413 PyObject
* obj0
= 0 ;
6414 PyObject
* obj1
= 0 ;
6415 PyObject
* obj2
= 0 ;
6416 PyObject
* obj3
= 0 ;
6417 char * kwnames
[] = {
6418 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6423 arg1
= wxString_in_helper(obj0
);
6424 if (arg1
== NULL
) SWIG_fail
;
6427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6428 if (!SWIG_IsOK(ecode2
)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6431 arg2
= static_cast< wxBitmapType
>(val2
);
6433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6434 if (!SWIG_IsOK(ecode3
)) {
6435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6437 arg3
= static_cast< int >(val3
);
6440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6441 if (!SWIG_IsOK(ecode4
)) {
6442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6444 arg4
= static_cast< int >(val4
);
6447 if (!wxPyCheckForApp()) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6468 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6469 PyObject
*resultobj
= 0;
6470 wxIcon
*arg1
= (wxIcon
*) 0 ;
6473 PyObject
*swig_obj
[1] ;
6475 if (!args
) SWIG_fail
;
6477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6478 if (!SWIG_IsOK(res1
)) {
6479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6481 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_Py_Void();
6496 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxIcon
*result
= 0 ;
6500 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6502 if (!wxPyCheckForApp()) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxIcon
*)new wxIcon();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6515 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
= 0;
6517 wxIconLocation
*arg1
= 0 ;
6518 wxIcon
*result
= 0 ;
6521 PyObject
* obj0
= 0 ;
6522 char * kwnames
[] = {
6523 (char *) "loc", NULL
6526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6527 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6528 if (!SWIG_IsOK(res1
)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6534 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6536 if (!wxPyCheckForApp()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6549 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
= 0;
6551 wxBitmap
*arg1
= 0 ;
6552 wxIcon
*result
= 0 ;
6555 PyObject
* obj0
= 0 ;
6556 char * kwnames
[] = {
6557 (char *) "bmp", NULL
6560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6561 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6562 if (!SWIG_IsOK(res1
)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6568 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6570 if (!wxPyCheckForApp()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6583 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
= 0;
6585 PyObject
*arg1
= (PyObject
*) 0 ;
6586 wxIcon
*result
= 0 ;
6587 PyObject
* obj0
= 0 ;
6588 char * kwnames
[] = {
6589 (char *) "listOfStrings", NULL
6592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6595 if (!wxPyCheckForApp()) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxIcon
*)new_wxIcon(arg1
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6608 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxIcon
*arg1
= (wxIcon
*) 0 ;
6611 wxString
*arg2
= 0 ;
6616 bool temp2
= false ;
6619 PyObject
* obj0
= 0 ;
6620 PyObject
* obj1
= 0 ;
6621 PyObject
* obj2
= 0 ;
6622 char * kwnames
[] = {
6623 (char *) "self",(char *) "name",(char *) "type", NULL
6626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6628 if (!SWIG_IsOK(res1
)) {
6629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6631 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6633 arg2
= wxString_in_helper(obj1
);
6634 if (arg2
== NULL
) SWIG_fail
;
6637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6638 if (!SWIG_IsOK(ecode3
)) {
6639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6641 arg3
= static_cast< wxBitmapType
>(val3
);
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6665 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6666 PyObject
*resultobj
= 0;
6667 wxIcon
*arg1
= (wxIcon
*) 0 ;
6671 PyObject
*swig_obj
[1] ;
6673 if (!args
) SWIG_fail
;
6675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6676 if (!SWIG_IsOK(res1
)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6679 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (bool)(arg1
)->Ok();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6696 PyObject
*resultobj
= 0;
6697 wxIcon
*arg1
= (wxIcon
*) 0 ;
6701 PyObject
*swig_obj
[1] ;
6703 if (!args
) SWIG_fail
;
6705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6706 if (!SWIG_IsOK(res1
)) {
6707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6709 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (int)(arg1
)->GetWidth();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_From_int(static_cast< int >(result
));
6723 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6724 PyObject
*resultobj
= 0;
6725 wxIcon
*arg1
= (wxIcon
*) 0 ;
6729 PyObject
*swig_obj
[1] ;
6731 if (!args
) SWIG_fail
;
6733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6734 if (!SWIG_IsOK(res1
)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6737 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (int)(arg1
)->GetHeight();
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= SWIG_From_int(static_cast< int >(result
));
6751 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6752 PyObject
*resultobj
= 0;
6753 wxIcon
*arg1
= (wxIcon
*) 0 ;
6757 PyObject
*swig_obj
[1] ;
6759 if (!args
) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6765 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (int)(arg1
)->GetDepth();
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_From_int(static_cast< int >(result
));
6779 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxIcon
*arg1
= (wxIcon
*) 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6789 char * kwnames
[] = {
6790 (char *) "self",(char *) "w", NULL
6793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6798 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6800 if (!SWIG_IsOK(ecode2
)) {
6801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
6803 arg2
= static_cast< int >(val2
);
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->SetWidth(arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_Py_Void();
6817 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
= 0;
6819 wxIcon
*arg1
= (wxIcon
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 char * kwnames
[] = {
6828 (char *) "self",(char *) "h", NULL
6831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
6836 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6838 if (!SWIG_IsOK(ecode2
)) {
6839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
6841 arg2
= static_cast< int >(val2
);
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 (arg1
)->SetHeight(arg2
);
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_Py_Void();
6855 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
= 0;
6857 wxIcon
*arg1
= (wxIcon
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "d", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
6874 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6876 if (!SWIG_IsOK(ecode2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
6879 arg2
= static_cast< int >(val2
);
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 (arg1
)->SetDepth(arg2
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= SWIG_Py_Void();
6893 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
= 0;
6895 wxIcon
*arg1
= (wxIcon
*) 0 ;
6896 wxBitmap
*arg2
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 char * kwnames
[] = {
6904 (char *) "self",(char *) "bmp", NULL
6907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
6912 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6914 if (!SWIG_IsOK(res2
)) {
6915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
6920 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_Py_Void();
6934 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6937 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
6938 return SWIG_Py_Void();
6941 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6942 return SWIG_Python_InitShadowInstance(args
);
6945 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
= 0;
6947 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
6948 int arg2
= (int) 0 ;
6949 wxIconLocation
*result
= 0 ;
6950 bool temp1
= false ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 char * kwnames
[] = {
6956 (char *) "filename",(char *) "num", NULL
6959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6962 arg1
= wxString_in_helper(obj0
);
6963 if (arg1
== NULL
) SWIG_fail
;
6968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6969 if (!SWIG_IsOK(ecode2
)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
6972 arg2
= static_cast< int >(val2
);
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
6995 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6996 PyObject
*resultobj
= 0;
6997 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7000 PyObject
*swig_obj
[1] ;
7002 if (!args
) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7008 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_Py_Void();
7023 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7024 PyObject
*resultobj
= 0;
7025 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7029 PyObject
*swig_obj
[1] ;
7031 if (!args
) SWIG_fail
;
7033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7034 if (!SWIG_IsOK(res1
)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7037 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7053 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
= 0;
7055 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7056 wxString
*arg2
= 0 ;
7059 bool temp2
= false ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 char * kwnames
[] = {
7063 (char *) "self",(char *) "filename", NULL
7066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7071 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7073 arg2
= wxString_in_helper(obj1
);
7074 if (arg2
== NULL
) SWIG_fail
;
7078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7079 (arg1
)->SetFileName((wxString
const &)*arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7101 wxString
*result
= 0 ;
7104 PyObject
*swig_obj
[1] ;
7106 if (!args
) SWIG_fail
;
7108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7109 if (!SWIG_IsOK(res1
)) {
7110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7112 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7117 result
= (wxString
*) &_result_ref
;
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7126 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7135 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
= 0;
7137 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7145 char * kwnames
[] = {
7146 (char *) "self",(char *) "num", NULL
7149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7151 if (!SWIG_IsOK(res1
)) {
7152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7154 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7156 if (!SWIG_IsOK(ecode2
)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7159 arg2
= static_cast< int >(val2
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxIconLocation_SetIndex(arg1
,arg2
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_Py_Void();
7173 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7187 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (int)wxIconLocation_GetIndex(arg1
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_From_int(static_cast< int >(result
));
7201 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7204 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7205 return SWIG_Py_Void();
7208 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7209 return SWIG_Python_InitShadowInstance(args
);
7212 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7213 PyObject
*resultobj
= 0;
7214 wxIconBundle
*result
= 0 ;
7216 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 result
= (wxIconBundle
*)new wxIconBundle();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7230 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7232 wxString
*arg1
= 0 ;
7234 wxIconBundle
*result
= 0 ;
7235 bool temp1
= false ;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 char * kwnames
[] = {
7241 (char *) "file",(char *) "type", NULL
7244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7246 arg1
= wxString_in_helper(obj0
);
7247 if (arg1
== NULL
) SWIG_fail
;
7250 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7251 if (!SWIG_IsOK(ecode2
)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7254 arg2
= static_cast< long >(val2
);
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7276 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
= 0;
7279 wxIconBundle
*result
= 0 ;
7282 PyObject
* obj0
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "icon", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7288 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7289 if (!SWIG_IsOK(res1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7295 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7309 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 PyObject
*resultobj
= 0;
7311 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7322 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_Py_Void();
7337 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
= 0;
7339 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7345 PyObject
* obj0
= 0 ;
7346 PyObject
* obj1
= 0 ;
7347 char * kwnames
[] = {
7348 (char *) "self",(char *) "icon", NULL
7351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7356 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7357 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7358 if (!SWIG_IsOK(res2
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7364 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_Py_Void();
7378 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
= 0;
7380 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7381 wxString
*arg2
= 0 ;
7385 bool temp2
= false ;
7388 PyObject
* obj0
= 0 ;
7389 PyObject
* obj1
= 0 ;
7390 PyObject
* obj2
= 0 ;
7391 char * kwnames
[] = {
7392 (char *) "self",(char *) "file",(char *) "type", NULL
7395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7400 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7402 arg2
= wxString_in_helper(obj1
);
7403 if (arg2
== NULL
) SWIG_fail
;
7406 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7407 if (!SWIG_IsOK(ecode3
)) {
7408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7410 arg3
= static_cast< long >(val3
);
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_Py_Void();
7432 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
= 0;
7434 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7436 wxIcon
*result
= 0 ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7442 char * kwnames
[] = {
7443 (char *) "self",(char *) "size", NULL
7446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7448 if (!SWIG_IsOK(res1
)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7451 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7454 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7460 result
= (wxIcon
*) &_result_ref
;
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7466 wxIcon
* resultptr
= new wxIcon(*result
);
7467 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7475 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7478 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7479 return SWIG_Py_Void();
7482 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 return SWIG_Python_InitShadowInstance(args
);
7486 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
= 0;
7488 wxString
*arg1
= 0 ;
7490 int arg3
= (int) 0 ;
7491 int arg4
= (int) 0 ;
7492 wxCursor
*result
= 0 ;
7493 bool temp1
= false ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7502 PyObject
* obj2
= 0 ;
7503 PyObject
* obj3
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7510 arg1
= wxString_in_helper(obj0
);
7511 if (arg1
== NULL
) SWIG_fail
;
7514 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7515 if (!SWIG_IsOK(ecode2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7518 arg2
= static_cast< long >(val2
);
7520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7521 if (!SWIG_IsOK(ecode3
)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7524 arg3
= static_cast< int >(val3
);
7527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7528 if (!SWIG_IsOK(ecode4
)) {
7529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7531 arg4
= static_cast< int >(val4
);
7534 if (!wxPyCheckForApp()) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7555 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7556 PyObject
*resultobj
= 0;
7557 wxCursor
*arg1
= (wxCursor
*) 0 ;
7560 PyObject
*swig_obj
[1] ;
7562 if (!args
) SWIG_fail
;
7564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7565 if (!SWIG_IsOK(res1
)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7568 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_Py_Void();
7583 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7586 wxCursor
*result
= 0 ;
7589 PyObject
* obj0
= 0 ;
7590 char * kwnames
[] = {
7594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7595 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7596 if (!SWIG_IsOK(ecode1
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7599 arg1
= static_cast< int >(val1
);
7601 if (!wxPyCheckForApp()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 result
= (wxCursor
*)new wxCursor(arg1
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7614 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
= 0;
7617 wxCursor
*result
= 0 ;
7620 PyObject
* obj0
= 0 ;
7621 char * kwnames
[] = {
7622 (char *) "image", NULL
7625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7626 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7627 if (!SWIG_IsOK(res1
)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7633 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7635 if (!wxPyCheckForApp()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7648 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7649 PyObject
*resultobj
= 0;
7650 wxCursor
*arg1
= (wxCursor
*) 0 ;
7654 PyObject
*swig_obj
[1] ;
7656 if (!args
) SWIG_fail
;
7658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7659 if (!SWIG_IsOK(res1
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
7662 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 result
= (bool)(arg1
)->Ok();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7678 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7681 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
7682 return SWIG_Py_Void();
7685 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7686 return SWIG_Python_InitShadowInstance(args
);
7689 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 int arg1
= (int) 0 ;
7692 int arg2
= (int) 0 ;
7693 int arg3
= (int) 0 ;
7694 int arg4
= (int) 0 ;
7695 wxRegion
*result
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7715 if (!SWIG_IsOK(ecode1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
7718 arg1
= static_cast< int >(val1
);
7721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7722 if (!SWIG_IsOK(ecode2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
7725 arg2
= static_cast< int >(val2
);
7728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7729 if (!SWIG_IsOK(ecode3
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
7732 arg3
= static_cast< int >(val3
);
7735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7736 if (!SWIG_IsOK(ecode4
)) {
7737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
7739 arg4
= static_cast< int >(val4
);
7742 if (!wxPyCheckForApp()) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
7755 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
= 0;
7757 wxBitmap
*arg1
= 0 ;
7758 wxRegion
*result
= 0 ;
7761 PyObject
* obj0
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "bmp", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7774 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7776 if (!wxPyCheckForApp()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7789 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxBitmap
*arg1
= 0 ;
7792 wxColour
*arg2
= 0 ;
7793 int arg3
= (int) 0 ;
7794 wxRegion
*result
= 0 ;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7802 PyObject
* obj2
= 0 ;
7803 char * kwnames
[] = {
7804 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
7807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
7815 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7818 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7822 if (!SWIG_IsOK(ecode3
)) {
7823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
7825 arg3
= static_cast< int >(val3
);
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7841 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= 0;
7844 wxPoint
*arg2
= (wxPoint
*) 0 ;
7845 int arg3
= (int) wxWINDING_RULE
;
7846 wxRegion
*result
= 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7851 char * kwnames
[] = {
7852 (char *) "points",(char *) "fillStyle", NULL
7855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7857 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
7858 if (arg2
== NULL
) SWIG_fail
;
7861 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
7862 if (!SWIG_IsOK(ecode3
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
7865 arg3
= static_cast< int >(val3
);
7868 if (!wxPyCheckForApp()) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
7871 wxPyEndAllowThreads(__tstate
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
7876 if (arg2
) delete [] arg2
;
7881 if (arg2
) delete [] arg2
;
7887 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7888 PyObject
*resultobj
= 0;
7889 wxRegion
*arg1
= (wxRegion
*) 0 ;
7892 PyObject
*swig_obj
[1] ;
7894 if (!args
) SWIG_fail
;
7896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
7897 if (!SWIG_IsOK(res1
)) {
7898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
7900 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_Py_Void();
7915 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7916 PyObject
*resultobj
= 0;
7917 wxRegion
*arg1
= (wxRegion
*) 0 ;
7920 PyObject
*swig_obj
[1] ;
7922 if (!args
) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
7928 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_Py_Void();
7942 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
= 0;
7944 wxRegion
*arg1
= (wxRegion
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7956 PyObject
* obj2
= 0 ;
7957 char * kwnames
[] = {
7958 (char *) "self",(char *) "x",(char *) "y", NULL
7961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
7963 if (!SWIG_IsOK(res1
)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
7966 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
7967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7968 if (!SWIG_IsOK(ecode2
)) {
7969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
7971 arg2
= static_cast< int >(val2
);
7972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7973 if (!SWIG_IsOK(ecode3
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
7976 arg3
= static_cast< int >(val3
);
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7992 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
= 0;
7994 wxRegion
*arg1
= (wxRegion
*) 0 ;
7997 wxRegionContain result
;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "x",(char *) "y", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8016 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8018 if (!SWIG_IsOK(ecode2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8021 arg2
= static_cast< int >(val2
);
8022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8023 if (!SWIG_IsOK(ecode3
)) {
8024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8026 arg3
= static_cast< int >(val3
);
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_From_int(static_cast< int >(result
));
8040 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
= 0;
8042 wxRegion
*arg1
= (wxRegion
*) 0 ;
8044 wxRegionContain result
;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8050 char * kwnames
[] = {
8051 (char *) "self",(char *) "pt", NULL
8054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8056 if (!SWIG_IsOK(res1
)) {
8057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8059 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_From_int(static_cast< int >(result
));
8077 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
= 0;
8079 wxRegion
*arg1
= (wxRegion
*) 0 ;
8081 wxRegionContain result
;
8085 PyObject
* obj0
= 0 ;
8086 PyObject
* obj1
= 0 ;
8087 char * kwnames
[] = {
8088 (char *) "self",(char *) "rect", NULL
8091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8093 if (!SWIG_IsOK(res1
)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8096 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8099 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_From_int(static_cast< int >(result
));
8114 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
= 0;
8116 wxRegion
*arg1
= (wxRegion
*) 0 ;
8121 wxRegionContain result
;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 PyObject
* obj2
= 0 ;
8135 PyObject
* obj3
= 0 ;
8136 PyObject
* obj4
= 0 ;
8137 char * kwnames
[] = {
8138 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8143 if (!SWIG_IsOK(res1
)) {
8144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8146 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8148 if (!SWIG_IsOK(ecode2
)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8151 arg2
= static_cast< int >(val2
);
8152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8153 if (!SWIG_IsOK(ecode3
)) {
8154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8156 arg3
= static_cast< int >(val3
);
8157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8158 if (!SWIG_IsOK(ecode4
)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8161 arg4
= static_cast< int >(val4
);
8162 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8163 if (!SWIG_IsOK(ecode5
)) {
8164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8166 arg5
= static_cast< int >(val5
);
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8170 wxPyEndAllowThreads(__tstate
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8173 resultobj
= SWIG_From_int(static_cast< int >(result
));
8180 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8181 PyObject
*resultobj
= 0;
8182 wxRegion
*arg1
= (wxRegion
*) 0 ;
8186 PyObject
*swig_obj
[1] ;
8188 if (!args
) SWIG_fail
;
8190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8191 if (!SWIG_IsOK(res1
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8194 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (arg1
)->GetBox();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8208 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
= 0;
8210 wxRegion
*arg1
= (wxRegion
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8229 PyObject
* obj3
= 0 ;
8230 PyObject
* obj4
= 0 ;
8231 char * kwnames
[] = {
8232 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8237 if (!SWIG_IsOK(res1
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8240 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8242 if (!SWIG_IsOK(ecode2
)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8245 arg2
= static_cast< int >(val2
);
8246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8247 if (!SWIG_IsOK(ecode3
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8250 arg3
= static_cast< int >(val3
);
8251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8252 if (!SWIG_IsOK(ecode4
)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8255 arg4
= static_cast< int >(val4
);
8256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8257 if (!SWIG_IsOK(ecode5
)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8260 arg5
= static_cast< int >(val5
);
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8276 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
= 0;
8278 wxRegion
*arg1
= (wxRegion
*) 0 ;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8286 char * kwnames
[] = {
8287 (char *) "self",(char *) "rect", NULL
8290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8295 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8298 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
= 0;
8317 wxRegion
*arg1
= (wxRegion
*) 0 ;
8318 wxRegion
*arg2
= 0 ;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8326 char * kwnames
[] = {
8327 (char *) "self",(char *) "region", NULL
8330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8332 if (!SWIG_IsOK(res1
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8335 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8337 if (!SWIG_IsOK(res2
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8343 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8359 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8360 PyObject
*resultobj
= 0;
8361 wxRegion
*arg1
= (wxRegion
*) 0 ;
8365 PyObject
*swig_obj
[1] ;
8367 if (!args
) SWIG_fail
;
8369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8370 if (!SWIG_IsOK(res1
)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8373 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (bool)(arg1
)->IsEmpty();
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8389 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
= 0;
8391 wxRegion
*arg1
= (wxRegion
*) 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 PyObject
* obj2
= 0 ;
8410 PyObject
* obj3
= 0 ;
8411 PyObject
* obj4
= 0 ;
8412 char * kwnames
[] = {
8413 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
8421 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8423 if (!SWIG_IsOK(ecode2
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
8426 arg2
= static_cast< int >(val2
);
8427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8428 if (!SWIG_IsOK(ecode3
)) {
8429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
8431 arg3
= static_cast< int >(val3
);
8432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8433 if (!SWIG_IsOK(ecode4
)) {
8434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
8436 arg4
= static_cast< int >(val4
);
8437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8438 if (!SWIG_IsOK(ecode5
)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
8441 arg5
= static_cast< int >(val5
);
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8457 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
= 0;
8459 wxRegion
*arg1
= (wxRegion
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 char * kwnames
[] = {
8468 (char *) "self",(char *) "rect", NULL
8471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8476 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8479 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8496 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
= 0;
8498 wxRegion
*arg1
= (wxRegion
*) 0 ;
8499 wxRegion
*arg2
= 0 ;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8507 char * kwnames
[] = {
8508 (char *) "self",(char *) "region", NULL
8511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8516 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8518 if (!SWIG_IsOK(res2
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8524 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
8528 wxPyEndAllowThreads(__tstate
);
8529 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8540 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8541 PyObject
*resultobj
= 0;
8542 wxRegion
*arg1
= (wxRegion
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8561 PyObject
* obj3
= 0 ;
8562 PyObject
* obj4
= 0 ;
8563 char * kwnames
[] = {
8564 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
8572 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8574 if (!SWIG_IsOK(ecode2
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
8577 arg2
= static_cast< int >(val2
);
8578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8579 if (!SWIG_IsOK(ecode3
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
8582 arg3
= static_cast< int >(val3
);
8583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8584 if (!SWIG_IsOK(ecode4
)) {
8585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
8587 arg4
= static_cast< int >(val4
);
8588 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8589 if (!SWIG_IsOK(ecode5
)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
8592 arg5
= static_cast< int >(val5
);
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8608 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
= 0;
8610 wxRegion
*arg1
= (wxRegion
*) 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8618 char * kwnames
[] = {
8619 (char *) "self",(char *) "rect", NULL
8622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8624 if (!SWIG_IsOK(res1
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8627 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8630 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8647 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
= 0;
8649 wxRegion
*arg1
= (wxRegion
*) 0 ;
8650 wxRegion
*arg2
= 0 ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 char * kwnames
[] = {
8659 (char *) "self",(char *) "region", NULL
8662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8667 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8668 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8669 if (!SWIG_IsOK(res2
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8675 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8691 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
= 0;
8693 wxRegion
*arg1
= (wxRegion
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8713 PyObject
* obj4
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
8723 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8725 if (!SWIG_IsOK(ecode2
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
8728 arg2
= static_cast< int >(val2
);
8729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8730 if (!SWIG_IsOK(ecode3
)) {
8731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
8733 arg3
= static_cast< int >(val3
);
8734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8735 if (!SWIG_IsOK(ecode4
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
8738 arg4
= static_cast< int >(val4
);
8739 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8740 if (!SWIG_IsOK(ecode5
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
8743 arg5
= static_cast< int >(val5
);
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8759 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
= 0;
8761 wxRegion
*arg1
= (wxRegion
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "rect", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8778 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8781 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxRegion
*arg1
= (wxRegion
*) 0 ;
8801 wxRegion
*arg2
= 0 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 char * kwnames
[] = {
8810 (char *) "self",(char *) "region", NULL
8813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8818 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8820 if (!SWIG_IsOK(res2
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8826 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8842 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8843 PyObject
*resultobj
= 0;
8844 wxRegion
*arg1
= (wxRegion
*) 0 ;
8845 SwigValueWrapper
<wxBitmap
> result
;
8848 PyObject
*swig_obj
[1] ;
8850 if (!args
) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8856 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 result
= (arg1
)->ConvertToBitmap();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8870 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
= 0;
8872 wxRegion
*arg1
= (wxRegion
*) 0 ;
8873 wxBitmap
*arg2
= 0 ;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "self",(char *) "bmp", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
8890 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8892 if (!SWIG_IsOK(res2
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8898 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8914 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8916 wxRegion
*arg1
= (wxRegion
*) 0 ;
8917 wxBitmap
*arg2
= 0 ;
8918 wxColour
*arg3
= 0 ;
8919 int arg4
= (int) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8931 PyObject
* obj3
= 0 ;
8932 char * kwnames
[] = {
8933 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
8941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8943 if (!SWIG_IsOK(res2
)) {
8944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8949 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8952 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8956 if (!SWIG_IsOK(ecode4
)) {
8957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
8959 arg4
= static_cast< int >(val4
);
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8976 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8979 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
8980 return SWIG_Py_Void();
8983 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 return SWIG_Python_InitShadowInstance(args
);
8987 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
= 0;
8989 wxRegion
*arg1
= 0 ;
8990 wxRegionIterator
*result
= 0 ;
8993 PyObject
* obj0
= 0 ;
8994 char * kwnames
[] = {
8995 (char *) "region", NULL
8998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9006 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9008 if (!wxPyCheckForApp()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9021 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9022 PyObject
*resultobj
= 0;
9023 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9026 PyObject
*swig_obj
[1] ;
9028 if (!args
) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9034 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_Py_Void();
9049 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9050 PyObject
*resultobj
= 0;
9051 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9055 PyObject
*swig_obj
[1] ;
9057 if (!args
) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9063 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (int)(arg1
)->GetX();
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_From_int(static_cast< int >(result
));
9077 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 PyObject
*resultobj
= 0;
9079 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9083 PyObject
*swig_obj
[1] ;
9085 if (!args
) SWIG_fail
;
9087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9088 if (!SWIG_IsOK(res1
)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9091 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (int)(arg1
)->GetY();
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_From_int(static_cast< int >(result
));
9105 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9106 PyObject
*resultobj
= 0;
9107 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9111 PyObject
*swig_obj
[1] ;
9113 if (!args
) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9119 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (int)(arg1
)->GetW();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_From_int(static_cast< int >(result
));
9133 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9134 PyObject
*resultobj
= 0;
9135 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9139 PyObject
*swig_obj
[1] ;
9141 if (!args
) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9147 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (int)(arg1
)->GetWidth();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_From_int(static_cast< int >(result
));
9161 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9162 PyObject
*resultobj
= 0;
9163 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9167 PyObject
*swig_obj
[1] ;
9169 if (!args
) SWIG_fail
;
9171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9172 if (!SWIG_IsOK(res1
)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9175 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= (int)(arg1
)->GetH();
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_From_int(static_cast< int >(result
));
9189 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9190 PyObject
*resultobj
= 0;
9191 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9195 PyObject
*swig_obj
[1] ;
9197 if (!args
) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9203 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (int)(arg1
)->GetHeight();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_From_int(static_cast< int >(result
));
9217 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9218 PyObject
*resultobj
= 0;
9219 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9223 PyObject
*swig_obj
[1] ;
9225 if (!args
) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9231 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (arg1
)->GetRect();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9245 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9246 PyObject
*resultobj
= 0;
9247 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9251 PyObject
*swig_obj
[1] ;
9253 if (!args
) SWIG_fail
;
9255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9256 if (!SWIG_IsOK(res1
)) {
9257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9259 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 result
= (bool)(arg1
)->HaveRects();
9263 wxPyEndAllowThreads(__tstate
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9275 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9276 PyObject
*resultobj
= 0;
9277 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9280 PyObject
*swig_obj
[1] ;
9282 if (!args
) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9288 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_Py_Void();
9302 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9303 PyObject
*resultobj
= 0;
9304 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9307 PyObject
*swig_obj
[1] ;
9309 if (!args
) SWIG_fail
;
9311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9312 if (!SWIG_IsOK(res1
)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9315 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 wxRegionIterator_Next(arg1
);
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= SWIG_Py_Void();
9329 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 PyObject
*resultobj
= 0;
9331 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9335 PyObject
*swig_obj
[1] ;
9337 if (!args
) SWIG_fail
;
9339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9340 if (!SWIG_IsOK(res1
)) {
9341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9343 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9362 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9363 return SWIG_Py_Void();
9366 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 return SWIG_Python_InitShadowInstance(args
);
9370 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 PyObject
*resultobj
= 0;
9372 wxNativeFontInfo
*result
= 0 ;
9374 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9388 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9389 PyObject
*resultobj
= 0;
9390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9393 PyObject
*swig_obj
[1] ;
9395 if (!args
) SWIG_fail
;
9397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
9398 if (!SWIG_IsOK(res1
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9401 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_Py_Void();
9416 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9417 PyObject
*resultobj
= 0;
9418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9421 PyObject
*swig_obj
[1] ;
9423 if (!args
) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9429 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_Py_Void();
9443 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
= 0;
9445 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9452 PyObject
* obj1
= 0 ;
9453 char * kwnames
[] = {
9454 (char *) "self",(char *) "font", NULL
9457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9459 if (!SWIG_IsOK(res1
)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9462 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
9464 if (!SWIG_IsOK(res2
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
9470 arg2
= reinterpret_cast< wxFont
* >(argp2
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9484 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9485 PyObject
*resultobj
= 0;
9486 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9490 PyObject
*swig_obj
[1] ;
9492 if (!args
) SWIG_fail
;
9494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9495 if (!SWIG_IsOK(res1
)) {
9496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9498 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 resultobj
= SWIG_From_int(static_cast< int >(result
));
9512 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9513 PyObject
*resultobj
= 0;
9514 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9518 PyObject
*swig_obj
[1] ;
9520 if (!args
) SWIG_fail
;
9522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9523 if (!SWIG_IsOK(res1
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9526 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_From_int(static_cast< int >(result
));
9540 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9541 PyObject
*resultobj
= 0;
9542 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9543 wxFontWeight result
;
9546 PyObject
*swig_obj
[1] ;
9548 if (!args
) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9554 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_From_int(static_cast< int >(result
));
9568 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9569 PyObject
*resultobj
= 0;
9570 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9574 PyObject
*swig_obj
[1] ;
9576 if (!args
) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9582 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9598 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9599 PyObject
*resultobj
= 0;
9600 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9604 PyObject
*swig_obj
[1] ;
9606 if (!args
) SWIG_fail
;
9608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9609 if (!SWIG_IsOK(res1
)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9612 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9632 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9633 PyObject
*resultobj
= 0;
9634 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9635 wxFontFamily result
;
9638 PyObject
*swig_obj
[1] ;
9640 if (!args
) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9646 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_From_int(static_cast< int >(result
));
9660 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9661 PyObject
*resultobj
= 0;
9662 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9663 wxFontEncoding result
;
9666 PyObject
*swig_obj
[1] ;
9668 if (!args
) SWIG_fail
;
9670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9671 if (!SWIG_IsOK(res1
)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
9674 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_From_int(static_cast< int >(result
));
9688 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 char * kwnames
[] = {
9699 (char *) "self",(char *) "pointsize", NULL
9702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9704 if (!SWIG_IsOK(res1
)) {
9705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9707 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9709 if (!SWIG_IsOK(ecode2
)) {
9710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
9712 arg2
= static_cast< int >(val2
);
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->SetPointSize(arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_Py_Void();
9726 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
= 0;
9728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9736 char * kwnames
[] = {
9737 (char *) "self",(char *) "style", NULL
9740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9742 if (!SWIG_IsOK(res1
)) {
9743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9745 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9747 if (!SWIG_IsOK(ecode2
)) {
9748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
9750 arg2
= static_cast< wxFontStyle
>(val2
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->SetStyle(arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_Py_Void();
9764 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "weight", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9785 if (!SWIG_IsOK(ecode2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
9788 arg2
= static_cast< wxFontWeight
>(val2
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetWeight(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_Py_Void();
9802 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
= 0;
9804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9812 char * kwnames
[] = {
9813 (char *) "self",(char *) "underlined", NULL
9816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9821 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9822 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
9823 if (!SWIG_IsOK(ecode2
)) {
9824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
9826 arg2
= static_cast< bool >(val2
);
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->SetUnderlined(arg2
);
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_Py_Void();
9840 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
= 0;
9842 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9848 PyObject
* obj1
= 0 ;
9849 char * kwnames
[] = {
9850 (char *) "self",(char *) "facename", NULL
9853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9855 if (!SWIG_IsOK(res1
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9858 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9860 wxString
* sptr
= wxString_in_helper(obj1
);
9861 if (sptr
== NULL
) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (bool)(arg1
)->SetFaceName(arg2
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9880 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= 0;
9882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "self",(char *) "family", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9899 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9901 if (!SWIG_IsOK(ecode2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
9904 arg2
= static_cast< wxFontFamily
>(val2
);
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 (arg1
)->SetFamily(arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_Py_Void();
9918 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
= 0;
9920 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9921 wxFontEncoding arg2
;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9928 char * kwnames
[] = {
9929 (char *) "self",(char *) "encoding", NULL
9932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9934 if (!SWIG_IsOK(res1
)) {
9935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9937 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9939 if (!SWIG_IsOK(ecode2
)) {
9940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
9942 arg2
= static_cast< wxFontEncoding
>(val2
);
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 (arg1
)->SetEncoding(arg2
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= SWIG_Py_Void();
9956 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
*resultobj
= 0;
9958 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9959 wxString
*arg2
= 0 ;
9963 bool temp2
= false ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 char * kwnames
[] = {
9967 (char *) "self",(char *) "s", NULL
9970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
9972 if (!SWIG_IsOK(res1
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
9975 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
9977 arg2
= wxString_in_helper(obj1
);
9978 if (arg2
== NULL
) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10005 PyObject
*resultobj
= 0;
10006 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10010 PyObject
*swig_obj
[1] ;
10012 if (!args
) SWIG_fail
;
10013 swig_obj
[0] = args
;
10014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10018 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10038 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10039 PyObject
*resultobj
= 0;
10040 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10044 PyObject
*swig_obj
[1] ;
10046 if (!args
) SWIG_fail
;
10047 swig_obj
[0] = args
;
10048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10052 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 result
= wxNativeFontInfo___str__(arg1
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10072 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
= 0;
10074 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10075 wxString
*arg2
= 0 ;
10079 bool temp2
= false ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 char * kwnames
[] = {
10083 (char *) "self",(char *) "s", NULL
10086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10088 if (!SWIG_IsOK(res1
)) {
10089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10091 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10093 arg2
= wxString_in_helper(obj1
);
10094 if (arg2
== NULL
) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10120 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10121 PyObject
*resultobj
= 0;
10122 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10126 PyObject
*swig_obj
[1] ;
10128 if (!args
) SWIG_fail
;
10129 swig_obj
[0] = args
;
10130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10131 if (!SWIG_IsOK(res1
)) {
10132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10134 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10154 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10157 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10158 return SWIG_Py_Void();
10161 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10162 return SWIG_Python_InitShadowInstance(args
);
10165 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10166 PyObject
*resultobj
= 0;
10167 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10168 wxString
*arg2
= (wxString
*) 0 ;
10171 bool temp2
= false ;
10172 PyObject
*swig_obj
[2] ;
10174 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10179 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10181 arg2
= wxString_in_helper(swig_obj
[1]);
10182 if (arg2
== NULL
) SWIG_fail
;
10185 if (arg1
) (arg1
)->facename
= *arg2
;
10187 resultobj
= SWIG_Py_Void();
10202 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10203 PyObject
*resultobj
= 0;
10204 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10205 wxString
*result
= 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10216 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10217 result
= (wxString
*)& ((arg1
)->facename
);
10220 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10222 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10231 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10232 PyObject
*resultobj
= 0;
10233 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10234 wxFontEncoding arg2
;
10239 PyObject
*swig_obj
[2] ;
10241 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10246 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10247 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10248 if (!SWIG_IsOK(ecode2
)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10251 arg2
= static_cast< wxFontEncoding
>(val2
);
10252 if (arg1
) (arg1
)->encoding
= arg2
;
10254 resultobj
= SWIG_Py_Void();
10261 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10262 PyObject
*resultobj
= 0;
10263 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10264 wxFontEncoding result
;
10267 PyObject
*swig_obj
[1] ;
10269 if (!args
) SWIG_fail
;
10270 swig_obj
[0] = args
;
10271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10275 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10276 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10277 resultobj
= SWIG_From_int(static_cast< int >(result
));
10284 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 PyObject
*resultobj
= 0;
10286 wxNativeEncodingInfo
*result
= 0 ;
10288 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10302 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10303 PyObject
*resultobj
= 0;
10304 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10307 PyObject
*swig_obj
[1] ;
10309 if (!args
) SWIG_fail
;
10310 swig_obj
[0] = args
;
10311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10312 if (!SWIG_IsOK(res1
)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10315 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_Py_Void();
10330 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
= 0;
10332 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10333 wxString
*arg2
= 0 ;
10337 bool temp2
= false ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 char * kwnames
[] = {
10341 (char *) "self",(char *) "s", NULL
10344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10346 if (!SWIG_IsOK(res1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10349 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10351 arg2
= wxString_in_helper(obj1
);
10352 if (arg2
== NULL
) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10379 PyObject
*resultobj
= 0;
10380 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10384 PyObject
*swig_obj
[1] ;
10386 if (!args
) SWIG_fail
;
10387 swig_obj
[0] = args
;
10388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
10392 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10403 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10412 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10415 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
10416 return SWIG_Py_Void();
10419 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10420 return SWIG_Python_InitShadowInstance(args
);
10423 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= 0;
10425 wxFontEncoding arg1
;
10426 wxNativeEncodingInfo
*result
= 0 ;
10429 PyObject
* obj0
= 0 ;
10430 char * kwnames
[] = {
10431 (char *) "encoding", NULL
10434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10435 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10436 if (!SWIG_IsOK(ecode1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10439 arg1
= static_cast< wxFontEncoding
>(val1
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10453 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
= 0;
10455 wxNativeEncodingInfo
*arg1
= 0 ;
10459 PyObject
* obj0
= 0 ;
10460 char * kwnames
[] = {
10461 (char *) "info", NULL
10464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
10465 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
10472 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10475 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10488 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxFontMapper
*result
= 0 ;
10492 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (wxFontMapper
*)new wxFontMapper();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
10506 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10507 PyObject
*resultobj
= 0;
10508 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10511 PyObject
*swig_obj
[1] ;
10513 if (!args
) SWIG_fail
;
10514 swig_obj
[0] = args
;
10515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
10516 if (!SWIG_IsOK(res1
)) {
10517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10519 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_Py_Void();
10534 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10535 PyObject
*resultobj
= 0;
10536 wxFontMapper
*result
= 0 ;
10538 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (wxFontMapper
*)wxFontMapper::Get();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10552 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
= 0;
10554 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10555 wxFontMapper
*result
= 0 ;
10558 PyObject
* obj0
= 0 ;
10559 char * kwnames
[] = {
10560 (char *) "mapper", NULL
10563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
10564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10565 if (!SWIG_IsOK(res1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10568 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10582 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
= 0;
10584 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10585 wxString
*arg2
= 0 ;
10586 bool arg3
= (bool) true ;
10587 wxFontEncoding result
;
10590 bool temp2
= false ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 PyObject
* obj2
= 0 ;
10596 char * kwnames
[] = {
10597 (char *) "self",(char *) "charset",(char *) "interactive", NULL
10600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10605 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10607 arg2
= wxString_in_helper(obj1
);
10608 if (arg2
== NULL
) SWIG_fail
;
10612 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10613 if (!SWIG_IsOK(ecode3
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
10616 arg3
= static_cast< bool >(val3
);
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_From_int(static_cast< int >(result
));
10639 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10640 PyObject
*resultobj
= 0;
10643 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10657 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10660 wxFontEncoding result
;
10663 PyObject
* obj0
= 0 ;
10664 char * kwnames
[] = {
10668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
10669 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10670 if (!SWIG_IsOK(ecode1
)) {
10671 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
10673 arg1
= static_cast< size_t >(val1
);
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= SWIG_From_int(static_cast< int >(result
));
10687 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
= 0;
10689 wxFontEncoding arg1
;
10693 PyObject
* obj0
= 0 ;
10694 char * kwnames
[] = {
10695 (char *) "encoding", NULL
10698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
10699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10700 if (!SWIG_IsOK(ecode1
)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10703 arg1
= static_cast< wxFontEncoding
>(val1
);
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= wxFontMapper::GetEncodingName(arg1
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10723 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= 0;
10725 wxFontEncoding arg1
;
10729 PyObject
* obj0
= 0 ;
10730 char * kwnames
[] = {
10731 (char *) "encoding", NULL
10734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
10735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10736 if (!SWIG_IsOK(ecode1
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
10739 arg1
= static_cast< wxFontEncoding
>(val1
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= wxFontMapper::GetEncodingDescription(arg1
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10759 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
= 0;
10761 wxString
*arg1
= 0 ;
10762 wxFontEncoding result
;
10763 bool temp1
= false ;
10764 PyObject
* obj0
= 0 ;
10765 char * kwnames
[] = {
10766 (char *) "name", NULL
10769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
10771 arg1
= wxString_in_helper(obj0
);
10772 if (arg1
== NULL
) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_From_int(static_cast< int >(result
));
10796 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
= 0;
10798 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10799 wxString
*arg2
= 0 ;
10802 bool temp2
= false ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char * kwnames
[] = {
10806 (char *) "self",(char *) "prefix", NULL
10809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10811 if (!SWIG_IsOK(res1
)) {
10812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10814 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10816 arg2
= wxString_in_helper(obj1
);
10817 if (arg2
== NULL
) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_Py_Void();
10841 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10842 PyObject
*resultobj
= 0;
10845 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= wxFontMapper::GetDefaultConfigPath();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10865 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10868 wxFontEncoding arg2
;
10869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10871 bool arg4
= (bool) true ;
10872 PyObject
*result
= 0 ;
10877 bool temp3
= false ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 PyObject
* obj3
= 0 ;
10884 char * kwnames
[] = {
10885 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
10888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10890 if (!SWIG_IsOK(res1
)) {
10891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10893 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10895 if (!SWIG_IsOK(ecode2
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10898 arg2
= static_cast< wxFontEncoding
>(val2
);
10901 arg3
= wxString_in_helper(obj2
);
10902 if (arg3
== NULL
) SWIG_fail
;
10907 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
10908 if (!SWIG_IsOK(ecode4
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
10911 arg4
= static_cast< bool >(val4
);
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= result
;
10934 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= 0;
10936 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10937 wxFontEncoding arg2
;
10938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10945 bool temp3
= false ;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 PyObject
* obj2
= 0 ;
10949 char * kwnames
[] = {
10950 (char *) "self",(char *) "encoding",(char *) "facename", NULL
10953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
10955 if (!SWIG_IsOK(res1
)) {
10956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
10958 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
10959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10960 if (!SWIG_IsOK(ecode2
)) {
10961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10963 arg2
= static_cast< wxFontEncoding
>(val2
);
10966 arg3
= wxString_in_helper(obj2
);
10967 if (arg3
== NULL
) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10994 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
= 0;
10996 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
10997 wxWindow
*arg2
= (wxWindow
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char * kwnames
[] = {
11005 (char *) "self",(char *) "parent", NULL
11008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11013 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11015 if (!SWIG_IsOK(res2
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 (arg1
)->SetDialogParent(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= SWIG_Py_Void();
11032 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= 0;
11034 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11035 wxString
*arg2
= 0 ;
11038 bool temp2
= false ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 char * kwnames
[] = {
11042 (char *) "self",(char *) "title", NULL
11045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11047 if (!SWIG_IsOK(res1
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11050 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11052 arg2
= wxString_in_helper(obj1
);
11053 if (arg2
== NULL
) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= SWIG_Py_Void();
11077 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11080 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11081 return SWIG_Py_Void();
11084 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11085 return SWIG_Python_InitShadowInstance(args
);
11088 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11094 bool arg5
= (bool) false ;
11095 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11096 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11097 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11098 wxFont
*result
= 0 ;
11109 bool temp6
= false ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 PyObject
* obj2
= 0 ;
11115 PyObject
* obj3
= 0 ;
11116 PyObject
* obj4
= 0 ;
11117 PyObject
* obj5
= 0 ;
11118 PyObject
* obj6
= 0 ;
11119 char * kwnames
[] = {
11120 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11125 if (!SWIG_IsOK(ecode1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11128 arg1
= static_cast< int >(val1
);
11129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11130 if (!SWIG_IsOK(ecode2
)) {
11131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11133 arg2
= static_cast< int >(val2
);
11134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11135 if (!SWIG_IsOK(ecode3
)) {
11136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11138 arg3
= static_cast< int >(val3
);
11139 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11140 if (!SWIG_IsOK(ecode4
)) {
11141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11143 arg4
= static_cast< int >(val4
);
11145 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11146 if (!SWIG_IsOK(ecode5
)) {
11147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11149 arg5
= static_cast< bool >(val5
);
11153 arg6
= wxString_in_helper(obj5
);
11154 if (arg6
== NULL
) SWIG_fail
;
11159 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11160 if (!SWIG_IsOK(ecode7
)) {
11161 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11163 arg7
= static_cast< wxFontEncoding
>(val7
);
11166 if (!wxPyCheckForApp()) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11187 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11189 wxFont
*arg1
= (wxFont
*) 0 ;
11192 PyObject
*swig_obj
[1] ;
11194 if (!args
) SWIG_fail
;
11195 swig_obj
[0] = args
;
11196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11200 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_Py_Void();
11215 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= 0;
11217 wxNativeFontInfo
*arg1
= 0 ;
11218 wxFont
*result
= 0 ;
11221 PyObject
* obj0
= 0 ;
11222 char * kwnames
[] = {
11223 (char *) "info", NULL
11226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11227 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11234 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11236 if (!wxPyCheckForApp()) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11249 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxString
*arg1
= 0 ;
11252 wxFont
*result
= 0 ;
11253 bool temp1
= false ;
11254 PyObject
* obj0
= 0 ;
11255 char * kwnames
[] = {
11256 (char *) "info", NULL
11259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11261 arg1
= wxString_in_helper(obj0
);
11262 if (arg1
== NULL
) SWIG_fail
;
11266 if (!wxPyCheckForApp()) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11287 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11290 wxFontFamily arg2
;
11291 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11294 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11295 wxFont
*result
= 0 ;
11302 bool temp4
= false ;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 PyObject
* obj2
= 0 ;
11308 PyObject
* obj3
= 0 ;
11309 PyObject
* obj4
= 0 ;
11310 char * kwnames
[] = {
11311 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11315 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11316 if (!SWIG_IsOK(ecode1
)) {
11317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11319 arg1
= static_cast< int >(val1
);
11320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11321 if (!SWIG_IsOK(ecode2
)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11324 arg2
= static_cast< wxFontFamily
>(val2
);
11326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11327 if (!SWIG_IsOK(ecode3
)) {
11328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11330 arg3
= static_cast< int >(val3
);
11334 arg4
= wxString_in_helper(obj3
);
11335 if (arg4
== NULL
) SWIG_fail
;
11340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11341 if (!SWIG_IsOK(ecode5
)) {
11342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11344 arg5
= static_cast< wxFontEncoding
>(val5
);
11347 if (!wxPyCheckForApp()) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11368 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
= 0;
11374 bool arg5
= (bool) false ;
11375 wxString
const &arg6_defvalue
= wxEmptyString
;
11376 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11377 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11378 wxFont
*result
= 0 ;
11388 bool temp6
= false ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 PyObject
* obj2
= 0 ;
11394 PyObject
* obj3
= 0 ;
11395 PyObject
* obj4
= 0 ;
11396 PyObject
* obj5
= 0 ;
11397 PyObject
* obj6
= 0 ;
11398 char * kwnames
[] = {
11399 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
11402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11405 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11408 if (!SWIG_IsOK(ecode2
)) {
11409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
11411 arg2
= static_cast< int >(val2
);
11412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11413 if (!SWIG_IsOK(ecode3
)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11416 arg3
= static_cast< int >(val3
);
11417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11418 if (!SWIG_IsOK(ecode4
)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
11421 arg4
= static_cast< int >(val4
);
11423 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11424 if (!SWIG_IsOK(ecode5
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
11427 arg5
= static_cast< bool >(val5
);
11431 arg6
= wxString_in_helper(obj5
);
11432 if (arg6
== NULL
) SWIG_fail
;
11437 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11438 if (!SWIG_IsOK(ecode7
)) {
11439 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11441 arg7
= static_cast< wxFontEncoding
>(val7
);
11444 if (!wxPyCheckForApp()) SWIG_fail
;
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11465 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
= 0;
11468 wxFontFamily arg2
;
11469 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11470 wxString
const &arg4_defvalue
= wxEmptyString
;
11471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11472 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11473 wxFont
*result
= 0 ;
11479 bool temp4
= false ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 PyObject
* obj2
= 0 ;
11485 PyObject
* obj3
= 0 ;
11486 PyObject
* obj4
= 0 ;
11487 char * kwnames
[] = {
11488 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11494 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
11496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11497 if (!SWIG_IsOK(ecode2
)) {
11498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
11500 arg2
= static_cast< wxFontFamily
>(val2
);
11502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11503 if (!SWIG_IsOK(ecode3
)) {
11504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
11506 arg3
= static_cast< int >(val3
);
11510 arg4
= wxString_in_helper(obj3
);
11511 if (arg4
== NULL
) SWIG_fail
;
11516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11517 if (!SWIG_IsOK(ecode5
)) {
11518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
11520 arg5
= static_cast< wxFontEncoding
>(val5
);
11523 if (!wxPyCheckForApp()) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11544 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 PyObject
*resultobj
= 0;
11546 wxFont
*arg1
= (wxFont
*) 0 ;
11550 PyObject
*swig_obj
[1] ;
11552 if (!args
) SWIG_fail
;
11553 swig_obj
[0] = args
;
11554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11555 if (!SWIG_IsOK(res1
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
11558 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (bool)((wxFont
const *)arg1
)->Ok();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11574 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
= 0;
11576 wxFont
*arg1
= (wxFont
*) 0 ;
11577 wxFont
*arg2
= (wxFont
*) 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 char * kwnames
[] = {
11586 (char *) "self",(char *) "other", NULL
11589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11591 if (!SWIG_IsOK(res1
)) {
11592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
11594 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11596 if (!SWIG_IsOK(res2
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
11599 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11615 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11616 PyObject
*resultobj
= 0;
11617 wxFont
*arg1
= (wxFont
*) 0 ;
11618 wxFont
*arg2
= (wxFont
*) 0 ;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 char * kwnames
[] = {
11627 (char *) "self",(char *) "other", NULL
11630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
11635 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
11637 if (!SWIG_IsOK(res2
)) {
11638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
11640 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11656 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 PyObject
*resultobj
= 0;
11658 wxFont
*arg1
= (wxFont
*) 0 ;
11662 PyObject
*swig_obj
[1] ;
11664 if (!args
) SWIG_fail
;
11665 swig_obj
[0] = args
;
11666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11670 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= SWIG_From_int(static_cast< int >(result
));
11684 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11685 PyObject
*resultobj
= 0;
11686 wxFont
*arg1
= (wxFont
*) 0 ;
11690 PyObject
*swig_obj
[1] ;
11692 if (!args
) SWIG_fail
;
11693 swig_obj
[0] = args
;
11694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
11698 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= ((wxFont
const *)arg1
)->GetPixelSize();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11712 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 PyObject
*resultobj
= 0;
11714 wxFont
*arg1
= (wxFont
*) 0 ;
11718 PyObject
*swig_obj
[1] ;
11720 if (!args
) SWIG_fail
;
11721 swig_obj
[0] = args
;
11722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11723 if (!SWIG_IsOK(res1
)) {
11724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
11726 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11742 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11743 PyObject
*resultobj
= 0;
11744 wxFont
*arg1
= (wxFont
*) 0 ;
11748 PyObject
*swig_obj
[1] ;
11750 if (!args
) SWIG_fail
;
11751 swig_obj
[0] = args
;
11752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11753 if (!SWIG_IsOK(res1
)) {
11754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
11756 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (int)((wxFont
const *)arg1
)->GetFamily();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_From_int(static_cast< int >(result
));
11770 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 PyObject
*resultobj
= 0;
11772 wxFont
*arg1
= (wxFont
*) 0 ;
11776 PyObject
*swig_obj
[1] ;
11778 if (!args
) SWIG_fail
;
11779 swig_obj
[0] = args
;
11780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
11784 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (int)((wxFont
const *)arg1
)->GetStyle();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int(static_cast< int >(result
));
11798 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11799 PyObject
*resultobj
= 0;
11800 wxFont
*arg1
= (wxFont
*) 0 ;
11804 PyObject
*swig_obj
[1] ;
11806 if (!args
) SWIG_fail
;
11807 swig_obj
[0] = args
;
11808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
11812 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)((wxFont
const *)arg1
)->GetWeight();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int(static_cast< int >(result
));
11826 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11827 PyObject
*resultobj
= 0;
11828 wxFont
*arg1
= (wxFont
*) 0 ;
11832 PyObject
*swig_obj
[1] ;
11834 if (!args
) SWIG_fail
;
11835 swig_obj
[0] = args
;
11836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11837 if (!SWIG_IsOK(res1
)) {
11838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
11840 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11856 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11857 PyObject
*resultobj
= 0;
11858 wxFont
*arg1
= (wxFont
*) 0 ;
11862 PyObject
*swig_obj
[1] ;
11864 if (!args
) SWIG_fail
;
11865 swig_obj
[0] = args
;
11866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11867 if (!SWIG_IsOK(res1
)) {
11868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
11870 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= ((wxFont
const *)arg1
)->GetFaceName();
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11890 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11891 PyObject
*resultobj
= 0;
11892 wxFont
*arg1
= (wxFont
*) 0 ;
11893 wxFontEncoding result
;
11896 PyObject
*swig_obj
[1] ;
11898 if (!args
) SWIG_fail
;
11899 swig_obj
[0] = args
;
11900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11901 if (!SWIG_IsOK(res1
)) {
11902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
11904 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_From_int(static_cast< int >(result
));
11918 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11919 PyObject
*resultobj
= 0;
11920 wxFont
*arg1
= (wxFont
*) 0 ;
11921 wxNativeFontInfo
*result
= 0 ;
11924 PyObject
*swig_obj
[1] ;
11926 if (!args
) SWIG_fail
;
11927 swig_obj
[0] = args
;
11928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11929 if (!SWIG_IsOK(res1
)) {
11930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
11932 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11946 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11947 PyObject
*resultobj
= 0;
11948 wxFont
*arg1
= (wxFont
*) 0 ;
11952 PyObject
*swig_obj
[1] ;
11954 if (!args
) SWIG_fail
;
11955 swig_obj
[0] = args
;
11956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
11960 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11976 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxFont
*arg1
= (wxFont
*) 0 ;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
11990 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12010 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12011 PyObject
*resultobj
= 0;
12012 wxFont
*arg1
= (wxFont
*) 0 ;
12016 PyObject
*swig_obj
[1] ;
12018 if (!args
) SWIG_fail
;
12019 swig_obj
[0] = args
;
12020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12021 if (!SWIG_IsOK(res1
)) {
12022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12024 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12044 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= 0;
12046 wxFont
*arg1
= (wxFont
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "pointSize", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12063 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12065 if (!SWIG_IsOK(ecode2
)) {
12066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12068 arg2
= static_cast< int >(val2
);
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetPointSize(arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_Py_Void();
12082 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
= 0;
12084 wxFont
*arg1
= (wxFont
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char * kwnames
[] = {
12092 (char *) "self",(char *) "pixelSize", NULL
12095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12100 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_Py_Void();
12118 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxFont
*arg1
= (wxFont
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 char * kwnames
[] = {
12129 (char *) "self",(char *) "family", NULL
12132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12134 if (!SWIG_IsOK(res1
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12137 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12139 if (!SWIG_IsOK(ecode2
)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12142 arg2
= static_cast< int >(val2
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetFamily(arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_Py_Void();
12156 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
= 0;
12158 wxFont
*arg1
= (wxFont
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "style", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12175 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12177 if (!SWIG_IsOK(ecode2
)) {
12178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12180 arg2
= static_cast< int >(val2
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 (arg1
)->SetStyle(arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_Py_Void();
12194 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxFont
*arg1
= (wxFont
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "weight", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12213 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12218 arg2
= static_cast< int >(val2
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetWeight(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_Py_Void();
12232 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxFont
*arg1
= (wxFont
*) 0 ;
12235 wxString
*arg2
= 0 ;
12239 bool temp2
= false ;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 char * kwnames
[] = {
12243 (char *) "self",(char *) "faceName", NULL
12246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12248 if (!SWIG_IsOK(res1
)) {
12249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12251 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12253 arg2
= wxString_in_helper(obj1
);
12254 if (arg2
== NULL
) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12280 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
= 0;
12282 wxFont
*arg1
= (wxFont
*) 0 ;
12288 PyObject
* obj0
= 0 ;
12289 PyObject
* obj1
= 0 ;
12290 char * kwnames
[] = {
12291 (char *) "self",(char *) "underlined", NULL
12294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12296 if (!SWIG_IsOK(res1
)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12299 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12300 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12301 if (!SWIG_IsOK(ecode2
)) {
12302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12304 arg2
= static_cast< bool >(val2
);
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 (arg1
)->SetUnderlined(arg2
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_Py_Void();
12318 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
= 0;
12320 wxFont
*arg1
= (wxFont
*) 0 ;
12321 wxFontEncoding arg2
;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char * kwnames
[] = {
12329 (char *) "self",(char *) "encoding", NULL
12332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12334 if (!SWIG_IsOK(res1
)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
12337 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12339 if (!SWIG_IsOK(ecode2
)) {
12340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12342 arg2
= static_cast< wxFontEncoding
>(val2
);
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetEncoding(arg2
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_Py_Void();
12356 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
= 0;
12358 wxFont
*arg1
= (wxFont
*) 0 ;
12359 wxNativeFontInfo
*arg2
= 0 ;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 char * kwnames
[] = {
12367 (char *) "self",(char *) "info", NULL
12370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12372 if (!SWIG_IsOK(res1
)) {
12373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
12375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
12377 if (!SWIG_IsOK(res2
)) {
12378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
12383 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12386 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 wxFont
*arg1
= (wxFont
*) 0 ;
12400 wxString
*arg2
= 0 ;
12404 bool temp2
= false ;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 char * kwnames
[] = {
12408 (char *) "self",(char *) "info", NULL
12411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12413 if (!SWIG_IsOK(res1
)) {
12414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
12416 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12418 arg2
= wxString_in_helper(obj1
);
12419 if (arg2
== NULL
) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12445 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxFont
*arg1
= (wxFont
*) 0 ;
12448 wxString
*arg2
= 0 ;
12452 bool temp2
= false ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "self",(char *) "info", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
12464 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12466 arg2
= wxString_in_helper(obj1
);
12467 if (arg2
== NULL
) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12493 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 PyObject
*resultobj
= 0;
12495 wxFont
*arg1
= (wxFont
*) 0 ;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
12507 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= ((wxFont
const *)arg1
)->GetFamilyString();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12527 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12528 PyObject
*resultobj
= 0;
12529 wxFont
*arg1
= (wxFont
*) 0 ;
12533 PyObject
*swig_obj
[1] ;
12535 if (!args
) SWIG_fail
;
12536 swig_obj
[0] = args
;
12537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
12541 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= ((wxFont
const *)arg1
)->GetStyleString();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12561 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12562 PyObject
*resultobj
= 0;
12563 wxFont
*arg1
= (wxFont
*) 0 ;
12567 PyObject
*swig_obj
[1] ;
12569 if (!args
) SWIG_fail
;
12570 swig_obj
[0] = args
;
12571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12572 if (!SWIG_IsOK(res1
)) {
12573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
12575 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12578 result
= ((wxFont
const *)arg1
)->GetWeightString();
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12595 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxFont
*arg1
= (wxFont
*) 0 ;
12598 bool arg2
= (bool) true ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 char * kwnames
[] = {
12606 (char *) "self",(char *) "no", NULL
12609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12611 if (!SWIG_IsOK(res1
)) {
12612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
12614 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12616 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12617 if (!SWIG_IsOK(ecode2
)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
12620 arg2
= static_cast< bool >(val2
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->SetNoAntiAliasing(arg2
);
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12635 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12636 PyObject
*resultobj
= 0;
12637 wxFont
*arg1
= (wxFont
*) 0 ;
12641 PyObject
*swig_obj
[1] ;
12643 if (!args
) SWIG_fail
;
12644 swig_obj
[0] = args
;
12645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12646 if (!SWIG_IsOK(res1
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
12649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12665 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12666 PyObject
*resultobj
= 0;
12667 wxFontEncoding result
;
12669 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
12671 if (!wxPyCheckForApp()) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12677 resultobj
= SWIG_From_int(static_cast< int >(result
));
12684 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12685 PyObject
*resultobj
= 0;
12686 wxFontEncoding arg1
;
12689 PyObject
* obj0
= 0 ;
12690 char * kwnames
[] = {
12691 (char *) "encoding", NULL
12694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
12695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12696 if (!SWIG_IsOK(ecode1
)) {
12697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12699 arg1
= static_cast< wxFontEncoding
>(val1
);
12701 if (!wxPyCheckForApp()) SWIG_fail
;
12702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12703 wxFont::SetDefaultEncoding(arg1
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= SWIG_Py_Void();
12714 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12717 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
12718 return SWIG_Py_Void();
12721 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 return SWIG_Python_InitShadowInstance(args
);
12725 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 PyObject
*resultobj
= 0;
12727 wxPyFontEnumerator
*result
= 0 ;
12729 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
12731 if (!wxPyCheckForApp()) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
12744 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12745 PyObject
*resultobj
= 0;
12746 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12749 PyObject
*swig_obj
[1] ;
12751 if (!args
) SWIG_fail
;
12752 swig_obj
[0] = args
;
12753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12757 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= SWIG_Py_Void();
12772 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
= 0;
12774 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12775 PyObject
*arg2
= (PyObject
*) 0 ;
12776 PyObject
*arg3
= (PyObject
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 PyObject
* obj1
= 0 ;
12784 PyObject
* obj2
= 0 ;
12785 PyObject
* obj3
= 0 ;
12786 char * kwnames
[] = {
12787 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12795 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12798 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12799 if (!SWIG_IsOK(ecode4
)) {
12800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
12802 arg4
= static_cast< bool >(val4
);
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= SWIG_Py_Void();
12816 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
= 0;
12818 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12819 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
12820 bool arg3
= (bool) false ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 PyObject
* obj2
= 0 ;
12831 char * kwnames
[] = {
12832 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
12835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12837 if (!SWIG_IsOK(res1
)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12840 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12843 if (!SWIG_IsOK(ecode2
)) {
12844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12846 arg2
= static_cast< wxFontEncoding
>(val2
);
12849 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12850 if (!SWIG_IsOK(ecode3
)) {
12851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
12853 arg3
= static_cast< bool >(val3
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12870 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
= 0;
12872 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
12873 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12874 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12878 bool temp2
= false ;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 char * kwnames
[] = {
12882 (char *) "self",(char *) "facename", NULL
12885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
12890 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
12893 arg2
= wxString_in_helper(obj1
);
12894 if (arg2
== NULL
) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12921 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 PyObject
*resultobj
= 0;
12923 PyObject
*result
= 0 ;
12925 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= result
;
12939 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12940 PyObject
*resultobj
= 0;
12941 PyObject
*result
= 0 ;
12943 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= result
;
12957 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
= 0;
12959 wxString
*arg1
= 0 ;
12961 bool temp1
= false ;
12962 PyObject
* obj0
= 0 ;
12963 char * kwnames
[] = {
12964 (char *) "str", NULL
12967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
12969 arg1
= wxString_in_helper(obj0
);
12970 if (arg1
== NULL
) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12996 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12999 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13000 return SWIG_Py_Void();
13003 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13004 return SWIG_Python_InitShadowInstance(args
);
13007 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13008 PyObject
*resultobj
= 0;
13009 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13015 PyObject
*swig_obj
[2] ;
13017 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13022 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13023 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13024 if (!SWIG_IsOK(ecode2
)) {
13025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13027 arg2
= static_cast< int >(val2
);
13028 if (arg1
) (arg1
)->Language
= arg2
;
13030 resultobj
= SWIG_Py_Void();
13037 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13038 PyObject
*resultobj
= 0;
13039 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13043 PyObject
*swig_obj
[1] ;
13045 if (!args
) SWIG_fail
;
13046 swig_obj
[0] = args
;
13047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13048 if (!SWIG_IsOK(res1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13051 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13052 result
= (int) ((arg1
)->Language
);
13053 resultobj
= SWIG_From_int(static_cast< int >(result
));
13060 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13061 PyObject
*resultobj
= 0;
13062 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13063 wxString
*arg2
= (wxString
*) 0 ;
13066 bool temp2
= false ;
13067 PyObject
*swig_obj
[2] ;
13069 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13074 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13076 arg2
= wxString_in_helper(swig_obj
[1]);
13077 if (arg2
== NULL
) SWIG_fail
;
13080 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13082 resultobj
= SWIG_Py_Void();
13097 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13098 PyObject
*resultobj
= 0;
13099 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13100 wxString
*result
= 0 ;
13103 PyObject
*swig_obj
[1] ;
13105 if (!args
) SWIG_fail
;
13106 swig_obj
[0] = args
;
13107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13108 if (!SWIG_IsOK(res1
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13111 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13112 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13115 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13117 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13126 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13127 PyObject
*resultobj
= 0;
13128 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13129 wxString
*arg2
= (wxString
*) 0 ;
13132 bool temp2
= false ;
13133 PyObject
*swig_obj
[2] ;
13135 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13140 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13142 arg2
= wxString_in_helper(swig_obj
[1]);
13143 if (arg2
== NULL
) SWIG_fail
;
13146 if (arg1
) (arg1
)->Description
= *arg2
;
13148 resultobj
= SWIG_Py_Void();
13163 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 PyObject
*resultobj
= 0;
13165 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13166 wxString
*result
= 0 ;
13169 PyObject
*swig_obj
[1] ;
13171 if (!args
) SWIG_fail
;
13172 swig_obj
[0] = args
;
13173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13174 if (!SWIG_IsOK(res1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13177 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13178 result
= (wxString
*)& ((arg1
)->Description
);
13181 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13183 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13192 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13195 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13196 return SWIG_Py_Void();
13199 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
= 0;
13201 int arg1
= (int) -1 ;
13202 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13203 wxLocale
*result
= 0 ;
13208 PyObject
* obj0
= 0 ;
13209 PyObject
* obj1
= 0 ;
13210 char * kwnames
[] = {
13211 (char *) "language",(char *) "flags", NULL
13214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13217 if (!SWIG_IsOK(ecode1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13220 arg1
= static_cast< int >(val1
);
13223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13224 if (!SWIG_IsOK(ecode2
)) {
13225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13227 arg2
= static_cast< int >(val2
);
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13242 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13243 PyObject
*resultobj
= 0;
13244 wxLocale
*arg1
= (wxLocale
*) 0 ;
13247 PyObject
*swig_obj
[1] ;
13249 if (!args
) SWIG_fail
;
13250 swig_obj
[0] = args
;
13251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13252 if (!SWIG_IsOK(res1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13255 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_Py_Void();
13270 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
= 0;
13272 wxLocale
*arg1
= (wxLocale
*) 0 ;
13273 wxString
*arg2
= 0 ;
13274 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13275 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13276 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13277 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13278 bool arg5
= (bool) true ;
13279 bool arg6
= (bool) false ;
13283 bool temp2
= false ;
13284 bool temp3
= false ;
13285 bool temp4
= false ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 PyObject
* obj2
= 0 ;
13293 PyObject
* obj3
= 0 ;
13294 PyObject
* obj4
= 0 ;
13295 PyObject
* obj5
= 0 ;
13296 char * kwnames
[] = {
13297 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13305 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13307 arg2
= wxString_in_helper(obj1
);
13308 if (arg2
== NULL
) SWIG_fail
;
13313 arg3
= wxString_in_helper(obj2
);
13314 if (arg3
== NULL
) SWIG_fail
;
13320 arg4
= wxString_in_helper(obj3
);
13321 if (arg4
== NULL
) SWIG_fail
;
13326 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13327 if (!SWIG_IsOK(ecode5
)) {
13328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13330 arg5
= static_cast< bool >(val5
);
13333 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13334 if (!SWIG_IsOK(ecode6
)) {
13335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13337 arg6
= static_cast< bool >(val6
);
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13378 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
= 0;
13380 wxLocale
*arg1
= (wxLocale
*) 0 ;
13381 int arg2
= (int) wxLANGUAGE_DEFAULT
;
13382 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13390 PyObject
* obj0
= 0 ;
13391 PyObject
* obj1
= 0 ;
13392 PyObject
* obj2
= 0 ;
13393 char * kwnames
[] = {
13394 (char *) "self",(char *) "language",(char *) "flags", NULL
13397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13399 if (!SWIG_IsOK(res1
)) {
13400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
13402 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13405 if (!SWIG_IsOK(ecode2
)) {
13406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
13408 arg2
= static_cast< int >(val2
);
13411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13412 if (!SWIG_IsOK(ecode3
)) {
13413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
13415 arg3
= static_cast< int >(val3
);
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13432 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13433 PyObject
*resultobj
= 0;
13436 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (int)wxLocale::GetSystemLanguage();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_From_int(static_cast< int >(result
));
13450 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13451 PyObject
*resultobj
= 0;
13452 wxFontEncoding result
;
13454 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_From_int(static_cast< int >(result
));
13468 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13472 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= wxLocale::GetSystemEncodingName();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13492 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13493 PyObject
*resultobj
= 0;
13494 wxLocale
*arg1
= (wxLocale
*) 0 ;
13498 PyObject
*swig_obj
[1] ;
13500 if (!args
) SWIG_fail
;
13501 swig_obj
[0] = args
;
13502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13503 if (!SWIG_IsOK(res1
)) {
13504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
13506 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13522 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13523 PyObject
*resultobj
= 0;
13524 wxLocale
*arg1
= (wxLocale
*) 0 ;
13528 PyObject
*swig_obj
[1] ;
13530 if (!args
) SWIG_fail
;
13531 swig_obj
[0] = args
;
13532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
13536 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= ((wxLocale
const *)arg1
)->GetLocale();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13556 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxLocale
*arg1
= (wxLocale
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
13570 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_From_int(static_cast< int >(result
));
13584 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxLocale
*arg1
= (wxLocale
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13598 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= ((wxLocale
const *)arg1
)->GetSysName();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13618 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13619 PyObject
*resultobj
= 0;
13620 wxLocale
*arg1
= (wxLocale
*) 0 ;
13624 PyObject
*swig_obj
[1] ;
13626 if (!args
) SWIG_fail
;
13627 swig_obj
[0] = args
;
13628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
13632 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13652 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
= 0;
13654 wxString
*arg1
= 0 ;
13655 bool temp1
= false ;
13656 PyObject
* obj0
= 0 ;
13657 char * kwnames
[] = {
13658 (char *) "prefix", NULL
13661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
13663 arg1
= wxString_in_helper(obj0
);
13664 if (arg1
== NULL
) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= SWIG_Py_Void();
13688 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
= 0;
13690 wxLocale
*arg1
= (wxLocale
*) 0 ;
13691 wxString
*arg2
= 0 ;
13695 bool temp2
= false ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 char * kwnames
[] = {
13699 (char *) "self",(char *) "szDomain", NULL
13702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
13707 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13709 arg2
= wxString_in_helper(obj1
);
13710 if (arg2
== NULL
) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13736 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
= 0;
13738 wxLocale
*arg1
= (wxLocale
*) 0 ;
13739 wxString
*arg2
= 0 ;
13743 bool temp2
= false ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char * kwnames
[] = {
13747 (char *) "self",(char *) "szDomain", NULL
13750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
13755 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13757 arg2
= wxString_in_helper(obj1
);
13758 if (arg2
== NULL
) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13784 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
= 0;
13787 wxLanguageInfo
*result
= 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char * kwnames
[] = {
13792 (char *) "lang", NULL
13795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13797 if (!SWIG_IsOK(ecode1
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
13800 arg1
= static_cast< int >(val1
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13814 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
= 0;
13820 PyObject
* obj0
= 0 ;
13821 char * kwnames
[] = {
13822 (char *) "lang", NULL
13825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
13826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13827 if (!SWIG_IsOK(ecode1
)) {
13828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
13830 arg1
= static_cast< int >(val1
);
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= wxLocale::GetLanguageName(arg1
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13850 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxString
*arg1
= 0 ;
13853 wxLanguageInfo
*result
= 0 ;
13854 bool temp1
= false ;
13855 PyObject
* obj0
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "locale", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
13862 arg1
= wxString_in_helper(obj0
);
13863 if (arg1
== NULL
) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
13869 wxPyEndAllowThreads(__tstate
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13887 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13889 wxLanguageInfo
*arg1
= 0 ;
13892 PyObject
* obj0
= 0 ;
13893 char * kwnames
[] = {
13894 (char *) "info", NULL
13897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
13898 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
13905 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= SWIG_Py_Void();
13919 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
= 0;
13921 wxLocale
*arg1
= (wxLocale
*) 0 ;
13922 wxString
*arg2
= 0 ;
13923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13928 bool temp2
= false ;
13929 bool temp3
= false ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 PyObject
* obj2
= 0 ;
13933 char * kwnames
[] = {
13934 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
13937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13939 if (!SWIG_IsOK(res1
)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
13942 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13944 arg2
= wxString_in_helper(obj1
);
13945 if (arg2
== NULL
) SWIG_fail
;
13950 arg3
= wxString_in_helper(obj2
);
13951 if (arg3
== NULL
) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13990 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13991 PyObject
*resultobj
= 0;
13992 wxLocale
*arg1
= (wxLocale
*) 0 ;
13993 wxString
*result
= 0 ;
13996 PyObject
*swig_obj
[1] ;
13998 if (!args
) SWIG_fail
;
13999 swig_obj
[0] = args
;
14000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14001 if (!SWIG_IsOK(res1
)) {
14002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14004 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14009 result
= (wxString
*) &_result_ref
;
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14018 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14027 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14030 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14031 return SWIG_Py_Void();
14034 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14035 return SWIG_Python_InitShadowInstance(args
);
14038 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14039 PyObject
*resultobj
= 0;
14040 wxLocale
*result
= 0 ;
14042 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 result
= (wxLocale
*)wxGetLocale();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14056 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14057 PyObject
*resultobj
= 0;
14058 wxString
*arg1
= 0 ;
14060 bool temp1
= false ;
14062 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14064 arg1
= wxString_in_helper(swig_obj
[0]);
14065 if (arg1
== NULL
) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= wxGetTranslation((wxString
const &)*arg1
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14095 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14096 PyObject
*resultobj
= 0;
14097 wxString
*arg1
= 0 ;
14098 wxString
*arg2
= 0 ;
14101 bool temp1
= false ;
14102 bool temp2
= false ;
14106 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14108 arg1
= wxString_in_helper(swig_obj
[0]);
14109 if (arg1
== NULL
) SWIG_fail
;
14113 arg2
= wxString_in_helper(swig_obj
[1]);
14114 if (arg2
== NULL
) SWIG_fail
;
14117 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14118 if (!SWIG_IsOK(ecode3
)) {
14119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14121 arg3
= static_cast< size_t >(val3
);
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14125 wxPyEndAllowThreads(__tstate
);
14126 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14157 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14161 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14164 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14167 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14171 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14176 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14177 PyObject
*resultobj
= 0;
14178 wxEncodingConverter
*result
= 0 ;
14180 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14194 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14195 PyObject
*resultobj
= 0;
14196 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14199 PyObject
*swig_obj
[1] ;
14201 if (!args
) SWIG_fail
;
14202 swig_obj
[0] = args
;
14203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14204 if (!SWIG_IsOK(res1
)) {
14205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14207 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_Py_Void();
14222 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14223 PyObject
*resultobj
= 0;
14224 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14225 wxFontEncoding arg2
;
14226 wxFontEncoding arg3
;
14227 int arg4
= (int) wxCONVERT_STRICT
;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 PyObject
* obj2
= 0 ;
14240 PyObject
* obj3
= 0 ;
14241 char * kwnames
[] = {
14242 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14247 if (!SWIG_IsOK(res1
)) {
14248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14250 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14252 if (!SWIG_IsOK(ecode2
)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14255 arg2
= static_cast< wxFontEncoding
>(val2
);
14256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14257 if (!SWIG_IsOK(ecode3
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14260 arg3
= static_cast< wxFontEncoding
>(val3
);
14262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14263 if (!SWIG_IsOK(ecode4
)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14266 arg4
= static_cast< int >(val4
);
14269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14270 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14283 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14286 wxString
*arg2
= 0 ;
14290 bool temp2
= false ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char * kwnames
[] = {
14294 (char *) "self",(char *) "input", NULL
14297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14302 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14304 arg2
= wxString_in_helper(obj1
);
14305 if (arg2
== NULL
) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14335 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
= 0;
14337 wxFontEncoding arg1
;
14338 int arg2
= (int) wxPLATFORM_CURRENT
;
14339 wxFontEncodingArray result
;
14344 PyObject
* obj0
= 0 ;
14345 PyObject
* obj1
= 0 ;
14346 char * kwnames
[] = {
14347 (char *) "enc",(char *) "platform", NULL
14350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14352 if (!SWIG_IsOK(ecode1
)) {
14353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14355 arg1
= static_cast< wxFontEncoding
>(val1
);
14357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14358 if (!SWIG_IsOK(ecode2
)) {
14359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
14361 arg2
= static_cast< int >(val2
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= PyList_New(0);
14371 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14372 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14373 PyList_Append(resultobj
, number
);
14383 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
= 0;
14385 wxFontEncoding arg1
;
14386 wxFontEncodingArray result
;
14389 PyObject
* obj0
= 0 ;
14390 char * kwnames
[] = {
14391 (char *) "enc", NULL
14394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
14395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14396 if (!SWIG_IsOK(ecode1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14399 arg1
= static_cast< wxFontEncoding
>(val1
);
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= PyList_New(0);
14408 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
14409 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
14410 PyList_Append(resultobj
, number
);
14420 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxFontEncoding arg1
;
14423 wxFontEncoding arg2
;
14429 PyObject
* obj0
= 0 ;
14430 PyObject
* obj1
= 0 ;
14431 char * kwnames
[] = {
14432 (char *) "encIn",(char *) "encOut", NULL
14435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14437 if (!SWIG_IsOK(ecode1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14440 arg1
= static_cast< wxFontEncoding
>(val1
);
14441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14442 if (!SWIG_IsOK(ecode2
)) {
14443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14445 arg2
= static_cast< wxFontEncoding
>(val2
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14464 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
14465 return SWIG_Py_Void();
14468 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14469 return SWIG_Python_InitShadowInstance(args
);
14472 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxDC
*arg1
= (wxDC
*) 0 ;
14477 PyObject
*swig_obj
[1] ;
14479 if (!args
) SWIG_fail
;
14480 swig_obj
[0] = args
;
14481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
14485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_Py_Void();
14500 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
= 0;
14502 wxDC
*arg1
= (wxDC
*) 0 ;
14505 wxColour
*arg4
= 0 ;
14506 int arg5
= (int) wxFLOOD_SURFACE
;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 PyObject
* obj2
= 0 ;
14520 PyObject
* obj3
= 0 ;
14521 PyObject
* obj4
= 0 ;
14522 char * kwnames
[] = {
14523 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
14526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14528 if (!SWIG_IsOK(res1
)) {
14529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
14531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14533 if (!SWIG_IsOK(ecode2
)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
14536 arg2
= static_cast< int >(val2
);
14537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14538 if (!SWIG_IsOK(ecode3
)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
14541 arg3
= static_cast< int >(val3
);
14544 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14547 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14548 if (!SWIG_IsOK(ecode5
)) {
14549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
14551 arg5
= static_cast< int >(val5
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14568 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
= 0;
14570 wxDC
*arg1
= (wxDC
*) 0 ;
14571 wxPoint
*arg2
= 0 ;
14572 wxColour
*arg3
= 0 ;
14573 int arg4
= (int) wxFLOOD_SURFACE
;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 PyObject
* obj2
= 0 ;
14584 PyObject
* obj3
= 0 ;
14585 char * kwnames
[] = {
14586 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
14589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14601 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14605 if (!SWIG_IsOK(ecode4
)) {
14606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
14608 arg4
= static_cast< int >(val4
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14625 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
= 0;
14627 wxDC
*arg1
= (wxDC
*) 0 ;
14629 wxColour
*arg3
= 0 ;
14630 wxColour
*arg4
= 0 ;
14631 wxPoint
*arg5
= 0 ;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 PyObject
* obj2
= 0 ;
14641 PyObject
* obj3
= 0 ;
14642 PyObject
* obj4
= 0 ;
14643 char * kwnames
[] = {
14644 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
14647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14649 if (!SWIG_IsOK(res1
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
14652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14655 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14659 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14663 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14667 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= SWIG_Py_Void();
14682 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
= 0;
14684 wxDC
*arg1
= (wxDC
*) 0 ;
14686 wxColour
*arg3
= 0 ;
14687 wxColour
*arg4
= 0 ;
14688 wxDirection arg5
= (wxDirection
) wxEAST
;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 PyObject
* obj2
= 0 ;
14699 PyObject
* obj3
= 0 ;
14700 PyObject
* obj4
= 0 ;
14701 char * kwnames
[] = {
14702 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
14705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
14710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14713 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
14717 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14721 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
14724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14725 if (!SWIG_IsOK(ecode5
)) {
14726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
14728 arg5
= static_cast< wxDirection
>(val5
);
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= SWIG_Py_Void();
14743 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
= 0;
14745 wxDC
*arg1
= (wxDC
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 PyObject
* obj2
= 0 ;
14758 char * kwnames
[] = {
14759 (char *) "self",(char *) "x",(char *) "y", NULL
14762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14764 if (!SWIG_IsOK(res1
)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
14767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14769 if (!SWIG_IsOK(ecode2
)) {
14770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
14772 arg2
= static_cast< int >(val2
);
14773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14774 if (!SWIG_IsOK(ecode3
)) {
14775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
14777 arg3
= static_cast< int >(val3
);
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14791 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
= 0;
14793 wxDC
*arg1
= (wxDC
*) 0 ;
14794 wxPoint
*arg2
= 0 ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 char * kwnames
[] = {
14802 (char *) "self",(char *) "pt", NULL
14805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
14810 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14813 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
14828 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxDC
*arg1
= (wxDC
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 PyObject
* obj2
= 0 ;
14848 PyObject
* obj3
= 0 ;
14849 PyObject
* obj4
= 0 ;
14850 char * kwnames
[] = {
14851 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
14854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
14859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14861 if (!SWIG_IsOK(ecode2
)) {
14862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
14864 arg2
= static_cast< int >(val2
);
14865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14866 if (!SWIG_IsOK(ecode3
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
14869 arg3
= static_cast< int >(val3
);
14870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14871 if (!SWIG_IsOK(ecode4
)) {
14872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
14874 arg4
= static_cast< int >(val4
);
14875 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14876 if (!SWIG_IsOK(ecode5
)) {
14877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
14879 arg5
= static_cast< int >(val5
);
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_Py_Void();
14893 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
= 0;
14895 wxDC
*arg1
= (wxDC
*) 0 ;
14896 wxPoint
*arg2
= 0 ;
14897 wxPoint
*arg3
= 0 ;
14902 PyObject
* obj0
= 0 ;
14903 PyObject
* obj1
= 0 ;
14904 PyObject
* obj2
= 0 ;
14905 char * kwnames
[] = {
14906 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
14909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14911 if (!SWIG_IsOK(res1
)) {
14912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
14914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14921 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_Py_Void();
14936 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14937 PyObject
*resultobj
= 0;
14938 wxDC
*arg1
= (wxDC
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 PyObject
* obj2
= 0 ;
14950 char * kwnames
[] = {
14951 (char *) "self",(char *) "x",(char *) "y", NULL
14954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14956 if (!SWIG_IsOK(res1
)) {
14957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
14959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
14960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14961 if (!SWIG_IsOK(ecode2
)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
14964 arg2
= static_cast< int >(val2
);
14965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14966 if (!SWIG_IsOK(ecode3
)) {
14967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
14969 arg3
= static_cast< int >(val3
);
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->CrossHair(arg2
,arg3
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_Py_Void();
14983 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
= 0;
14985 wxDC
*arg1
= (wxDC
*) 0 ;
14986 wxPoint
*arg2
= 0 ;
14990 PyObject
* obj0
= 0 ;
14991 PyObject
* obj1
= 0 ;
14992 char * kwnames
[] = {
14993 (char *) "self",(char *) "pt", NULL
14996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
14998 if (!SWIG_IsOK(res1
)) {
14999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15004 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 resultobj
= SWIG_Py_Void();
15019 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
= 0;
15021 wxDC
*arg1
= (wxDC
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 PyObject
* obj2
= 0 ;
15045 PyObject
* obj3
= 0 ;
15046 PyObject
* obj4
= 0 ;
15047 PyObject
* obj5
= 0 ;
15048 PyObject
* obj6
= 0 ;
15049 char * kwnames
[] = {
15050 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15055 if (!SWIG_IsOK(res1
)) {
15056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15060 if (!SWIG_IsOK(ecode2
)) {
15061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15063 arg2
= static_cast< int >(val2
);
15064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15065 if (!SWIG_IsOK(ecode3
)) {
15066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15068 arg3
= static_cast< int >(val3
);
15069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15070 if (!SWIG_IsOK(ecode4
)) {
15071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15073 arg4
= static_cast< int >(val4
);
15074 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15075 if (!SWIG_IsOK(ecode5
)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15078 arg5
= static_cast< int >(val5
);
15079 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15080 if (!SWIG_IsOK(ecode6
)) {
15081 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15083 arg6
= static_cast< int >(val6
);
15084 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15085 if (!SWIG_IsOK(ecode7
)) {
15086 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15088 arg7
= static_cast< int >(val7
);
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= SWIG_Py_Void();
15102 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
= 0;
15104 wxDC
*arg1
= (wxDC
*) 0 ;
15105 wxPoint
*arg2
= 0 ;
15106 wxPoint
*arg3
= 0 ;
15107 wxPoint
*arg4
= 0 ;
15113 PyObject
* obj0
= 0 ;
15114 PyObject
* obj1
= 0 ;
15115 PyObject
* obj2
= 0 ;
15116 PyObject
* obj3
= 0 ;
15117 char * kwnames
[] = {
15118 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= SWIG_Py_Void();
15152 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
= 0;
15154 wxDC
*arg1
= (wxDC
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 PyObject
* obj2
= 0 ;
15172 PyObject
* obj3
= 0 ;
15173 PyObject
* obj4
= 0 ;
15174 char * kwnames
[] = {
15175 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15180 if (!SWIG_IsOK(res1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15185 if (!SWIG_IsOK(ecode2
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15188 arg2
= static_cast< int >(val2
);
15189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15190 if (!SWIG_IsOK(ecode3
)) {
15191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15193 arg3
= static_cast< int >(val3
);
15194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15195 if (!SWIG_IsOK(ecode4
)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15198 arg4
= static_cast< int >(val4
);
15199 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15200 if (!SWIG_IsOK(ecode5
)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15203 arg5
= static_cast< int >(val5
);
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_Py_Void();
15217 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
= 0;
15219 wxDC
*arg1
= (wxDC
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char * kwnames
[] = {
15227 (char *) "self",(char *) "rect", NULL
15230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15232 if (!SWIG_IsOK(res1
)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15238 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_Py_Void();
15253 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
= 0;
15255 wxDC
*arg1
= (wxDC
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 PyObject
* obj2
= 0 ;
15279 PyObject
* obj3
= 0 ;
15280 PyObject
* obj4
= 0 ;
15281 PyObject
* obj5
= 0 ;
15282 PyObject
* obj6
= 0 ;
15283 char * kwnames
[] = {
15284 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15289 if (!SWIG_IsOK(res1
)) {
15290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15294 if (!SWIG_IsOK(ecode2
)) {
15295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15297 arg2
= static_cast< int >(val2
);
15298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15299 if (!SWIG_IsOK(ecode3
)) {
15300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15302 arg3
= static_cast< int >(val3
);
15303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15304 if (!SWIG_IsOK(ecode4
)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15307 arg4
= static_cast< int >(val4
);
15308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15309 if (!SWIG_IsOK(ecode5
)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15312 arg5
= static_cast< int >(val5
);
15313 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15314 if (!SWIG_IsOK(ecode6
)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15317 arg6
= static_cast< double >(val6
);
15318 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15319 if (!SWIG_IsOK(ecode7
)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15322 arg7
= static_cast< double >(val7
);
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_Py_Void();
15336 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
= 0;
15338 wxDC
*arg1
= (wxDC
*) 0 ;
15339 wxPoint
*arg2
= 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 PyObject
* obj2
= 0 ;
15354 PyObject
* obj3
= 0 ;
15355 PyObject
* obj4
= 0 ;
15356 char * kwnames
[] = {
15357 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15362 if (!SWIG_IsOK(res1
)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15372 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15374 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15375 if (!SWIG_IsOK(ecode4
)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
15378 arg4
= static_cast< double >(val4
);
15379 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
15380 if (!SWIG_IsOK(ecode5
)) {
15381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
15383 arg5
= static_cast< double >(val5
);
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_Py_Void();
15397 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
= 0;
15399 wxDC
*arg1
= (wxDC
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 char * kwnames
[] = {
15412 (char *) "self",(char *) "x",(char *) "y", NULL
15415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15417 if (!SWIG_IsOK(res1
)) {
15418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15422 if (!SWIG_IsOK(ecode2
)) {
15423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
15425 arg2
= static_cast< int >(val2
);
15426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15427 if (!SWIG_IsOK(ecode3
)) {
15428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
15430 arg3
= static_cast< int >(val3
);
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 (arg1
)->DrawPoint(arg2
,arg3
);
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_Py_Void();
15444 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15445 PyObject
*resultobj
= 0;
15446 wxDC
*arg1
= (wxDC
*) 0 ;
15447 wxPoint
*arg2
= 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char * kwnames
[] = {
15454 (char *) "self",(char *) "pt", NULL
15457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15459 if (!SWIG_IsOK(res1
)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= SWIG_Py_Void();
15480 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
= 0;
15482 wxDC
*arg1
= (wxDC
*) 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 PyObject
* obj3
= 0 ;
15501 PyObject
* obj4
= 0 ;
15502 char * kwnames
[] = {
15503 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15513 if (!SWIG_IsOK(ecode2
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
15516 arg2
= static_cast< int >(val2
);
15517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15518 if (!SWIG_IsOK(ecode3
)) {
15519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
15521 arg3
= static_cast< int >(val3
);
15522 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15523 if (!SWIG_IsOK(ecode4
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
15526 arg4
= static_cast< int >(val4
);
15527 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15528 if (!SWIG_IsOK(ecode5
)) {
15529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
15531 arg5
= static_cast< int >(val5
);
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_Py_Void();
15545 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
= 0;
15547 wxDC
*arg1
= (wxDC
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "rect", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15566 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_Py_Void();
15581 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
= 0;
15583 wxDC
*arg1
= (wxDC
*) 0 ;
15584 wxPoint
*arg2
= 0 ;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 PyObject
* obj2
= 0 ;
15593 char * kwnames
[] = {
15594 (char *) "self",(char *) "pt",(char *) "sz", NULL
15597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15609 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_Py_Void();
15624 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxDC
*arg1
= (wxDC
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 PyObject
* obj3
= 0 ;
15648 PyObject
* obj4
= 0 ;
15649 PyObject
* obj5
= 0 ;
15650 char * kwnames
[] = {
15651 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
15654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15656 if (!SWIG_IsOK(res1
)) {
15657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
15659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15661 if (!SWIG_IsOK(ecode2
)) {
15662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
15664 arg2
= static_cast< int >(val2
);
15665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15666 if (!SWIG_IsOK(ecode3
)) {
15667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
15669 arg3
= static_cast< int >(val3
);
15670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15671 if (!SWIG_IsOK(ecode4
)) {
15672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
15674 arg4
= static_cast< int >(val4
);
15675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15676 if (!SWIG_IsOK(ecode5
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
15679 arg5
= static_cast< int >(val5
);
15680 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15681 if (!SWIG_IsOK(ecode6
)) {
15682 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
15684 arg6
= static_cast< double >(val6
);
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_Py_Void();
15698 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
= 0;
15700 wxDC
*arg1
= (wxDC
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 PyObject
* obj1
= 0 ;
15710 PyObject
* obj2
= 0 ;
15711 char * kwnames
[] = {
15712 (char *) "self",(char *) "r",(char *) "radius", NULL
15715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15717 if (!SWIG_IsOK(res1
)) {
15718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
15720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15725 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
15726 if (!SWIG_IsOK(ecode3
)) {
15727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
15729 arg3
= static_cast< double >(val3
);
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_Py_Void();
15743 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
= 0;
15745 wxDC
*arg1
= (wxDC
*) 0 ;
15746 wxPoint
*arg2
= 0 ;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 PyObject
* obj2
= 0 ;
15758 PyObject
* obj3
= 0 ;
15759 char * kwnames
[] = {
15760 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
15763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15765 if (!SWIG_IsOK(res1
)) {
15766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
15768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15775 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
15777 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
15778 if (!SWIG_IsOK(ecode4
)) {
15779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
15781 arg4
= static_cast< double >(val4
);
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_Py_Void();
15795 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15796 PyObject
*resultobj
= 0;
15797 wxDC
*arg1
= (wxDC
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 PyObject
* obj1
= 0 ;
15811 PyObject
* obj2
= 0 ;
15812 PyObject
* obj3
= 0 ;
15813 char * kwnames
[] = {
15814 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
15817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15819 if (!SWIG_IsOK(res1
)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
15822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15824 if (!SWIG_IsOK(ecode2
)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
15827 arg2
= static_cast< int >(val2
);
15828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15829 if (!SWIG_IsOK(ecode3
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
15832 arg3
= static_cast< int >(val3
);
15833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15834 if (!SWIG_IsOK(ecode4
)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
15837 arg4
= static_cast< int >(val4
);
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_Py_Void();
15851 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
= 0;
15853 wxDC
*arg1
= (wxDC
*) 0 ;
15854 wxPoint
*arg2
= 0 ;
15861 PyObject
* obj0
= 0 ;
15862 PyObject
* obj1
= 0 ;
15863 PyObject
* obj2
= 0 ;
15864 char * kwnames
[] = {
15865 (char *) "self",(char *) "pt",(char *) "radius", NULL
15868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15879 if (!SWIG_IsOK(ecode3
)) {
15880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
15882 arg3
= static_cast< int >(val3
);
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_Py_Void();
15896 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
= 0;
15898 wxDC
*arg1
= (wxDC
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 PyObject
* obj1
= 0 ;
15915 PyObject
* obj2
= 0 ;
15916 PyObject
* obj3
= 0 ;
15917 PyObject
* obj4
= 0 ;
15918 char * kwnames
[] = {
15919 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
15927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15929 if (!SWIG_IsOK(ecode2
)) {
15930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
15932 arg2
= static_cast< int >(val2
);
15933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15934 if (!SWIG_IsOK(ecode3
)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
15937 arg3
= static_cast< int >(val3
);
15938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15939 if (!SWIG_IsOK(ecode4
)) {
15940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
15942 arg4
= static_cast< int >(val4
);
15943 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15944 if (!SWIG_IsOK(ecode5
)) {
15945 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
15947 arg5
= static_cast< int >(val5
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_Py_Void();
15961 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
= 0;
15963 wxDC
*arg1
= (wxDC
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 PyObject
* obj1
= 0 ;
15970 char * kwnames
[] = {
15971 (char *) "self",(char *) "rect", NULL
15974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15976 if (!SWIG_IsOK(res1
)) {
15977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
15979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_Py_Void();
15997 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
= 0;
15999 wxDC
*arg1
= (wxDC
*) 0 ;
16000 wxPoint
*arg2
= 0 ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 PyObject
* obj2
= 0 ;
16009 char * kwnames
[] = {
16010 (char *) "self",(char *) "pt",(char *) "sz", NULL
16013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16015 if (!SWIG_IsOK(res1
)) {
16016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16021 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16025 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= SWIG_Py_Void();
16040 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
= 0;
16042 wxDC
*arg1
= (wxDC
*) 0 ;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 PyObject
* obj2
= 0 ;
16057 PyObject
* obj3
= 0 ;
16058 char * kwnames
[] = {
16059 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16069 if (!SWIG_IsOK(res2
)) {
16070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16075 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16077 if (!SWIG_IsOK(ecode3
)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16080 arg3
= static_cast< int >(val3
);
16081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16082 if (!SWIG_IsOK(ecode4
)) {
16083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16085 arg4
= static_cast< int >(val4
);
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= SWIG_Py_Void();
16099 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
= 0;
16101 wxDC
*arg1
= (wxDC
*) 0 ;
16103 wxPoint
*arg3
= 0 ;
16109 PyObject
* obj0
= 0 ;
16110 PyObject
* obj1
= 0 ;
16111 PyObject
* obj2
= 0 ;
16112 char * kwnames
[] = {
16113 (char *) "self",(char *) "icon",(char *) "pt", NULL
16116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16118 if (!SWIG_IsOK(res1
)) {
16119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16123 if (!SWIG_IsOK(res2
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16129 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_Py_Void();
16147 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
= 0;
16149 wxDC
*arg1
= (wxDC
*) 0 ;
16150 wxBitmap
*arg2
= 0 ;
16153 bool arg5
= (bool) false ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 PyObject
* obj2
= 0 ;
16167 PyObject
* obj3
= 0 ;
16168 PyObject
* obj4
= 0 ;
16169 char * kwnames
[] = {
16170 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16175 if (!SWIG_IsOK(res1
)) {
16176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16180 if (!SWIG_IsOK(res2
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16186 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16188 if (!SWIG_IsOK(ecode3
)) {
16189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16191 arg3
= static_cast< int >(val3
);
16192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16193 if (!SWIG_IsOK(ecode4
)) {
16194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16196 arg4
= static_cast< int >(val4
);
16198 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16199 if (!SWIG_IsOK(ecode5
)) {
16200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16202 arg5
= static_cast< bool >(val5
);
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16207 wxPyEndAllowThreads(__tstate
);
16208 if (PyErr_Occurred()) SWIG_fail
;
16210 resultobj
= SWIG_Py_Void();
16217 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
= 0;
16219 wxDC
*arg1
= (wxDC
*) 0 ;
16220 wxBitmap
*arg2
= 0 ;
16221 wxPoint
*arg3
= 0 ;
16222 bool arg4
= (bool) false ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 PyObject
* obj2
= 0 ;
16233 PyObject
* obj3
= 0 ;
16234 char * kwnames
[] = {
16235 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16245 if (!SWIG_IsOK(res2
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16251 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16257 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16258 if (!SWIG_IsOK(ecode4
)) {
16259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16261 arg4
= static_cast< bool >(val4
);
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16265 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_Py_Void();
16276 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
= 0;
16278 wxDC
*arg1
= (wxDC
*) 0 ;
16279 wxString
*arg2
= 0 ;
16284 bool temp2
= false ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 PyObject
* obj2
= 0 ;
16292 PyObject
* obj3
= 0 ;
16293 char * kwnames
[] = {
16294 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16304 arg2
= wxString_in_helper(obj1
);
16305 if (arg2
== NULL
) SWIG_fail
;
16308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16309 if (!SWIG_IsOK(ecode3
)) {
16310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16312 arg3
= static_cast< int >(val3
);
16313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16314 if (!SWIG_IsOK(ecode4
)) {
16315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16317 arg4
= static_cast< int >(val4
);
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_Py_Void();
16339 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
= 0;
16341 wxDC
*arg1
= (wxDC
*) 0 ;
16342 wxString
*arg2
= 0 ;
16343 wxPoint
*arg3
= 0 ;
16346 bool temp2
= false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 PyObject
* obj2
= 0 ;
16351 char * kwnames
[] = {
16352 (char *) "self",(char *) "text",(char *) "pt", NULL
16355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16357 if (!SWIG_IsOK(res1
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16362 arg2
= wxString_in_helper(obj1
);
16363 if (arg2
== NULL
) SWIG_fail
;
16368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= SWIG_Py_Void();
16391 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
= 0;
16393 wxDC
*arg1
= (wxDC
*) 0 ;
16394 wxString
*arg2
= 0 ;
16400 bool temp2
= false ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 PyObject
* obj2
= 0 ;
16410 PyObject
* obj3
= 0 ;
16411 PyObject
* obj4
= 0 ;
16412 char * kwnames
[] = {
16413 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
16416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16418 if (!SWIG_IsOK(res1
)) {
16419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
16421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16423 arg2
= wxString_in_helper(obj1
);
16424 if (arg2
== NULL
) SWIG_fail
;
16427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16428 if (!SWIG_IsOK(ecode3
)) {
16429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
16431 arg3
= static_cast< int >(val3
);
16432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16433 if (!SWIG_IsOK(ecode4
)) {
16434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
16436 arg4
= static_cast< int >(val4
);
16437 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16438 if (!SWIG_IsOK(ecode5
)) {
16439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
16441 arg5
= static_cast< double >(val5
);
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_Py_Void();
16463 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
= 0;
16465 wxDC
*arg1
= (wxDC
*) 0 ;
16466 wxString
*arg2
= 0 ;
16467 wxPoint
*arg3
= 0 ;
16471 bool temp2
= false ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 PyObject
* obj2
= 0 ;
16478 PyObject
* obj3
= 0 ;
16479 char * kwnames
[] = {
16480 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
16483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16485 if (!SWIG_IsOK(res1
)) {
16486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16490 arg2
= wxString_in_helper(obj1
);
16491 if (arg2
== NULL
) SWIG_fail
;
16496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16498 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16499 if (!SWIG_IsOK(ecode4
)) {
16500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
16502 arg4
= static_cast< double >(val4
);
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= SWIG_Py_Void();
16524 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
= 0;
16526 wxDC
*arg1
= (wxDC
*) 0 ;
16531 wxDC
*arg6
= (wxDC
*) 0 ;
16534 int arg9
= (int) wxCOPY
;
16535 bool arg10
= (bool) false ;
16536 int arg11
= (int) -1 ;
16537 int arg12
= (int) -1 ;
16563 PyObject
* obj0
= 0 ;
16564 PyObject
* obj1
= 0 ;
16565 PyObject
* obj2
= 0 ;
16566 PyObject
* obj3
= 0 ;
16567 PyObject
* obj4
= 0 ;
16568 PyObject
* obj5
= 0 ;
16569 PyObject
* obj6
= 0 ;
16570 PyObject
* obj7
= 0 ;
16571 PyObject
* obj8
= 0 ;
16572 PyObject
* obj9
= 0 ;
16573 PyObject
* obj10
= 0 ;
16574 PyObject
* obj11
= 0 ;
16575 char * kwnames
[] = {
16576 (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
16579 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
;
16580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16581 if (!SWIG_IsOK(res1
)) {
16582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
16584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16586 if (!SWIG_IsOK(ecode2
)) {
16587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
16589 arg2
= static_cast< int >(val2
);
16590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16591 if (!SWIG_IsOK(ecode3
)) {
16592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
16594 arg3
= static_cast< int >(val3
);
16595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16596 if (!SWIG_IsOK(ecode4
)) {
16597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
16599 arg4
= static_cast< int >(val4
);
16600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16601 if (!SWIG_IsOK(ecode5
)) {
16602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
16604 arg5
= static_cast< int >(val5
);
16605 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
16606 if (!SWIG_IsOK(res6
)) {
16607 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
16609 arg6
= reinterpret_cast< wxDC
* >(argp6
);
16610 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16611 if (!SWIG_IsOK(ecode7
)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
16614 arg7
= static_cast< int >(val7
);
16615 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16616 if (!SWIG_IsOK(ecode8
)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
16619 arg8
= static_cast< int >(val8
);
16621 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
16622 if (!SWIG_IsOK(ecode9
)) {
16623 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
16625 arg9
= static_cast< int >(val9
);
16628 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
16629 if (!SWIG_IsOK(ecode10
)) {
16630 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
16632 arg10
= static_cast< bool >(val10
);
16635 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
16636 if (!SWIG_IsOK(ecode11
)) {
16637 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
16639 arg11
= static_cast< int >(val11
);
16642 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
16643 if (!SWIG_IsOK(ecode12
)) {
16644 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
16646 arg12
= static_cast< int >(val12
);
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16663 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
= 0;
16665 wxDC
*arg1
= (wxDC
*) 0 ;
16666 wxPoint
*arg2
= 0 ;
16668 wxDC
*arg4
= (wxDC
*) 0 ;
16669 wxPoint
*arg5
= 0 ;
16670 int arg6
= (int) wxCOPY
;
16671 bool arg7
= (bool) false ;
16672 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
16673 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
16687 PyObject
* obj0
= 0 ;
16688 PyObject
* obj1
= 0 ;
16689 PyObject
* obj2
= 0 ;
16690 PyObject
* obj3
= 0 ;
16691 PyObject
* obj4
= 0 ;
16692 PyObject
* obj5
= 0 ;
16693 PyObject
* obj6
= 0 ;
16694 PyObject
* obj7
= 0 ;
16695 char * kwnames
[] = {
16696 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
16699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16701 if (!SWIG_IsOK(res1
)) {
16702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16711 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16713 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
16714 if (!SWIG_IsOK(res4
)) {
16715 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
16717 arg4
= reinterpret_cast< wxDC
* >(argp4
);
16720 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16723 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
16724 if (!SWIG_IsOK(ecode6
)) {
16725 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
16727 arg6
= static_cast< int >(val6
);
16730 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
16731 if (!SWIG_IsOK(ecode7
)) {
16732 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
16734 arg7
= static_cast< bool >(val7
);
16739 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16757 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
= 0;
16759 wxDC
*arg1
= (wxDC
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 PyObject
* obj2
= 0 ;
16777 PyObject
* obj3
= 0 ;
16778 PyObject
* obj4
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16790 if (!SWIG_IsOK(ecode2
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
16793 arg2
= static_cast< int >(val2
);
16794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16795 if (!SWIG_IsOK(ecode3
)) {
16796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
16798 arg3
= static_cast< int >(val3
);
16799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16800 if (!SWIG_IsOK(ecode4
)) {
16801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
16803 arg4
= static_cast< int >(val4
);
16804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16805 if (!SWIG_IsOK(ecode5
)) {
16806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
16808 arg5
= static_cast< int >(val5
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_Py_Void();
16822 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= 0;
16824 wxDC
*arg1
= (wxDC
*) 0 ;
16825 wxPoint
*arg2
= 0 ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 char * kwnames
[] = {
16835 (char *) "self",(char *) "pt",(char *) "sz", NULL
16838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16850 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_Py_Void();
16865 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16866 PyObject
*resultobj
= 0;
16867 wxDC
*arg1
= (wxDC
*) 0 ;
16868 wxRegion
*arg2
= 0 ;
16873 PyObject
* obj0
= 0 ;
16874 PyObject
* obj1
= 0 ;
16875 char * kwnames
[] = {
16876 (char *) "self",(char *) "region", NULL
16879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16881 if (!SWIG_IsOK(res1
)) {
16882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
16884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
16886 if (!SWIG_IsOK(res2
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
16892 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= SWIG_Py_Void();
16906 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
= 0;
16908 wxDC
*arg1
= (wxDC
*) 0 ;
16913 PyObject
* obj0
= 0 ;
16914 PyObject
* obj1
= 0 ;
16915 char * kwnames
[] = {
16916 (char *) "self",(char *) "rect", NULL
16919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16921 if (!SWIG_IsOK(res1
)) {
16922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
16924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16927 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_Py_Void();
16942 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
= 0;
16944 wxDC
*arg1
= (wxDC
*) 0 ;
16946 wxPoint
*arg3
= (wxPoint
*) 0 ;
16947 int arg4
= (int) 0 ;
16948 int arg5
= (int) 0 ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 PyObject
* obj2
= 0 ;
16958 PyObject
* obj3
= 0 ;
16959 char * kwnames
[] = {
16960 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
16963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16965 if (!SWIG_IsOK(res1
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
16968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16970 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
16971 if (arg3
== NULL
) SWIG_fail
;
16974 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
16975 if (!SWIG_IsOK(ecode4
)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
16978 arg4
= static_cast< int >(val4
);
16981 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
16982 if (!SWIG_IsOK(ecode5
)) {
16983 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
16985 arg5
= static_cast< int >(val5
);
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_Py_Void();
16995 if (arg3
) delete [] arg3
;
17000 if (arg3
) delete [] arg3
;
17006 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxDC
*arg1
= (wxDC
*) 0 ;
17010 wxPoint
*arg3
= (wxPoint
*) 0 ;
17011 int arg4
= (int) 0 ;
17012 int arg5
= (int) 0 ;
17013 int arg6
= (int) wxODDEVEN_RULE
;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 PyObject
* obj2
= 0 ;
17025 PyObject
* obj3
= 0 ;
17026 PyObject
* obj4
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17038 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17039 if (arg3
== NULL
) SWIG_fail
;
17042 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17043 if (!SWIG_IsOK(ecode4
)) {
17044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17046 arg4
= static_cast< int >(val4
);
17049 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17050 if (!SWIG_IsOK(ecode5
)) {
17051 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17053 arg5
= static_cast< int >(val5
);
17056 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17057 if (!SWIG_IsOK(ecode6
)) {
17058 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17060 arg6
= static_cast< int >(val6
);
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_Py_Void();
17070 if (arg3
) delete [] arg3
;
17075 if (arg3
) delete [] arg3
;
17081 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
= 0;
17083 wxDC
*arg1
= (wxDC
*) 0 ;
17084 wxString
*arg2
= 0 ;
17086 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17087 int arg5
= (int) -1 ;
17090 bool temp2
= false ;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 PyObject
* obj2
= 0 ;
17099 PyObject
* obj3
= 0 ;
17100 PyObject
* obj4
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17112 arg2
= wxString_in_helper(obj1
);
17113 if (arg2
== NULL
) SWIG_fail
;
17118 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17121 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17122 if (!SWIG_IsOK(ecode4
)) {
17123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17125 arg4
= static_cast< int >(val4
);
17128 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17129 if (!SWIG_IsOK(ecode5
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17132 arg5
= static_cast< int >(val5
);
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= SWIG_Py_Void();
17155 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
= 0;
17157 wxDC
*arg1
= (wxDC
*) 0 ;
17158 wxString
*arg2
= 0 ;
17159 wxBitmap
*arg3
= 0 ;
17161 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17162 int arg6
= (int) -1 ;
17166 bool temp2
= false ;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 PyObject
* obj2
= 0 ;
17177 PyObject
* obj3
= 0 ;
17178 PyObject
* obj4
= 0 ;
17179 PyObject
* obj5
= 0 ;
17180 char * kwnames
[] = {
17181 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17186 if (!SWIG_IsOK(res1
)) {
17187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17191 arg2
= wxString_in_helper(obj1
);
17192 if (arg2
== NULL
) SWIG_fail
;
17195 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17196 if (!SWIG_IsOK(res3
)) {
17197 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17202 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17205 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17208 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17209 if (!SWIG_IsOK(ecode5
)) {
17210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17212 arg5
= static_cast< int >(val5
);
17215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17216 if (!SWIG_IsOK(ecode6
)) {
17217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17219 arg6
= static_cast< int >(val6
);
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17242 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
= 0;
17244 wxDC
*arg1
= (wxDC
*) 0 ;
17246 wxPoint
*arg3
= (wxPoint
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char * kwnames
[] = {
17252 (char *) "self",(char *) "points", NULL
17255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17257 if (!SWIG_IsOK(res1
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17262 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17263 if (arg3
== NULL
) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 (arg1
)->DrawSpline(arg2
,arg3
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_Py_Void();
17273 if (arg3
) delete [] arg3
;
17278 if (arg3
) delete [] arg3
;
17284 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17285 PyObject
*resultobj
= 0;
17286 wxDC
*arg1
= (wxDC
*) 0 ;
17289 PyObject
*swig_obj
[1] ;
17291 if (!args
) SWIG_fail
;
17292 swig_obj
[0] = args
;
17293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17294 if (!SWIG_IsOK(res1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 wxPyEndAllowThreads(__tstate
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= SWIG_Py_Void();
17311 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17312 PyObject
*resultobj
= 0;
17313 wxDC
*arg1
= (wxDC
*) 0 ;
17314 wxString
*arg2
= 0 ;
17318 bool temp2
= false ;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "message", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17332 arg2
= wxString_in_helper(obj1
);
17333 if (arg2
== NULL
) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17359 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17360 PyObject
*resultobj
= 0;
17361 wxDC
*arg1
= (wxDC
*) 0 ;
17364 PyObject
*swig_obj
[1] ;
17366 if (!args
) SWIG_fail
;
17367 swig_obj
[0] = args
;
17368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17379 resultobj
= SWIG_Py_Void();
17386 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17387 PyObject
*resultobj
= 0;
17388 wxDC
*arg1
= (wxDC
*) 0 ;
17391 PyObject
*swig_obj
[1] ;
17393 if (!args
) SWIG_fail
;
17394 swig_obj
[0] = args
;
17395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17396 if (!SWIG_IsOK(res1
)) {
17397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
17399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->StartPage();
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_Py_Void();
17413 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17414 PyObject
*resultobj
= 0;
17415 wxDC
*arg1
= (wxDC
*) 0 ;
17418 PyObject
*swig_obj
[1] ;
17420 if (!args
) SWIG_fail
;
17421 swig_obj
[0] = args
;
17422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17423 if (!SWIG_IsOK(res1
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
17426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= SWIG_Py_Void();
17440 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
= 0;
17442 wxDC
*arg1
= (wxDC
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 char * kwnames
[] = {
17451 (char *) "self",(char *) "font", NULL
17454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17456 if (!SWIG_IsOK(res1
)) {
17457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
17459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
17461 if (!SWIG_IsOK(res2
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
17467 arg2
= reinterpret_cast< wxFont
* >(argp2
);
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 (arg1
)->SetFont((wxFont
const &)*arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_Py_Void();
17481 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
= 0;
17483 wxDC
*arg1
= (wxDC
*) 0 ;
17489 PyObject
* obj0
= 0 ;
17490 PyObject
* obj1
= 0 ;
17491 char * kwnames
[] = {
17492 (char *) "self",(char *) "pen", NULL
17495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
17500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17501 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
17502 if (!SWIG_IsOK(res2
)) {
17503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
17508 arg2
= reinterpret_cast< wxPen
* >(argp2
);
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 (arg1
)->SetPen((wxPen
const &)*arg2
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_Py_Void();
17522 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
= 0;
17524 wxDC
*arg1
= (wxDC
*) 0 ;
17525 wxBrush
*arg2
= 0 ;
17530 PyObject
* obj0
= 0 ;
17531 PyObject
* obj1
= 0 ;
17532 char * kwnames
[] = {
17533 (char *) "self",(char *) "brush", NULL
17536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17538 if (!SWIG_IsOK(res1
)) {
17539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
17541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17542 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17543 if (!SWIG_IsOK(res2
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
17549 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= SWIG_Py_Void();
17563 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
= 0;
17565 wxDC
*arg1
= (wxDC
*) 0 ;
17566 wxBrush
*arg2
= 0 ;
17571 PyObject
* obj0
= 0 ;
17572 PyObject
* obj1
= 0 ;
17573 char * kwnames
[] = {
17574 (char *) "self",(char *) "brush", NULL
17577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17579 if (!SWIG_IsOK(res1
)) {
17580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
17582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
17584 if (!SWIG_IsOK(res2
)) {
17585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
17590 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 resultobj
= SWIG_Py_Void();
17604 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
= 0;
17606 wxDC
*arg1
= (wxDC
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 char * kwnames
[] = {
17615 (char *) "self",(char *) "mode", NULL
17618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
17623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17625 if (!SWIG_IsOK(ecode2
)) {
17626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
17628 arg2
= static_cast< int >(val2
);
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 (arg1
)->SetBackgroundMode(arg2
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_Py_Void();
17642 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxDC
*arg1
= (wxDC
*) 0 ;
17645 wxPalette
*arg2
= 0 ;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 char * kwnames
[] = {
17653 (char *) "self",(char *) "palette", NULL
17656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17658 if (!SWIG_IsOK(res1
)) {
17659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
17661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
17663 if (!SWIG_IsOK(res2
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
17669 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= SWIG_Py_Void();
17683 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17684 PyObject
*resultobj
= 0;
17685 wxDC
*arg1
= (wxDC
*) 0 ;
17688 PyObject
*swig_obj
[1] ;
17690 if (!args
) SWIG_fail
;
17691 swig_obj
[0] = args
;
17692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17693 if (!SWIG_IsOK(res1
)) {
17694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 (arg1
)->DestroyClippingRegion();
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= SWIG_Py_Void();
17710 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17711 PyObject
*resultobj
= 0;
17712 wxDC
*arg1
= (wxDC
*) 0 ;
17713 int *arg2
= (int *) 0 ;
17714 int *arg3
= (int *) 0 ;
17715 int *arg4
= (int *) 0 ;
17716 int *arg5
= (int *) 0 ;
17720 int res2
= SWIG_TMPOBJ
;
17722 int res3
= SWIG_TMPOBJ
;
17724 int res4
= SWIG_TMPOBJ
;
17726 int res5
= SWIG_TMPOBJ
;
17727 PyObject
*swig_obj
[1] ;
17733 if (!args
) SWIG_fail
;
17734 swig_obj
[0] = args
;
17735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17736 if (!SWIG_IsOK(res1
)) {
17737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
17739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_Py_Void();
17747 if (SWIG_IsTmpObj(res2
)) {
17748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
17750 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
17753 if (SWIG_IsTmpObj(res3
)) {
17754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17756 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17759 if (SWIG_IsTmpObj(res4
)) {
17760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17762 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17765 if (SWIG_IsTmpObj(res5
)) {
17766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17768 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
17777 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17778 PyObject
*resultobj
= 0;
17779 wxDC
*arg1
= (wxDC
*) 0 ;
17783 PyObject
*swig_obj
[1] ;
17785 if (!args
) SWIG_fail
;
17786 swig_obj
[0] = args
;
17787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17788 if (!SWIG_IsOK(res1
)) {
17789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= wxDC_GetClippingRect(arg1
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17805 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17806 PyObject
*resultobj
= 0;
17807 wxDC
*arg1
= (wxDC
*) 0 ;
17811 PyObject
*swig_obj
[1] ;
17813 if (!args
) SWIG_fail
;
17814 swig_obj
[0] = args
;
17815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
17819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_From_int(static_cast< int >(result
));
17833 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17834 PyObject
*resultobj
= 0;
17835 wxDC
*arg1
= (wxDC
*) 0 ;
17839 PyObject
*swig_obj
[1] ;
17841 if (!args
) SWIG_fail
;
17842 swig_obj
[0] = args
;
17843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
17847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= SWIG_From_int(static_cast< int >(result
));
17861 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
= 0;
17863 wxDC
*arg1
= (wxDC
*) 0 ;
17864 wxString
*arg2
= 0 ;
17865 int *arg3
= (int *) 0 ;
17866 int *arg4
= (int *) 0 ;
17869 bool temp2
= false ;
17871 int res3
= SWIG_TMPOBJ
;
17873 int res4
= SWIG_TMPOBJ
;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char * kwnames
[] = {
17877 (char *) "self",(char *) "string", NULL
17882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17884 if (!SWIG_IsOK(res1
)) {
17885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17889 arg2
= wxString_in_helper(obj1
);
17890 if (arg2
== NULL
) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
17896 wxPyEndAllowThreads(__tstate
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17899 resultobj
= SWIG_Py_Void();
17900 if (SWIG_IsTmpObj(res3
)) {
17901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17903 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17906 if (SWIG_IsTmpObj(res4
)) {
17907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17909 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17926 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
= 0;
17928 wxDC
*arg1
= (wxDC
*) 0 ;
17929 wxString
*arg2
= 0 ;
17930 int *arg3
= (int *) 0 ;
17931 int *arg4
= (int *) 0 ;
17932 int *arg5
= (int *) 0 ;
17933 int *arg6
= (int *) 0 ;
17934 wxFont
*arg7
= (wxFont
*) NULL
;
17937 bool temp2
= false ;
17939 int res3
= SWIG_TMPOBJ
;
17941 int res4
= SWIG_TMPOBJ
;
17943 int res5
= SWIG_TMPOBJ
;
17945 int res6
= SWIG_TMPOBJ
;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 PyObject
* obj2
= 0 ;
17951 char * kwnames
[] = {
17952 (char *) "self",(char *) "string",(char *) "font", NULL
17959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
17964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17966 arg2
= wxString_in_helper(obj1
);
17967 if (arg2
== NULL
) SWIG_fail
;
17971 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
17972 if (!SWIG_IsOK(res7
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
17975 arg7
= reinterpret_cast< wxFont
* >(argp7
);
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_Py_Void();
17984 if (SWIG_IsTmpObj(res3
)) {
17985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
17987 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
17990 if (SWIG_IsTmpObj(res4
)) {
17991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
17993 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
17994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
17996 if (SWIG_IsTmpObj(res5
)) {
17997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
17999 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18002 if (SWIG_IsTmpObj(res6
)) {
18003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18005 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18022 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
= 0;
18024 wxDC
*arg1
= (wxDC
*) 0 ;
18025 wxString
*arg2
= 0 ;
18026 int *arg3
= (int *) 0 ;
18027 int *arg4
= (int *) 0 ;
18028 int *arg5
= (int *) 0 ;
18029 wxFont
*arg6
= (wxFont
*) NULL
;
18032 bool temp2
= false ;
18034 int res3
= SWIG_TMPOBJ
;
18036 int res4
= SWIG_TMPOBJ
;
18038 int res5
= SWIG_TMPOBJ
;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 char * kwnames
[] = {
18045 (char *) "self",(char *) "text",(char *) "font", NULL
18051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18053 if (!SWIG_IsOK(res1
)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18058 arg2
= wxString_in_helper(obj1
);
18059 if (arg2
== NULL
) SWIG_fail
;
18063 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18064 if (!SWIG_IsOK(res6
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18067 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_Py_Void();
18076 if (SWIG_IsTmpObj(res3
)) {
18077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18079 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18082 if (SWIG_IsTmpObj(res4
)) {
18083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18085 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18088 if (SWIG_IsTmpObj(res5
)) {
18089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18091 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18108 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
= 0;
18110 wxDC
*arg1
= (wxDC
*) 0 ;
18111 wxString
*arg2
= 0 ;
18115 bool temp2
= false ;
18116 PyObject
* obj0
= 0 ;
18117 PyObject
* obj1
= 0 ;
18118 char * kwnames
[] = {
18119 (char *) "self",(char *) "text", NULL
18122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18124 if (!SWIG_IsOK(res1
)) {
18125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18129 arg2
= wxString_in_helper(obj1
);
18130 if (arg2
== NULL
) SWIG_fail
;
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= PyList_New(0);
18142 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18143 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18144 PyList_Append(resultobj
, val
);
18162 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18163 PyObject
*resultobj
= 0;
18164 wxDC
*arg1
= (wxDC
*) 0 ;
18168 PyObject
*swig_obj
[1] ;
18170 if (!args
) SWIG_fail
;
18171 swig_obj
[0] = args
;
18172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18173 if (!SWIG_IsOK(res1
)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (arg1
)->GetSize();
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18190 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18191 PyObject
*resultobj
= 0;
18192 wxDC
*arg1
= (wxDC
*) 0 ;
18193 int *arg2
= (int *) 0 ;
18194 int *arg3
= (int *) 0 ;
18198 int res2
= SWIG_TMPOBJ
;
18200 int res3
= SWIG_TMPOBJ
;
18201 PyObject
*swig_obj
[1] ;
18205 if (!args
) SWIG_fail
;
18206 swig_obj
[0] = args
;
18207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18208 if (!SWIG_IsOK(res1
)) {
18209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->GetSize(arg2
,arg3
);
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= SWIG_Py_Void();
18219 if (SWIG_IsTmpObj(res2
)) {
18220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18222 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18225 if (SWIG_IsTmpObj(res3
)) {
18226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18228 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18237 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18238 PyObject
*resultobj
= 0;
18239 wxDC
*arg1
= (wxDC
*) 0 ;
18243 PyObject
*swig_obj
[1] ;
18245 if (!args
) SWIG_fail
;
18246 swig_obj
[0] = args
;
18247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18265 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18266 PyObject
*resultobj
= 0;
18267 wxDC
*arg1
= (wxDC
*) 0 ;
18268 int *arg2
= (int *) 0 ;
18269 int *arg3
= (int *) 0 ;
18273 int res2
= SWIG_TMPOBJ
;
18275 int res3
= SWIG_TMPOBJ
;
18276 PyObject
*swig_obj
[1] ;
18280 if (!args
) SWIG_fail
;
18281 swig_obj
[0] = args
;
18282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_Py_Void();
18294 if (SWIG_IsTmpObj(res2
)) {
18295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18297 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18300 if (SWIG_IsTmpObj(res3
)) {
18301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18312 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
= 0;
18314 wxDC
*arg1
= (wxDC
*) 0 ;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 char * kwnames
[] = {
18324 (char *) "self",(char *) "x", NULL
18327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18329 if (!SWIG_IsOK(res1
)) {
18330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18334 if (!SWIG_IsOK(ecode2
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18337 arg2
= static_cast< int >(val2
);
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 resultobj
= SWIG_From_int(static_cast< int >(result
));
18351 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= 0;
18353 wxDC
*arg1
= (wxDC
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char * kwnames
[] = {
18363 (char *) "self",(char *) "y", NULL
18366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
18371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18373 if (!SWIG_IsOK(ecode2
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
18376 arg2
= static_cast< int >(val2
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_From_int(static_cast< int >(result
));
18390 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
= 0;
18392 wxDC
*arg1
= (wxDC
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 char * kwnames
[] = {
18402 (char *) "self",(char *) "x", NULL
18405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18407 if (!SWIG_IsOK(res1
)) {
18408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18412 if (!SWIG_IsOK(ecode2
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
18415 arg2
= static_cast< int >(val2
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_From_int(static_cast< int >(result
));
18429 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
= 0;
18431 wxDC
*arg1
= (wxDC
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 PyObject
* obj1
= 0 ;
18440 char * kwnames
[] = {
18441 (char *) "self",(char *) "y", NULL
18444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18446 if (!SWIG_IsOK(res1
)) {
18447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18451 if (!SWIG_IsOK(ecode2
)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
18454 arg2
= static_cast< int >(val2
);
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_From_int(static_cast< int >(result
));
18468 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
= 0;
18470 wxDC
*arg1
= (wxDC
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 char * kwnames
[] = {
18480 (char *) "self",(char *) "x", NULL
18483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18485 if (!SWIG_IsOK(res1
)) {
18486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
18488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18490 if (!SWIG_IsOK(ecode2
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
18493 arg2
= static_cast< int >(val2
);
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_From_int(static_cast< int >(result
));
18507 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
= 0;
18509 wxDC
*arg1
= (wxDC
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 char * kwnames
[] = {
18519 (char *) "self",(char *) "y", NULL
18522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18524 if (!SWIG_IsOK(res1
)) {
18525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
18527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18529 if (!SWIG_IsOK(ecode2
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
18532 arg2
= static_cast< int >(val2
);
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_From_int(static_cast< int >(result
));
18546 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
= 0;
18548 wxDC
*arg1
= (wxDC
*) 0 ;
18555 PyObject
* obj0
= 0 ;
18556 PyObject
* obj1
= 0 ;
18557 char * kwnames
[] = {
18558 (char *) "self",(char *) "x", NULL
18561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18568 if (!SWIG_IsOK(ecode2
)) {
18569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
18571 arg2
= static_cast< int >(val2
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int(static_cast< int >(result
));
18585 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
= 0;
18587 wxDC
*arg1
= (wxDC
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 char * kwnames
[] = {
18597 (char *) "self",(char *) "y", NULL
18600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18602 if (!SWIG_IsOK(res1
)) {
18603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
18605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18607 if (!SWIG_IsOK(ecode2
)) {
18608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
18610 arg2
= static_cast< int >(val2
);
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_From_int(static_cast< int >(result
));
18624 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18625 PyObject
*resultobj
= 0;
18626 wxDC
*arg1
= (wxDC
*) 0 ;
18630 PyObject
*swig_obj
[1] ;
18632 if (!args
) SWIG_fail
;
18633 swig_obj
[0] = args
;
18634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18635 if (!SWIG_IsOK(res1
)) {
18636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
18638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18654 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18655 PyObject
*resultobj
= 0;
18656 wxDC
*arg1
= (wxDC
*) 0 ;
18660 PyObject
*swig_obj
[1] ;
18662 if (!args
) SWIG_fail
;
18663 swig_obj
[0] = args
;
18664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
18668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18684 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18685 PyObject
*resultobj
= 0;
18686 wxDC
*arg1
= (wxDC
*) 0 ;
18690 PyObject
*swig_obj
[1] ;
18692 if (!args
) SWIG_fail
;
18693 swig_obj
[0] = args
;
18694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18695 if (!SWIG_IsOK(res1
)) {
18696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
18698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (int)((wxDC
const *)arg1
)->GetDepth();
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= SWIG_From_int(static_cast< int >(result
));
18712 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18713 PyObject
*resultobj
= 0;
18714 wxDC
*arg1
= (wxDC
*) 0 ;
18718 PyObject
*swig_obj
[1] ;
18720 if (!args
) SWIG_fail
;
18721 swig_obj
[0] = args
;
18722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18723 if (!SWIG_IsOK(res1
)) {
18724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
18726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= ((wxDC
const *)arg1
)->GetPPI();
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18740 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18741 PyObject
*resultobj
= 0;
18742 wxDC
*arg1
= (wxDC
*) 0 ;
18746 PyObject
*swig_obj
[1] ;
18748 if (!args
) SWIG_fail
;
18749 swig_obj
[0] = args
;
18750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
18754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 result
= (bool)((wxDC
const *)arg1
)->Ok();
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18770 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18771 PyObject
*resultobj
= 0;
18772 wxDC
*arg1
= (wxDC
*) 0 ;
18776 PyObject
*swig_obj
[1] ;
18778 if (!args
) SWIG_fail
;
18779 swig_obj
[0] = args
;
18780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18781 if (!SWIG_IsOK(res1
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
18784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_From_int(static_cast< int >(result
));
18798 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18799 PyObject
*resultobj
= 0;
18800 wxDC
*arg1
= (wxDC
*) 0 ;
18801 wxBrush
*result
= 0 ;
18804 PyObject
*swig_obj
[1] ;
18806 if (!args
) SWIG_fail
;
18807 swig_obj
[0] = args
;
18808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18809 if (!SWIG_IsOK(res1
)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
18817 result
= (wxBrush
*) &_result_ref
;
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 wxBrush
* resultptr
= new wxBrush(*result
);
18824 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18832 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18833 PyObject
*resultobj
= 0;
18834 wxDC
*arg1
= (wxDC
*) 0 ;
18835 wxBrush
*result
= 0 ;
18838 PyObject
*swig_obj
[1] ;
18840 if (!args
) SWIG_fail
;
18841 swig_obj
[0] = args
;
18842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18843 if (!SWIG_IsOK(res1
)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
18846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
18851 result
= (wxBrush
*) &_result_ref
;
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18857 wxBrush
* resultptr
= new wxBrush(*result
);
18858 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
18866 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18867 PyObject
*resultobj
= 0;
18868 wxDC
*arg1
= (wxDC
*) 0 ;
18869 wxFont
*result
= 0 ;
18872 PyObject
*swig_obj
[1] ;
18874 if (!args
) SWIG_fail
;
18875 swig_obj
[0] = args
;
18876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
18880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
18885 result
= (wxFont
*) &_result_ref
;
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 wxFont
* resultptr
= new wxFont(*result
);
18892 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18900 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18901 PyObject
*resultobj
= 0;
18902 wxDC
*arg1
= (wxDC
*) 0 ;
18903 wxPen
*result
= 0 ;
18906 PyObject
*swig_obj
[1] ;
18908 if (!args
) SWIG_fail
;
18909 swig_obj
[0] = args
;
18910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
18914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
18919 result
= (wxPen
*) &_result_ref
;
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18925 wxPen
* resultptr
= new wxPen(*result
);
18926 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
18934 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18935 PyObject
*resultobj
= 0;
18936 wxDC
*arg1
= (wxDC
*) 0 ;
18937 wxColour
*result
= 0 ;
18940 PyObject
*swig_obj
[1] ;
18942 if (!args
) SWIG_fail
;
18943 swig_obj
[0] = args
;
18944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
18948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
18953 result
= (wxColour
*) &_result_ref
;
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18965 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18966 PyObject
*resultobj
= 0;
18967 wxDC
*arg1
= (wxDC
*) 0 ;
18968 wxColour
*result
= 0 ;
18971 PyObject
*swig_obj
[1] ;
18973 if (!args
) SWIG_fail
;
18974 swig_obj
[0] = args
;
18975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18976 if (!SWIG_IsOK(res1
)) {
18977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
18979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
18984 result
= (wxColour
*) &_result_ref
;
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
18996 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= 0;
18998 wxDC
*arg1
= (wxDC
*) 0 ;
18999 wxColour
*arg2
= 0 ;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char * kwnames
[] = {
19006 (char *) "self",(char *) "colour", NULL
19009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19011 if (!SWIG_IsOK(res1
)) {
19012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19017 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_Py_Void();
19032 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxDC
*arg1
= (wxDC
*) 0 ;
19035 wxColour
*arg2
= 0 ;
19039 PyObject
* obj0
= 0 ;
19040 PyObject
* obj1
= 0 ;
19041 char * kwnames
[] = {
19042 (char *) "self",(char *) "colour", NULL
19045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_Py_Void();
19068 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19069 PyObject
*resultobj
= 0;
19070 wxDC
*arg1
= (wxDC
*) 0 ;
19074 PyObject
*swig_obj
[1] ;
19076 if (!args
) SWIG_fail
;
19077 swig_obj
[0] = args
;
19078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_From_int(static_cast< int >(result
));
19096 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
= 0;
19098 wxDC
*arg1
= (wxDC
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char * kwnames
[] = {
19107 (char *) "self",(char *) "mode", NULL
19110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19117 if (!SWIG_IsOK(ecode2
)) {
19118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19120 arg2
= static_cast< int >(val2
);
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->SetMapMode(arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_Py_Void();
19134 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19135 PyObject
*resultobj
= 0;
19136 wxDC
*arg1
= (wxDC
*) 0 ;
19137 double *arg2
= (double *) 0 ;
19138 double *arg3
= (double *) 0 ;
19142 int res2
= SWIG_TMPOBJ
;
19144 int res3
= SWIG_TMPOBJ
;
19145 PyObject
*swig_obj
[1] ;
19149 if (!args
) SWIG_fail
;
19150 swig_obj
[0] = args
;
19151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19152 if (!SWIG_IsOK(res1
)) {
19153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 resultobj
= SWIG_Py_Void();
19163 if (SWIG_IsTmpObj(res2
)) {
19164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19166 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19169 if (SWIG_IsTmpObj(res3
)) {
19170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19172 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19181 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
= 0;
19183 wxDC
*arg1
= (wxDC
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 PyObject
* obj2
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "self",(char *) "x",(char *) "y", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19205 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19206 if (!SWIG_IsOK(ecode2
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19209 arg2
= static_cast< double >(val2
);
19210 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19211 if (!SWIG_IsOK(ecode3
)) {
19212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19214 arg3
= static_cast< double >(val3
);
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 (arg1
)->SetUserScale(arg2
,arg3
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_Py_Void();
19228 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19229 PyObject
*resultobj
= 0;
19230 wxDC
*arg1
= (wxDC
*) 0 ;
19231 double *arg2
= (double *) 0 ;
19232 double *arg3
= (double *) 0 ;
19236 int res2
= SWIG_TMPOBJ
;
19238 int res3
= SWIG_TMPOBJ
;
19239 PyObject
*swig_obj
[1] ;
19243 if (!args
) SWIG_fail
;
19244 swig_obj
[0] = args
;
19245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19246 if (!SWIG_IsOK(res1
)) {
19247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 (arg1
)->GetLogicalScale(arg2
,arg3
);
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_Py_Void();
19257 if (SWIG_IsTmpObj(res2
)) {
19258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19260 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19263 if (SWIG_IsTmpObj(res3
)) {
19264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19266 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19275 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
= 0;
19277 wxDC
*arg1
= (wxDC
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 PyObject
* obj2
= 0 ;
19289 char * kwnames
[] = {
19290 (char *) "self",(char *) "x",(char *) "y", NULL
19293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19299 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19300 if (!SWIG_IsOK(ecode2
)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19303 arg2
= static_cast< double >(val2
);
19304 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19305 if (!SWIG_IsOK(ecode3
)) {
19306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19308 arg3
= static_cast< double >(val3
);
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->SetLogicalScale(arg2
,arg3
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_Py_Void();
19322 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(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_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19350 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19351 PyObject
*resultobj
= 0;
19352 wxDC
*arg1
= (wxDC
*) 0 ;
19353 int *arg2
= (int *) 0 ;
19354 int *arg3
= (int *) 0 ;
19358 int res2
= SWIG_TMPOBJ
;
19360 int res3
= SWIG_TMPOBJ
;
19361 PyObject
*swig_obj
[1] ;
19365 if (!args
) SWIG_fail
;
19366 swig_obj
[0] = args
;
19367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19368 if (!SWIG_IsOK(res1
)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 resultobj
= SWIG_Py_Void();
19379 if (SWIG_IsTmpObj(res2
)) {
19380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19382 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19385 if (SWIG_IsTmpObj(res3
)) {
19386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19388 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19397 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxDC
*arg1
= (wxDC
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 PyObject
* obj2
= 0 ;
19411 char * kwnames
[] = {
19412 (char *) "self",(char *) "x",(char *) "y", NULL
19415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19417 if (!SWIG_IsOK(res1
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19422 if (!SWIG_IsOK(ecode2
)) {
19423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
19425 arg2
= static_cast< int >(val2
);
19426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19427 if (!SWIG_IsOK(ecode3
)) {
19428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
19430 arg3
= static_cast< int >(val3
);
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= SWIG_Py_Void();
19444 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 wxDC
*arg1
= (wxDC
*) 0 ;
19447 wxPoint
*arg2
= 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "self",(char *) "point", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_Py_Void();
19480 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19481 PyObject
*resultobj
= 0;
19482 wxDC
*arg1
= (wxDC
*) 0 ;
19486 PyObject
*swig_obj
[1] ;
19488 if (!args
) SWIG_fail
;
19489 swig_obj
[0] = args
;
19490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19491 if (!SWIG_IsOK(res1
)) {
19492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19508 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19509 PyObject
*resultobj
= 0;
19510 wxDC
*arg1
= (wxDC
*) 0 ;
19511 int *arg2
= (int *) 0 ;
19512 int *arg3
= (int *) 0 ;
19516 int res2
= SWIG_TMPOBJ
;
19518 int res3
= SWIG_TMPOBJ
;
19519 PyObject
*swig_obj
[1] ;
19523 if (!args
) SWIG_fail
;
19524 swig_obj
[0] = args
;
19525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19526 if (!SWIG_IsOK(res1
)) {
19527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
19529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19537 if (SWIG_IsTmpObj(res2
)) {
19538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
19540 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
19543 if (SWIG_IsTmpObj(res3
)) {
19544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
19546 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
19555 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxDC
*arg1
= (wxDC
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "self",(char *) "x",(char *) "y", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19575 if (!SWIG_IsOK(res1
)) {
19576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19580 if (!SWIG_IsOK(ecode2
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
19583 arg2
= static_cast< int >(val2
);
19584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19585 if (!SWIG_IsOK(ecode3
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
19588 arg3
= static_cast< int >(val3
);
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_Py_Void();
19602 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
= 0;
19604 wxDC
*arg1
= (wxDC
*) 0 ;
19605 wxPoint
*arg2
= 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char * kwnames
[] = {
19612 (char *) "self",(char *) "point", NULL
19615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19617 if (!SWIG_IsOK(res1
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_Py_Void();
19638 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
= 0;
19640 wxDC
*arg1
= (wxDC
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 PyObject
* obj2
= 0 ;
19652 char * kwnames
[] = {
19653 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
19661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19663 if (!SWIG_IsOK(ecode2
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
19666 arg2
= static_cast< bool >(val2
);
19667 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19668 if (!SWIG_IsOK(ecode3
)) {
19669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
19671 arg3
= static_cast< bool >(val3
);
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 (arg1
)->SetAxisOrientation(arg2
,arg3
);
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_Py_Void();
19685 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19686 PyObject
*resultobj
= 0;
19687 wxDC
*arg1
= (wxDC
*) 0 ;
19691 PyObject
*swig_obj
[1] ;
19693 if (!args
) SWIG_fail
;
19694 swig_obj
[0] = args
;
19695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19696 if (!SWIG_IsOK(res1
)) {
19697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
19699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_From_int(static_cast< int >(result
));
19713 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
= 0;
19715 wxDC
*arg1
= (wxDC
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char * kwnames
[] = {
19724 (char *) "self",(char *) "function", NULL
19727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
19732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19734 if (!SWIG_IsOK(ecode2
)) {
19735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
19737 arg2
= static_cast< int >(val2
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 (arg1
)->SetLogicalFunction(arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_Py_Void();
19751 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19752 PyObject
*resultobj
= 0;
19753 wxDC
*arg1
= (wxDC
*) 0 ;
19756 PyObject
*swig_obj
[1] ;
19758 if (!args
) SWIG_fail
;
19759 swig_obj
[0] = args
;
19760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19761 if (!SWIG_IsOK(res1
)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
19764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 (arg1
)->ComputeScaleAndOrigin();
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= SWIG_Py_Void();
19778 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxDC
*arg1
= (wxDC
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 PyObject
* obj1
= 0 ;
19791 PyObject
* obj2
= 0 ;
19792 char * kwnames
[] = {
19793 (char *) "self",(char *) "x",(char *) "y", NULL
19796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19798 if (!SWIG_IsOK(res1
)) {
19799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19803 if (!SWIG_IsOK(ecode2
)) {
19804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
19806 arg2
= static_cast< int >(val2
);
19807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19808 if (!SWIG_IsOK(ecode3
)) {
19809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
19811 arg3
= static_cast< int >(val3
);
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 (arg1
)->CalcBoundingBox(arg2
,arg3
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= SWIG_Py_Void();
19825 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
= 0;
19827 wxDC
*arg1
= (wxDC
*) 0 ;
19828 wxPoint
*arg2
= 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "point", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_Py_Void();
19861 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19862 PyObject
*resultobj
= 0;
19863 wxDC
*arg1
= (wxDC
*) 0 ;
19866 PyObject
*swig_obj
[1] ;
19868 if (!args
) SWIG_fail
;
19869 swig_obj
[0] = args
;
19870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19871 if (!SWIG_IsOK(res1
)) {
19872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
19874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->ResetBoundingBox();
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= SWIG_Py_Void();
19888 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19889 PyObject
*resultobj
= 0;
19890 wxDC
*arg1
= (wxDC
*) 0 ;
19894 PyObject
*swig_obj
[1] ;
19896 if (!args
) SWIG_fail
;
19897 swig_obj
[0] = args
;
19898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19899 if (!SWIG_IsOK(res1
)) {
19900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
19902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (int)((wxDC
const *)arg1
)->MinX();
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_From_int(static_cast< int >(result
));
19916 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19917 PyObject
*resultobj
= 0;
19918 wxDC
*arg1
= (wxDC
*) 0 ;
19922 PyObject
*swig_obj
[1] ;
19924 if (!args
) SWIG_fail
;
19925 swig_obj
[0] = args
;
19926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
19930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (int)((wxDC
const *)arg1
)->MaxX();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_From_int(static_cast< int >(result
));
19944 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19945 PyObject
*resultobj
= 0;
19946 wxDC
*arg1
= (wxDC
*) 0 ;
19950 PyObject
*swig_obj
[1] ;
19952 if (!args
) SWIG_fail
;
19953 swig_obj
[0] = args
;
19954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
19958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (int)((wxDC
const *)arg1
)->MinY();
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_From_int(static_cast< int >(result
));
19972 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19973 PyObject
*resultobj
= 0;
19974 wxDC
*arg1
= (wxDC
*) 0 ;
19978 PyObject
*swig_obj
[1] ;
19980 if (!args
) SWIG_fail
;
19981 swig_obj
[0] = args
;
19982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19983 if (!SWIG_IsOK(res1
)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
19986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (int)((wxDC
const *)arg1
)->MaxY();
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= SWIG_From_int(static_cast< int >(result
));
20000 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 PyObject
*resultobj
= 0;
20002 wxDC
*arg1
= (wxDC
*) 0 ;
20003 int *arg2
= (int *) 0 ;
20004 int *arg3
= (int *) 0 ;
20005 int *arg4
= (int *) 0 ;
20006 int *arg5
= (int *) 0 ;
20010 int res2
= SWIG_TMPOBJ
;
20012 int res3
= SWIG_TMPOBJ
;
20014 int res4
= SWIG_TMPOBJ
;
20016 int res5
= SWIG_TMPOBJ
;
20017 PyObject
*swig_obj
[1] ;
20023 if (!args
) SWIG_fail
;
20024 swig_obj
[0] = args
;
20025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20026 if (!SWIG_IsOK(res1
)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 resultobj
= SWIG_Py_Void();
20037 if (SWIG_IsTmpObj(res2
)) {
20038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20040 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20043 if (SWIG_IsTmpObj(res3
)) {
20044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20046 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20049 if (SWIG_IsTmpObj(res4
)) {
20050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20052 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20055 if (SWIG_IsTmpObj(res5
)) {
20056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20058 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20067 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
= 0;
20069 wxDC
*arg1
= (wxDC
*) 0 ;
20070 PyObject
*arg2
= (PyObject
*) 0 ;
20071 PyObject
*arg3
= (PyObject
*) 0 ;
20072 PyObject
*arg4
= (PyObject
*) 0 ;
20073 PyObject
*result
= 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 PyObject
* obj3
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= result
;
20106 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
= 0;
20108 wxDC
*arg1
= (wxDC
*) 0 ;
20109 PyObject
*arg2
= (PyObject
*) 0 ;
20110 PyObject
*arg3
= (PyObject
*) 0 ;
20111 PyObject
*arg4
= (PyObject
*) 0 ;
20112 PyObject
*result
= 0 ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 PyObject
* obj2
= 0 ;
20118 PyObject
* obj3
= 0 ;
20119 char * kwnames
[] = {
20120 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20125 if (!SWIG_IsOK(res1
)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= result
;
20145 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
= 0;
20147 wxDC
*arg1
= (wxDC
*) 0 ;
20148 PyObject
*arg2
= (PyObject
*) 0 ;
20149 PyObject
*arg3
= (PyObject
*) 0 ;
20150 PyObject
*arg4
= (PyObject
*) 0 ;
20151 PyObject
*result
= 0 ;
20154 PyObject
* obj0
= 0 ;
20155 PyObject
* obj1
= 0 ;
20156 PyObject
* obj2
= 0 ;
20157 PyObject
* obj3
= 0 ;
20158 char * kwnames
[] = {
20159 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= result
;
20184 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
= 0;
20186 wxDC
*arg1
= (wxDC
*) 0 ;
20187 PyObject
*arg2
= (PyObject
*) 0 ;
20188 PyObject
*arg3
= (PyObject
*) 0 ;
20189 PyObject
*arg4
= (PyObject
*) 0 ;
20190 PyObject
*result
= 0 ;
20193 PyObject
* obj0
= 0 ;
20194 PyObject
* obj1
= 0 ;
20195 PyObject
* obj2
= 0 ;
20196 PyObject
* obj3
= 0 ;
20197 char * kwnames
[] = {
20198 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= result
;
20223 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
= 0;
20225 wxDC
*arg1
= (wxDC
*) 0 ;
20226 PyObject
*arg2
= (PyObject
*) 0 ;
20227 PyObject
*arg3
= (PyObject
*) 0 ;
20228 PyObject
*arg4
= (PyObject
*) 0 ;
20229 PyObject
*result
= 0 ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 PyObject
* obj2
= 0 ;
20235 PyObject
* obj3
= 0 ;
20236 char * kwnames
[] = {
20237 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20242 if (!SWIG_IsOK(res1
)) {
20243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= result
;
20262 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
= 0;
20264 wxDC
*arg1
= (wxDC
*) 0 ;
20265 PyObject
*arg2
= (PyObject
*) 0 ;
20266 PyObject
*arg3
= (PyObject
*) 0 ;
20267 PyObject
*arg4
= (PyObject
*) 0 ;
20268 PyObject
*arg5
= (PyObject
*) 0 ;
20269 PyObject
*result
= 0 ;
20272 PyObject
* obj0
= 0 ;
20273 PyObject
* obj1
= 0 ;
20274 PyObject
* obj2
= 0 ;
20275 PyObject
* obj3
= 0 ;
20276 PyObject
* obj4
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= result
;
20304 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20307 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20308 return SWIG_Py_Void();
20311 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20312 PyObject
*resultobj
= 0;
20313 wxMemoryDC
*result
= 0 ;
20315 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20317 if (!wxPyCheckForApp()) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (wxMemoryDC
*)new wxMemoryDC();
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20330 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxDC
*arg1
= (wxDC
*) 0 ;
20333 wxMemoryDC
*result
= 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char * kwnames
[] = {
20338 (char *) "oldDC", NULL
20341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
20342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20343 if (!SWIG_IsOK(res1
)) {
20344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
20346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20348 if (!wxPyCheckForApp()) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
20361 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
20364 wxBitmap
*arg2
= 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20371 char * kwnames
[] = {
20372 (char *) "self",(char *) "bitmap", NULL
20375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
20377 if (!SWIG_IsOK(res1
)) {
20378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
20380 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
20381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20382 if (!SWIG_IsOK(res2
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20388 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_Py_Void();
20402 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20405 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
20406 return SWIG_Py_Void();
20409 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20410 return SWIG_Python_InitShadowInstance(args
);
20413 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20414 PyObject
*resultobj
= 0;
20415 wxDC
*arg1
= (wxDC
*) 0 ;
20416 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20417 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20418 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20419 wxBufferedDC
*result
= 0 ;
20427 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
20428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20434 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20435 if (!SWIG_IsOK(res2
)) {
20436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20441 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20444 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20445 if (!SWIG_IsOK(ecode3
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20448 arg3
= static_cast< int >(val3
);
20451 if (!wxPyCheckForApp()) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20464 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
20465 PyObject
*resultobj
= 0;
20466 wxDC
*arg1
= (wxDC
*) 0 ;
20468 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20469 wxBufferedDC
*result
= 0 ;
20476 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
20477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20478 if (!SWIG_IsOK(res1
)) {
20479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
20481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20484 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
20487 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
20488 if (!SWIG_IsOK(ecode3
)) {
20489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
20491 arg3
= static_cast< int >(val3
);
20494 if (!wxPyCheckForApp()) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
20507 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
20511 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
20513 if ((argc
>= 1) && (argc
<= 3)) {
20517 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
20518 _v
= SWIG_CheckState(res
);
20520 if (!_v
) goto check_1
;
20522 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
20526 if ((argc
>= 2) && (argc
<= 3)) {
20527 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
20531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
20536 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 PyObject
*resultobj
= 0;
20538 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20541 PyObject
*swig_obj
[1] ;
20543 if (!args
) SWIG_fail
;
20544 swig_obj
[0] = args
;
20545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
20546 if (!SWIG_IsOK(res1
)) {
20547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20549 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= SWIG_Py_Void();
20564 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20565 PyObject
*resultobj
= 0;
20566 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
20569 PyObject
*swig_obj
[1] ;
20571 if (!args
) SWIG_fail
;
20572 swig_obj
[0] = args
;
20573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
20574 if (!SWIG_IsOK(res1
)) {
20575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
20577 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= SWIG_Py_Void();
20591 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20594 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
20595 return SWIG_Py_Void();
20598 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20599 return SWIG_Python_InitShadowInstance(args
);
20602 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
= 0;
20604 wxWindow
*arg1
= (wxWindow
*) 0 ;
20605 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
20606 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
20607 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
20608 wxBufferedPaintDC
*result
= 0 ;
20615 PyObject
* obj0
= 0 ;
20616 PyObject
* obj1
= 0 ;
20617 PyObject
* obj2
= 0 ;
20618 char * kwnames
[] = {
20619 (char *) "window",(char *) "buffer",(char *) "style", NULL
20622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20624 if (!SWIG_IsOK(res1
)) {
20625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20629 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20630 if (!SWIG_IsOK(res2
)) {
20631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20636 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20640 if (!SWIG_IsOK(ecode3
)) {
20641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
20643 arg3
= static_cast< int >(val3
);
20646 if (!wxPyCheckForApp()) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
20659 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20662 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
20663 return SWIG_Py_Void();
20666 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20667 return SWIG_Python_InitShadowInstance(args
);
20670 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20671 PyObject
*resultobj
= 0;
20672 wxScreenDC
*result
= 0 ;
20674 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
20676 if (!wxPyCheckForApp()) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (wxScreenDC
*)new wxScreenDC();
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
20689 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
= 0;
20691 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20692 wxWindow
*arg2
= (wxWindow
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char * kwnames
[] = {
20701 (char *) "self",(char *) "window", NULL
20704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20709 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20711 if (!SWIG_IsOK(res2
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
20714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20730 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
= 0;
20732 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20733 wxRect
*arg2
= (wxRect
*) NULL
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 char * kwnames
[] = {
20742 (char *) "self",(char *) "rect", NULL
20745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20747 if (!SWIG_IsOK(res1
)) {
20748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20750 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20752 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20753 if (!SWIG_IsOK(res2
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
20756 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20773 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20774 PyObject
*resultobj
= 0;
20775 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
20779 PyObject
*swig_obj
[1] ;
20781 if (!args
) SWIG_fail
;
20782 swig_obj
[0] = args
;
20783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
20784 if (!SWIG_IsOK(res1
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
20787 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (bool)(arg1
)->EndDrawingOnTop();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20803 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20806 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
20807 return SWIG_Py_Void();
20810 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20811 return SWIG_Python_InitShadowInstance(args
);
20814 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
= 0;
20816 wxWindow
*arg1
= (wxWindow
*) 0 ;
20817 wxClientDC
*result
= 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char * kwnames
[] = {
20822 (char *) "win", NULL
20825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
20826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20832 if (!wxPyCheckForApp()) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (wxClientDC
*)new wxClientDC(arg1
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
20845 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20848 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
20849 return SWIG_Py_Void();
20852 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 return SWIG_Python_InitShadowInstance(args
);
20856 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
= 0;
20858 wxWindow
*arg1
= (wxWindow
*) 0 ;
20859 wxPaintDC
*result
= 0 ;
20862 PyObject
* obj0
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "win", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20874 if (!wxPyCheckForApp()) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
20887 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
20891 return SWIG_Py_Void();
20894 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20895 return SWIG_Python_InitShadowInstance(args
);
20898 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= 0;
20900 wxWindow
*arg1
= (wxWindow
*) 0 ;
20901 wxWindowDC
*result
= 0 ;
20904 PyObject
* obj0
= 0 ;
20905 char * kwnames
[] = {
20906 (char *) "win", NULL
20909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
20910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20911 if (!SWIG_IsOK(res1
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
20914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20916 if (!wxPyCheckForApp()) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
20929 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20932 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
20933 return SWIG_Py_Void();
20936 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 return SWIG_Python_InitShadowInstance(args
);
20940 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= 0;
20944 wxMirrorDC
*result
= 0 ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char * kwnames
[] = {
20952 (char *) "dc",(char *) "mirror", NULL
20955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20956 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
20957 if (!SWIG_IsOK(res1
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
20963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20965 if (!SWIG_IsOK(ecode2
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
20968 arg2
= static_cast< bool >(val2
);
20970 if (!wxPyCheckForApp()) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
20983 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20986 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
20987 return SWIG_Py_Void();
20990 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20991 return SWIG_Python_InitShadowInstance(args
);
20994 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
= 0;
20996 wxPrintData
*arg1
= 0 ;
20997 wxPostScriptDC
*result
= 0 ;
21000 PyObject
* obj0
= 0 ;
21001 char * kwnames
[] = {
21002 (char *) "printData", NULL
21005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21006 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21007 if (!SWIG_IsOK(res1
)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21013 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21015 if (!wxPyCheckForApp()) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21028 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21029 PyObject
*resultobj
= 0;
21030 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21031 wxPrintData
*result
= 0 ;
21034 PyObject
*swig_obj
[1] ;
21036 if (!args
) SWIG_fail
;
21037 swig_obj
[0] = args
;
21038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21039 if (!SWIG_IsOK(res1
)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21042 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21047 result
= (wxPrintData
*) &_result_ref
;
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21059 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
= 0;
21061 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21062 wxPrintData
*arg2
= 0 ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 char * kwnames
[] = {
21070 (char *) "self",(char *) "data", NULL
21073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21075 if (!SWIG_IsOK(res1
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21078 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21080 if (!SWIG_IsOK(res2
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21086 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_Py_Void();
21100 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21105 PyObject
* obj0
= 0 ;
21106 char * kwnames
[] = {
21107 (char *) "ppi", NULL
21110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21112 if (!SWIG_IsOK(ecode1
)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21115 arg1
= static_cast< int >(val1
);
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 wxPostScriptDC::SetResolution(arg1
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_Py_Void();
21129 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21130 PyObject
*resultobj
= 0;
21133 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (int)wxPostScriptDC::GetResolution();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_From_int(static_cast< int >(result
));
21147 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21150 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21151 return SWIG_Py_Void();
21154 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 return SWIG_Python_InitShadowInstance(args
);
21158 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
= 0;
21160 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21161 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21162 wxMetaFile
*result
= 0 ;
21163 bool temp1
= false ;
21164 PyObject
* obj0
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "filename", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21172 arg1
= wxString_in_helper(obj0
);
21173 if (arg1
== NULL
) SWIG_fail
;
21178 if (!wxPyCheckForApp()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21199 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21202 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
21203 return SWIG_Py_Void();
21206 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21207 return SWIG_Python_InitShadowInstance(args
);
21210 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
= 0;
21212 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21213 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21214 int arg2
= (int) 0 ;
21215 int arg3
= (int) 0 ;
21216 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21217 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21218 wxMetaFileDC
*result
= 0 ;
21219 bool temp1
= false ;
21224 bool temp4
= false ;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 PyObject
* obj3
= 0 ;
21229 char * kwnames
[] = {
21230 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
21233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21236 arg1
= wxString_in_helper(obj0
);
21237 if (arg1
== NULL
) SWIG_fail
;
21242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21243 if (!SWIG_IsOK(ecode2
)) {
21244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
21246 arg2
= static_cast< int >(val2
);
21249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21250 if (!SWIG_IsOK(ecode3
)) {
21251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
21253 arg3
= static_cast< int >(val3
);
21257 arg4
= wxString_in_helper(obj3
);
21258 if (arg4
== NULL
) SWIG_fail
;
21263 if (!wxPyCheckForApp()) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
21292 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21295 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
21296 return SWIG_Py_Void();
21299 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21300 return SWIG_Python_InitShadowInstance(args
);
21303 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
= 0;
21305 wxPrintData
*arg1
= 0 ;
21306 wxPrinterDC
*result
= 0 ;
21309 PyObject
* obj0
= 0 ;
21310 char * kwnames
[] = {
21311 (char *) "printData", NULL
21314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
21315 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21316 if (!SWIG_IsOK(res1
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21322 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21324 if (!wxPyCheckForApp()) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
21337 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
21341 return SWIG_Py_Void();
21344 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21345 return SWIG_Python_InitShadowInstance(args
);
21348 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
= 0;
21352 int arg3
= (int) true ;
21353 int arg4
= (int) 1 ;
21354 wxImageList
*result
= 0 ;
21363 PyObject
* obj0
= 0 ;
21364 PyObject
* obj1
= 0 ;
21365 PyObject
* obj2
= 0 ;
21366 PyObject
* obj3
= 0 ;
21367 char * kwnames
[] = {
21368 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
21371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21373 if (!SWIG_IsOK(ecode1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
21376 arg1
= static_cast< int >(val1
);
21377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21378 if (!SWIG_IsOK(ecode2
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
21381 arg2
= static_cast< int >(val2
);
21383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21384 if (!SWIG_IsOK(ecode3
)) {
21385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
21387 arg3
= static_cast< int >(val3
);
21390 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21391 if (!SWIG_IsOK(ecode4
)) {
21392 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
21394 arg4
= static_cast< int >(val4
);
21397 if (!wxPyCheckForApp()) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
21412 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21413 PyObject
*resultobj
= 0;
21414 wxImageList
*arg1
= (wxImageList
*) 0 ;
21417 PyObject
*swig_obj
[1] ;
21419 if (!args
) SWIG_fail
;
21420 swig_obj
[0] = args
;
21421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
21422 if (!SWIG_IsOK(res1
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
21425 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_Py_Void();
21440 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
= 0;
21442 wxImageList
*arg1
= (wxImageList
*) 0 ;
21443 wxBitmap
*arg2
= 0 ;
21444 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
21445 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 char * kwnames
[] = {
21457 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
21460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21462 if (!SWIG_IsOK(res1
)) {
21463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
21465 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21467 if (!SWIG_IsOK(res2
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21473 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21476 if (!SWIG_IsOK(res3
)) {
21477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21482 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= SWIG_From_int(static_cast< int >(result
));
21497 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
= 0;
21499 wxImageList
*arg1
= (wxImageList
*) 0 ;
21500 wxBitmap
*arg2
= 0 ;
21501 wxColour
*arg3
= 0 ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 PyObject
* obj2
= 0 ;
21511 char * kwnames
[] = {
21512 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
21515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21517 if (!SWIG_IsOK(res1
)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
21520 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21522 if (!SWIG_IsOK(res2
)) {
21523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21528 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21531 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_From_int(static_cast< int >(result
));
21546 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
= 0;
21548 wxImageList
*arg1
= (wxImageList
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 char * kwnames
[] = {
21558 (char *) "self",(char *) "icon", NULL
21561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21563 if (!SWIG_IsOK(res1
)) {
21564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
21566 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
21568 if (!SWIG_IsOK(res2
)) {
21569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
21574 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= SWIG_From_int(static_cast< int >(result
));
21588 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
= 0;
21590 wxImageList
*arg1
= (wxImageList
*) 0 ;
21592 SwigValueWrapper
<wxBitmap
> result
;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 char * kwnames
[] = {
21600 (char *) "self",(char *) "index", NULL
21603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21605 if (!SWIG_IsOK(res1
)) {
21606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
21608 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21610 if (!SWIG_IsOK(ecode2
)) {
21611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
21613 arg2
= static_cast< int >(val2
);
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
21627 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
= 0;
21629 wxImageList
*arg1
= (wxImageList
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char * kwnames
[] = {
21639 (char *) "self",(char *) "index", NULL
21642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21644 if (!SWIG_IsOK(res1
)) {
21645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
21647 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21649 if (!SWIG_IsOK(ecode2
)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
21652 arg2
= static_cast< int >(val2
);
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
21666 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= 0;
21668 wxImageList
*arg1
= (wxImageList
*) 0 ;
21670 wxBitmap
*arg3
= 0 ;
21671 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
21672 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 PyObject
* obj3
= 0 ;
21686 char * kwnames
[] = {
21687 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
21690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21692 if (!SWIG_IsOK(res1
)) {
21693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
21695 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21697 if (!SWIG_IsOK(ecode2
)) {
21698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
21700 arg2
= static_cast< int >(val2
);
21701 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21702 if (!SWIG_IsOK(res3
)) {
21703 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
21708 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21710 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21711 if (!SWIG_IsOK(res4
)) {
21712 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
21717 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21734 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= 0;
21736 wxImageList
*arg1
= (wxImageList
*) 0 ;
21741 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
21742 bool arg7
= (bool) (bool)false ;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 PyObject
* obj2
= 0 ;
21761 PyObject
* obj3
= 0 ;
21762 PyObject
* obj4
= 0 ;
21763 PyObject
* obj5
= 0 ;
21764 PyObject
* obj6
= 0 ;
21765 char * kwnames
[] = {
21766 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
21769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21771 if (!SWIG_IsOK(res1
)) {
21772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
21774 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21776 if (!SWIG_IsOK(ecode2
)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
21779 arg2
= static_cast< int >(val2
);
21780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
21781 if (!SWIG_IsOK(res3
)) {
21782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
21787 arg3
= reinterpret_cast< wxDC
* >(argp3
);
21788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21789 if (!SWIG_IsOK(ecode4
)) {
21790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
21792 arg4
= static_cast< int >(val4
);
21793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21794 if (!SWIG_IsOK(ecode5
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
21797 arg5
= static_cast< int >(val5
);
21799 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21800 if (!SWIG_IsOK(ecode6
)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
21803 arg6
= static_cast< int >(val6
);
21806 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
21807 if (!SWIG_IsOK(ecode7
)) {
21808 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
21810 arg7
= static_cast< bool >(val7
);
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21827 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 PyObject
*resultobj
= 0;
21829 wxImageList
*arg1
= (wxImageList
*) 0 ;
21833 PyObject
*swig_obj
[1] ;
21835 if (!args
) SWIG_fail
;
21836 swig_obj
[0] = args
;
21837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
21841 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (int)(arg1
)->GetImageCount();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_From_int(static_cast< int >(result
));
21855 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
= 0;
21857 wxImageList
*arg1
= (wxImageList
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 char * kwnames
[] = {
21867 (char *) "self",(char *) "index", NULL
21870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21872 if (!SWIG_IsOK(res1
)) {
21873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
21875 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21877 if (!SWIG_IsOK(ecode2
)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
21880 arg2
= static_cast< int >(val2
);
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)(arg1
)->Remove(arg2
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21896 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21897 PyObject
*resultobj
= 0;
21898 wxImageList
*arg1
= (wxImageList
*) 0 ;
21902 PyObject
*swig_obj
[1] ;
21904 if (!args
) SWIG_fail
;
21905 swig_obj
[0] = args
;
21906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21907 if (!SWIG_IsOK(res1
)) {
21908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
21910 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 result
= (bool)(arg1
)->RemoveAll();
21914 wxPyEndAllowThreads(__tstate
);
21915 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21926 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
= 0;
21928 wxImageList
*arg1
= (wxImageList
*) 0 ;
21937 int res3
= SWIG_TMPOBJ
;
21939 int res4
= SWIG_TMPOBJ
;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "self",(char *) "index", NULL
21948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
21953 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
21954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21955 if (!SWIG_IsOK(ecode2
)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
21958 arg2
= static_cast< int >(val2
);
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= SWIG_Py_Void();
21966 if (SWIG_IsTmpObj(res3
)) {
21967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21969 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21972 if (SWIG_IsTmpObj(res4
)) {
21973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21975 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21984 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21987 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
21988 return SWIG_Py_Void();
21991 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21992 return SWIG_Python_InitShadowInstance(args
);
21995 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21996 PyObject
*resultobj
= 0;
21997 wxStockGDI
*result
= 0 ;
21999 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (wxStockGDI
*)new wxStockGDI();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22013 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22014 PyObject
*resultobj
= 0;
22015 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22018 PyObject
*swig_obj
[1] ;
22020 if (!args
) SWIG_fail
;
22021 swig_obj
[0] = args
;
22022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22023 if (!SWIG_IsOK(res1
)) {
22024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22026 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_Py_Void();
22041 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22042 PyObject
*resultobj
= 0;
22044 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 wxStockGDI::DeleteAll();
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_Py_Void();
22058 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22059 PyObject
*resultobj
= 0;
22060 wxStockGDI
*result
= 0 ;
22062 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22067 result
= (wxStockGDI
*) &_result_ref
;
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22079 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
= 0;
22081 wxStockGDI::Item arg1
;
22082 wxBrush
*result
= 0 ;
22085 PyObject
* obj0
= 0 ;
22086 char * kwnames
[] = {
22087 (char *) "item", NULL
22090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
22091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22092 if (!SWIG_IsOK(ecode1
)) {
22093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22095 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22109 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxStockGDI::Item arg1
;
22112 wxColour
*result
= 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char * kwnames
[] = {
22117 (char *) "item", NULL
22120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
22121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22122 if (!SWIG_IsOK(ecode1
)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22125 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22139 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxStockGDI::Item arg1
;
22142 wxCursor
*result
= 0 ;
22145 PyObject
* obj0
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "item", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
22151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22152 if (!SWIG_IsOK(ecode1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22155 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
22169 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
= 0;
22171 wxStockGDI::Item arg1
;
22172 wxPen
*result
= 0 ;
22175 PyObject
* obj0
= 0 ;
22176 char * kwnames
[] = {
22177 (char *) "item", NULL
22180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
22181 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22182 if (!SWIG_IsOK(ecode1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
22185 arg1
= static_cast< wxStockGDI::Item
>(val1
);
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22199 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
= 0;
22201 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22202 wxStockGDI::Item arg2
;
22203 wxFont
*result
= 0 ;
22208 PyObject
* obj0
= 0 ;
22209 PyObject
* obj1
= 0 ;
22210 char * kwnames
[] = {
22211 (char *) "self",(char *) "item", NULL
22214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
22216 if (!SWIG_IsOK(res1
)) {
22217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22219 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22221 if (!SWIG_IsOK(ecode2
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
22224 arg2
= static_cast< wxStockGDI::Item
>(val2
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22238 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22241 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
22242 return SWIG_Py_Void();
22245 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22246 return SWIG_Python_InitShadowInstance(args
);
22249 SWIGINTERN
int NullBitmap_set(PyObject
*) {
22250 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
22255 SWIGINTERN PyObject
*NullBitmap_get(void) {
22256 PyObject
*pyobj
= 0;
22258 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
22263 SWIGINTERN
int NullIcon_set(PyObject
*) {
22264 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
22269 SWIGINTERN PyObject
*NullIcon_get(void) {
22270 PyObject
*pyobj
= 0;
22272 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
22277 SWIGINTERN
int NullCursor_set(PyObject
*) {
22278 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
22283 SWIGINTERN PyObject
*NullCursor_get(void) {
22284 PyObject
*pyobj
= 0;
22286 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
22291 SWIGINTERN
int NullPen_set(PyObject
*) {
22292 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
22297 SWIGINTERN PyObject
*NullPen_get(void) {
22298 PyObject
*pyobj
= 0;
22300 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
22305 SWIGINTERN
int NullBrush_set(PyObject
*) {
22306 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
22311 SWIGINTERN PyObject
*NullBrush_get(void) {
22312 PyObject
*pyobj
= 0;
22314 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
22319 SWIGINTERN
int NullPalette_set(PyObject
*) {
22320 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
22325 SWIGINTERN PyObject
*NullPalette_get(void) {
22326 PyObject
*pyobj
= 0;
22328 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
22333 SWIGINTERN
int NullFont_set(PyObject
*) {
22334 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
22339 SWIGINTERN PyObject
*NullFont_get(void) {
22340 PyObject
*pyobj
= 0;
22342 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
22347 SWIGINTERN
int NullColour_set(PyObject
*) {
22348 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
22353 SWIGINTERN PyObject
*NullColour_get(void) {
22354 PyObject
*pyobj
= 0;
22356 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
22361 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxGDIObjListBase
*result
= 0 ;
22365 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
22379 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22380 PyObject
*resultobj
= 0;
22381 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
22392 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_Py_Void();
22407 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22410 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
22411 return SWIG_Py_Void();
22414 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 return SWIG_Python_InitShadowInstance(args
);
22418 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
= 0;
22420 wxPenList
*arg1
= (wxPenList
*) 0 ;
22421 wxColour
*arg2
= 0 ;
22424 wxPen
*result
= 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 PyObject
* obj3
= 0 ;
22436 char * kwnames
[] = {
22437 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
22440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22442 if (!SWIG_IsOK(res1
)) {
22443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22445 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22448 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22451 if (!SWIG_IsOK(ecode3
)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
22454 arg3
= static_cast< int >(val3
);
22455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22456 if (!SWIG_IsOK(ecode4
)) {
22457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
22459 arg4
= static_cast< int >(val4
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
22473 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
= 0;
22475 wxPenList
*arg1
= (wxPenList
*) 0 ;
22476 wxPen
*arg2
= (wxPen
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "self",(char *) "pen", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
22492 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22494 if (!SWIG_IsOK(res2
)) {
22495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
22497 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->AddPen(arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_Py_Void();
22511 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
= 0;
22513 wxPenList
*arg1
= (wxPenList
*) 0 ;
22514 wxPen
*arg2
= (wxPen
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 char * kwnames
[] = {
22522 (char *) "self",(char *) "pen", NULL
22525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
22527 if (!SWIG_IsOK(res1
)) {
22528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
22530 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
22531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
22532 if (!SWIG_IsOK(res2
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
22535 arg2
= reinterpret_cast< wxPen
* >(argp2
);
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 (arg1
)->RemovePen(arg2
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= SWIG_Py_Void();
22549 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22552 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
22553 return SWIG_Py_Void();
22556 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
= 0;
22558 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22559 wxColour
*arg2
= 0 ;
22560 int arg3
= (int) wxSOLID
;
22561 wxBrush
*result
= 0 ;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 PyObject
* obj2
= 0 ;
22570 char * kwnames
[] = {
22571 (char *) "self",(char *) "colour",(char *) "style", NULL
22574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22579 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22582 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22586 if (!SWIG_IsOK(ecode3
)) {
22587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
22589 arg3
= static_cast< int >(val3
);
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
22604 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
= 0;
22606 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22607 wxBrush
*arg2
= (wxBrush
*) 0 ;
22612 PyObject
* obj0
= 0 ;
22613 PyObject
* obj1
= 0 ;
22614 char * kwnames
[] = {
22615 (char *) "self",(char *) "brush", NULL
22618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22620 if (!SWIG_IsOK(res1
)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22623 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22625 if (!SWIG_IsOK(res2
)) {
22626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22628 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->AddBrush(arg2
);
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_Py_Void();
22642 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
= 0;
22644 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
22645 wxBrush
*arg2
= (wxBrush
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 char * kwnames
[] = {
22653 (char *) "self",(char *) "brush", NULL
22656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
22658 if (!SWIG_IsOK(res1
)) {
22659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
22661 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
22662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
22663 if (!SWIG_IsOK(res2
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
22666 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->RemoveBrush(arg2
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_Py_Void();
22680 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22683 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
22684 return SWIG_Py_Void();
22687 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
= 0;
22689 wxFontList
*arg1
= (wxFontList
*) 0 ;
22694 bool arg6
= (bool) false ;
22695 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22696 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22697 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
22698 wxFont
*result
= 0 ;
22711 bool temp7
= false ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 PyObject
* obj2
= 0 ;
22717 PyObject
* obj3
= 0 ;
22718 PyObject
* obj4
= 0 ;
22719 PyObject
* obj5
= 0 ;
22720 PyObject
* obj6
= 0 ;
22721 PyObject
* obj7
= 0 ;
22722 char * kwnames
[] = {
22723 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
22726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22731 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22733 if (!SWIG_IsOK(ecode2
)) {
22734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
22736 arg2
= static_cast< int >(val2
);
22737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22738 if (!SWIG_IsOK(ecode3
)) {
22739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
22741 arg3
= static_cast< int >(val3
);
22742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22743 if (!SWIG_IsOK(ecode4
)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
22746 arg4
= static_cast< int >(val4
);
22747 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22748 if (!SWIG_IsOK(ecode5
)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
22751 arg5
= static_cast< int >(val5
);
22753 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
22754 if (!SWIG_IsOK(ecode6
)) {
22755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
22757 arg6
= static_cast< bool >(val6
);
22761 arg7
= wxString_in_helper(obj6
);
22762 if (arg7
== NULL
) SWIG_fail
;
22767 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
22768 if (!SWIG_IsOK(ecode8
)) {
22769 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
22771 arg8
= static_cast< wxFontEncoding
>(val8
);
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
22794 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
= 0;
22796 wxFontList
*arg1
= (wxFontList
*) 0 ;
22797 wxFont
*arg2
= (wxFont
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char * kwnames
[] = {
22805 (char *) "self",(char *) "font", NULL
22808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22810 if (!SWIG_IsOK(res1
)) {
22811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22813 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22815 if (!SWIG_IsOK(res2
)) {
22816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
22818 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->AddFont(arg2
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_Py_Void();
22832 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
= 0;
22834 wxFontList
*arg1
= (wxFontList
*) 0 ;
22835 wxFont
*arg2
= (wxFont
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char * kwnames
[] = {
22843 (char *) "self",(char *) "font", NULL
22846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
22851 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
22852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
22853 if (!SWIG_IsOK(res2
)) {
22854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
22856 arg2
= reinterpret_cast< wxFont
* >(argp2
);
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 (arg1
)->RemoveFont(arg2
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 resultobj
= SWIG_Py_Void();
22870 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22873 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
22874 return SWIG_Py_Void();
22877 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22878 PyObject
*resultobj
= 0;
22879 wxColourDatabase
*result
= 0 ;
22881 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
22883 if (!wxPyCheckForApp()) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (wxColourDatabase
*)new wxColourDatabase();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
22896 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22897 PyObject
*resultobj
= 0;
22898 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22901 PyObject
*swig_obj
[1] ;
22903 if (!args
) SWIG_fail
;
22904 swig_obj
[0] = args
;
22905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
22909 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_Py_Void();
22924 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
= 0;
22926 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22927 wxString
*arg2
= 0 ;
22931 bool temp2
= false ;
22932 PyObject
* obj0
= 0 ;
22933 PyObject
* obj1
= 0 ;
22934 char * kwnames
[] = {
22935 (char *) "self",(char *) "name", NULL
22938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22940 if (!SWIG_IsOK(res1
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22943 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22945 arg2
= wxString_in_helper(obj1
);
22946 if (arg2
== NULL
) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
22970 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
= 0;
22972 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
22973 wxColour
*arg2
= 0 ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char * kwnames
[] = {
22981 (char *) "self",(char *) "colour", NULL
22984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
22989 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
22992 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23013 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
= 0;
23015 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23016 wxString
*arg2
= 0 ;
23017 wxColour
*arg3
= 0 ;
23020 bool temp2
= false ;
23022 PyObject
* obj0
= 0 ;
23023 PyObject
* obj1
= 0 ;
23024 PyObject
* obj2
= 0 ;
23025 char * kwnames
[] = {
23026 (char *) "self",(char *) "name",(char *) "colour", NULL
23029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23031 if (!SWIG_IsOK(res1
)) {
23032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23034 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23036 arg2
= wxString_in_helper(obj1
);
23037 if (arg2
== NULL
) SWIG_fail
;
23042 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_Py_Void();
23065 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
= 0;
23067 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23068 wxString
*arg2
= 0 ;
23074 bool temp2
= false ;
23081 PyObject
* obj0
= 0 ;
23082 PyObject
* obj1
= 0 ;
23083 PyObject
* obj2
= 0 ;
23084 PyObject
* obj3
= 0 ;
23085 PyObject
* obj4
= 0 ;
23086 char * kwnames
[] = {
23087 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
23090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23092 if (!SWIG_IsOK(res1
)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23095 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23097 arg2
= wxString_in_helper(obj1
);
23098 if (arg2
== NULL
) SWIG_fail
;
23101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23102 if (!SWIG_IsOK(ecode3
)) {
23103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
23105 arg3
= static_cast< int >(val3
);
23106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23107 if (!SWIG_IsOK(ecode4
)) {
23108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
23110 arg4
= static_cast< int >(val4
);
23111 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23112 if (!SWIG_IsOK(ecode5
)) {
23113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
23115 arg5
= static_cast< int >(val5
);
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_Py_Void();
23137 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23140 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
23141 return SWIG_Py_Void();
23144 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23145 return SWIG_Python_InitShadowInstance(args
);
23148 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23149 PyObject
*resultobj
= 0;
23150 wxFontList
*result
= 0 ;
23152 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (wxFontList
*)_wxPyInitTheFontList();
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
23166 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23167 PyObject
*resultobj
= 0;
23168 wxPenList
*result
= 0 ;
23170 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (wxPenList
*)_wxPyInitThePenList();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
23184 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23185 PyObject
*resultobj
= 0;
23186 wxBrushList
*result
= 0 ;
23188 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (wxBrushList
*)_wxPyInitTheBrushList();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
23202 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 PyObject
*resultobj
= 0;
23204 wxColourDatabase
*result
= 0 ;
23206 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23220 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23221 PyObject
*resultobj
= 0;
23222 wxEffects
*result
= 0 ;
23224 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (wxEffects
*)new wxEffects();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
23238 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23239 PyObject
*resultobj
= 0;
23240 wxEffects
*arg1
= (wxEffects
*) 0 ;
23244 PyObject
*swig_obj
[1] ;
23246 if (!args
) SWIG_fail
;
23247 swig_obj
[0] = args
;
23248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23252 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23266 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23267 PyObject
*resultobj
= 0;
23268 wxEffects
*arg1
= (wxEffects
*) 0 ;
23272 PyObject
*swig_obj
[1] ;
23274 if (!args
) SWIG_fail
;
23275 swig_obj
[0] = args
;
23276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23277 if (!SWIG_IsOK(res1
)) {
23278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23280 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23294 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23295 PyObject
*resultobj
= 0;
23296 wxEffects
*arg1
= (wxEffects
*) 0 ;
23300 PyObject
*swig_obj
[1] ;
23302 if (!args
) SWIG_fail
;
23303 swig_obj
[0] = args
;
23304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23305 if (!SWIG_IsOK(res1
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
23308 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23322 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23323 PyObject
*resultobj
= 0;
23324 wxEffects
*arg1
= (wxEffects
*) 0 ;
23328 PyObject
*swig_obj
[1] ;
23330 if (!args
) SWIG_fail
;
23331 swig_obj
[0] = args
;
23332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23333 if (!SWIG_IsOK(res1
)) {
23334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23336 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23350 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23351 PyObject
*resultobj
= 0;
23352 wxEffects
*arg1
= (wxEffects
*) 0 ;
23356 PyObject
*swig_obj
[1] ;
23358 if (!args
) SWIG_fail
;
23359 swig_obj
[0] = args
;
23360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23361 if (!SWIG_IsOK(res1
)) {
23362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
23364 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23378 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 wxEffects
*arg1
= (wxEffects
*) 0 ;
23381 wxColour
*arg2
= 0 ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 char * kwnames
[] = {
23388 (char *) "self",(char *) "c", NULL
23391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23393 if (!SWIG_IsOK(res1
)) {
23394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23396 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= SWIG_Py_Void();
23414 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
= 0;
23416 wxEffects
*arg1
= (wxEffects
*) 0 ;
23417 wxColour
*arg2
= 0 ;
23421 PyObject
* obj0
= 0 ;
23422 PyObject
* obj1
= 0 ;
23423 char * kwnames
[] = {
23424 (char *) "self",(char *) "c", NULL
23427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23429 if (!SWIG_IsOK(res1
)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23432 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= SWIG_Py_Void();
23450 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
= 0;
23452 wxEffects
*arg1
= (wxEffects
*) 0 ;
23453 wxColour
*arg2
= 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "self",(char *) "c", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
23468 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_Py_Void();
23486 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
= 0;
23488 wxEffects
*arg1
= (wxEffects
*) 0 ;
23489 wxColour
*arg2
= 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char * kwnames
[] = {
23496 (char *) "self",(char *) "c", NULL
23499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23501 if (!SWIG_IsOK(res1
)) {
23502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23504 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= SWIG_Py_Void();
23522 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= 0;
23524 wxEffects
*arg1
= (wxEffects
*) 0 ;
23525 wxColour
*arg2
= 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char * kwnames
[] = {
23532 (char *) "self",(char *) "c", NULL
23535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
23540 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_Py_Void();
23558 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
= 0;
23560 wxEffects
*arg1
= (wxEffects
*) 0 ;
23561 wxColour
*arg2
= 0 ;
23562 wxColour
*arg3
= 0 ;
23563 wxColour
*arg4
= 0 ;
23564 wxColour
*arg5
= 0 ;
23565 wxColour
*arg6
= 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 PyObject
* obj2
= 0 ;
23576 PyObject
* obj3
= 0 ;
23577 PyObject
* obj4
= 0 ;
23578 PyObject
* obj5
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
23588 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23595 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23599 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
23603 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
23607 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= SWIG_Py_Void();
23622 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= 0;
23624 wxEffects
*arg1
= (wxEffects
*) 0 ;
23627 int arg4
= (int) 1 ;
23635 PyObject
* obj0
= 0 ;
23636 PyObject
* obj1
= 0 ;
23637 PyObject
* obj2
= 0 ;
23638 PyObject
* obj3
= 0 ;
23639 char * kwnames
[] = {
23640 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
23643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
23648 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23649 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
23650 if (!SWIG_IsOK(res2
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
23656 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23659 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
23662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23663 if (!SWIG_IsOK(ecode4
)) {
23664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
23666 arg4
= static_cast< int >(val4
);
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_Py_Void();
23681 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
= 0;
23683 wxEffects
*arg1
= (wxEffects
*) 0 ;
23686 wxBitmap
*arg4
= 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 PyObject
* obj2
= 0 ;
23698 PyObject
* obj3
= 0 ;
23699 char * kwnames
[] = {
23700 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
23703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
23708 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
23711 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23713 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
23714 if (!SWIG_IsOK(res3
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
23720 arg3
= reinterpret_cast< wxDC
* >(argp3
);
23721 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
23722 if (!SWIG_IsOK(res4
)) {
23723 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
23728 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23744 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23747 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
23748 return SWIG_Py_Void();
23751 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23752 return SWIG_Python_InitShadowInstance(args
);
23755 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
= 0;
23760 wxSplitterRenderParams
*result
= 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 PyObject
* obj2
= 0 ;
23770 char * kwnames
[] = {
23771 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
23774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23776 if (!SWIG_IsOK(ecode1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
23779 arg1
= static_cast< int >(val1
);
23780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23781 if (!SWIG_IsOK(ecode2
)) {
23782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
23784 arg2
= static_cast< int >(val2
);
23785 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23786 if (!SWIG_IsOK(ecode3
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
23789 arg3
= static_cast< bool >(val3
);
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
23803 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 PyObject
*resultobj
= 0;
23805 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23816 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_Py_Void();
23831 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23832 PyObject
*resultobj
= 0;
23833 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23837 PyObject
*swig_obj
[1] ;
23839 if (!args
) SWIG_fail
;
23840 swig_obj
[0] = args
;
23841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23842 if (!SWIG_IsOK(res1
)) {
23843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23845 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23846 result
= (int)(int) ((arg1
)->widthSash
);
23847 resultobj
= SWIG_From_int(static_cast< int >(result
));
23854 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23855 PyObject
*resultobj
= 0;
23856 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23868 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23869 result
= (int)(int) ((arg1
)->border
);
23870 resultobj
= SWIG_From_int(static_cast< int >(result
));
23877 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23878 PyObject
*resultobj
= 0;
23879 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
23883 PyObject
*swig_obj
[1] ;
23885 if (!args
) SWIG_fail
;
23886 swig_obj
[0] = args
;
23887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
23888 if (!SWIG_IsOK(res1
)) {
23889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
23891 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
23892 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
23893 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
23900 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23903 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
23904 return SWIG_Py_Void();
23907 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23908 return SWIG_Python_InitShadowInstance(args
);
23911 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
= 0;
23915 wxRendererVersion
*result
= 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "version_",(char *) "age_", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23928 if (!SWIG_IsOK(ecode1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
23931 arg1
= static_cast< int >(val1
);
23932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23933 if (!SWIG_IsOK(ecode2
)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
23936 arg2
= static_cast< int >(val2
);
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
23950 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23951 PyObject
*resultobj
= 0;
23952 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
23955 PyObject
*swig_obj
[1] ;
23957 if (!args
) SWIG_fail
;
23958 swig_obj
[0] = args
;
23959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
23960 if (!SWIG_IsOK(res1
)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
23963 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= SWIG_Py_Void();
23978 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23979 PyObject
*resultobj
= 0;
23980 wxRendererVersion
*arg1
= 0 ;
23984 PyObject
* obj0
= 0 ;
23985 char * kwnames
[] = {
23986 (char *) "ver", NULL
23989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
23990 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
23991 if (!SWIG_IsOK(res1
)) {
23992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
23997 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24013 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24014 PyObject
*resultobj
= 0;
24015 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24019 PyObject
*swig_obj
[1] ;
24021 if (!args
) SWIG_fail
;
24022 swig_obj
[0] = args
;
24023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24027 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24028 result
= (int)(int) ((arg1
)->version
);
24029 resultobj
= SWIG_From_int(static_cast< int >(result
));
24036 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24037 PyObject
*resultobj
= 0;
24038 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24042 PyObject
*swig_obj
[1] ;
24044 if (!args
) SWIG_fail
;
24045 swig_obj
[0] = args
;
24046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24050 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24051 result
= (int)(int) ((arg1
)->age
);
24052 resultobj
= SWIG_From_int(static_cast< int >(result
));
24059 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24062 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24063 return SWIG_Py_Void();
24066 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24067 return SWIG_Python_InitShadowInstance(args
);
24070 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24073 wxWindow
*arg2
= (wxWindow
*) 0 ;
24076 int arg5
= (int) 0 ;
24086 PyObject
* obj0
= 0 ;
24087 PyObject
* obj1
= 0 ;
24088 PyObject
* obj2
= 0 ;
24089 PyObject
* obj3
= 0 ;
24090 PyObject
* obj4
= 0 ;
24091 char * kwnames
[] = {
24092 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24097 if (!SWIG_IsOK(res1
)) {
24098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24100 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24102 if (!SWIG_IsOK(res2
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24105 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24106 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24107 if (!SWIG_IsOK(res3
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
24113 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24116 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24119 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24120 if (!SWIG_IsOK(ecode5
)) {
24121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
24123 arg5
= static_cast< int >(val5
);
24126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24127 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_Py_Void();
24138 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24141 wxWindow
*arg2
= (wxWindow
*) 0 ;
24144 int arg5
= (int) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 PyObject
* obj3
= 0 ;
24158 PyObject
* obj4
= 0 ;
24159 char * kwnames
[] = {
24160 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24165 if (!SWIG_IsOK(res1
)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24168 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24170 if (!SWIG_IsOK(res2
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24174 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24175 if (!SWIG_IsOK(res3
)) {
24176 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
24181 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24184 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24187 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24188 if (!SWIG_IsOK(ecode5
)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
24191 arg5
= static_cast< int >(val5
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_Py_Void();
24206 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= 0;
24208 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24209 wxWindow
*arg2
= (wxWindow
*) 0 ;
24212 int arg5
= (int) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 PyObject
* obj2
= 0 ;
24225 PyObject
* obj3
= 0 ;
24226 PyObject
* obj4
= 0 ;
24227 char * kwnames
[] = {
24228 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24236 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24238 if (!SWIG_IsOK(res2
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
24241 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24242 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24243 if (!SWIG_IsOK(res3
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
24249 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24252 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24256 if (!SWIG_IsOK(ecode5
)) {
24257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
24259 arg5
= static_cast< int >(val5
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_Py_Void();
24274 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24277 wxWindow
*arg2
= (wxWindow
*) 0 ;
24281 wxOrientation arg6
;
24282 int arg7
= (int) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 PyObject
* obj2
= 0 ;
24299 PyObject
* obj3
= 0 ;
24300 PyObject
* obj4
= 0 ;
24301 PyObject
* obj5
= 0 ;
24302 PyObject
* obj6
= 0 ;
24303 char * kwnames
[] = {
24304 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
24307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24309 if (!SWIG_IsOK(res1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24312 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24314 if (!SWIG_IsOK(res2
)) {
24315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
24317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24318 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24319 if (!SWIG_IsOK(res3
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
24325 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24328 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24330 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24331 if (!SWIG_IsOK(ecode5
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
24334 arg5
= static_cast< int >(val5
);
24335 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24336 if (!SWIG_IsOK(ecode6
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
24339 arg6
= static_cast< wxOrientation
>(val6
);
24341 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24342 if (!SWIG_IsOK(ecode7
)) {
24343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
24345 arg7
= static_cast< int >(val7
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_Py_Void();
24360 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= 0;
24362 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24363 wxWindow
*arg2
= (wxWindow
*) 0 ;
24366 int arg5
= (int) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 PyObject
* obj2
= 0 ;
24379 PyObject
* obj3
= 0 ;
24380 PyObject
* obj4
= 0 ;
24381 char * kwnames
[] = {
24382 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24390 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24392 if (!SWIG_IsOK(res2
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24395 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24396 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24397 if (!SWIG_IsOK(res3
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
24403 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24406 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24409 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24410 if (!SWIG_IsOK(ecode5
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
24413 arg5
= static_cast< int >(val5
);
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_Py_Void();
24428 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
= 0;
24430 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24431 wxWindow
*arg2
= (wxWindow
*) 0 ;
24434 int arg5
= (int) 0 ;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 PyObject
* obj2
= 0 ;
24447 PyObject
* obj3
= 0 ;
24448 PyObject
* obj4
= 0 ;
24449 char * kwnames
[] = {
24450 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24458 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24460 if (!SWIG_IsOK(res2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
24463 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24464 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24465 if (!SWIG_IsOK(res3
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
24471 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24474 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24477 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24478 if (!SWIG_IsOK(ecode5
)) {
24479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
24481 arg5
= static_cast< int >(val5
);
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= SWIG_Py_Void();
24496 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
= 0;
24498 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24499 wxWindow
*arg2
= (wxWindow
*) 0 ;
24502 int arg5
= (int) 0 ;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 PyObject
* obj2
= 0 ;
24515 PyObject
* obj3
= 0 ;
24516 PyObject
* obj4
= 0 ;
24517 char * kwnames
[] = {
24518 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24526 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24528 if (!SWIG_IsOK(res2
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
24531 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24532 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24533 if (!SWIG_IsOK(res3
)) {
24534 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
24539 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24542 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24545 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24546 if (!SWIG_IsOK(ecode5
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
24549 arg5
= static_cast< int >(val5
);
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24567 wxWindow
*arg2
= (wxWindow
*) 0 ;
24570 int arg5
= (int) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 PyObject
* obj2
= 0 ;
24583 PyObject
* obj3
= 0 ;
24584 PyObject
* obj4
= 0 ;
24585 char * kwnames
[] = {
24586 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24591 if (!SWIG_IsOK(res1
)) {
24592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24594 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24596 if (!SWIG_IsOK(res2
)) {
24597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
24599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24600 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24601 if (!SWIG_IsOK(res3
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
24607 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24610 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24613 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24614 if (!SWIG_IsOK(ecode5
)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
24617 arg5
= static_cast< int >(val5
);
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= SWIG_Py_Void();
24632 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
= 0;
24634 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24635 wxWindow
*arg2
= (wxWindow
*) 0 ;
24638 int arg5
= (int) 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 PyObject
* obj2
= 0 ;
24651 PyObject
* obj3
= 0 ;
24652 PyObject
* obj4
= 0 ;
24653 char * kwnames
[] = {
24654 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
24657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24659 if (!SWIG_IsOK(res1
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24662 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24664 if (!SWIG_IsOK(res2
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
24667 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24668 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24669 if (!SWIG_IsOK(res3
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
24675 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24678 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
24681 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24682 if (!SWIG_IsOK(ecode5
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
24685 arg5
= static_cast< int >(val5
);
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_Py_Void();
24700 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
= 0;
24702 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24703 wxWindow
*arg2
= (wxWindow
*) 0 ;
24704 SwigValueWrapper
<wxSplitterRenderParams
> result
;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 char * kwnames
[] = {
24712 (char *) "self",(char *) "win", NULL
24715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24717 if (!SWIG_IsOK(res1
)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24720 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24722 if (!SWIG_IsOK(res2
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
24725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
24739 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24740 PyObject
*resultobj
= 0;
24741 wxRendererNative
*result
= 0 ;
24743 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
24745 if (!wxPyCheckForApp()) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24748 wxRendererNative
&_result_ref
= wxRendererNative::Get();
24749 result
= (wxRendererNative
*) &_result_ref
;
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24761 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24762 PyObject
*resultobj
= 0;
24763 wxRendererNative
*result
= 0 ;
24765 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
24767 if (!wxPyCheckForApp()) SWIG_fail
;
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
24771 result
= (wxRendererNative
*) &_result_ref
;
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24783 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24784 PyObject
*resultobj
= 0;
24785 wxRendererNative
*result
= 0 ;
24787 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
24789 if (!wxPyCheckForApp()) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
24793 result
= (wxRendererNative
*) &_result_ref
;
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24805 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= 0;
24807 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24808 wxRendererNative
*result
= 0 ;
24811 PyObject
* obj0
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "renderer", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
24821 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24823 if (!wxPyCheckForApp()) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24836 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24837 PyObject
*resultobj
= 0;
24838 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
24839 SwigValueWrapper
<wxRendererVersion
> result
;
24842 PyObject
*swig_obj
[1] ;
24844 if (!args
) SWIG_fail
;
24845 swig_obj
[0] = args
;
24846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
24847 if (!SWIG_IsOK(res1
)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
24850 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
24864 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24867 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
24868 return SWIG_Py_Void();
24871 static PyMethodDef SwigMethods
[] = {
24872 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
24873 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
24874 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
24875 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
24876 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
24877 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24878 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24879 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24880 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
24881 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
24882 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
24883 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
24884 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
24885 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24886 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24887 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24888 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24889 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
24890 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24891 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24892 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
24893 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
24894 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
24895 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
24896 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24897 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
24898 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24899 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24900 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
24901 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
24902 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
24903 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
24904 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24905 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
24906 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
24907 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
24908 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
24909 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
24910 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
24911 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
24912 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24913 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24914 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24915 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24916 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24917 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24918 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
24919 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24920 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
24921 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24922 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24923 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
24924 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
24925 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24926 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24927 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
24928 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24929 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24930 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24931 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
24932 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
24933 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
24934 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
24935 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
24936 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
24937 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
24938 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24939 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
24940 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24941 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24942 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24943 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24944 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24945 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
24946 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
24947 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
24948 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
24949 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
24950 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
24951 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
24952 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24953 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24954 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24955 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24957 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
24958 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24959 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24960 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24961 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24962 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24963 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24964 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24965 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
24966 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
24967 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24968 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
24969 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
24970 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
24971 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24972 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
24973 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
24974 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24975 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24976 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24977 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24978 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
24979 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
24980 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
24981 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
24982 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24983 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24984 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24985 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24986 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
24987 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
24988 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24989 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
24990 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
24991 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24992 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
24993 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24994 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
24995 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
24996 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
24997 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
24998 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24999 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25001 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25002 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25004 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25005 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25006 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25007 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25008 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25009 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25010 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25011 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25012 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25013 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25014 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25015 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25016 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25017 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25018 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25019 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25020 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25021 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25022 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25023 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25024 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25025 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25026 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25027 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25028 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25029 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25030 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25031 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25032 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25033 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25034 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25035 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25036 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25037 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25038 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25039 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25040 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25041 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25042 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25043 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25044 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25045 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25046 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25047 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25048 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25049 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25050 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25051 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25052 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25053 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25054 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25055 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25056 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25057 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
25058 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
25059 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
25060 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
25061 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25062 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
25063 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
25064 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
25065 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
25066 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
25067 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
25068 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
25069 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25071 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25072 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25073 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25074 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25075 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25077 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
25078 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
25079 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25080 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
25081 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
25082 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
25083 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
25084 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
25085 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
25086 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
25087 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
25088 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
25089 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
25091 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
25092 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
25093 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25095 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
25096 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
25097 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
25098 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25099 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
25101 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
25107 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25108 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25109 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25110 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25111 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
25112 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
25113 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25114 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
25115 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25117 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25120 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
25121 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
25124 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
25125 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
25126 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
25127 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
25128 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
25129 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
25130 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
25131 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
25132 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
25133 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
25134 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
25135 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
25136 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25142 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25144 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
25148 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
25149 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
25150 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
25152 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
25153 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
25155 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
25156 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
25157 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
25158 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
25162 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
25163 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25164 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
25165 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
25166 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
25167 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
25168 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
25169 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
25170 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
25171 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
25172 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
25173 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25174 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
25175 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
25178 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
25179 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
25180 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
25181 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
25182 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
25183 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
25184 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
25185 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
25194 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
25195 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
25196 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
25197 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
25198 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
25199 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
25200 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
25206 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
25207 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
25208 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
25257 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
25259 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
25260 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
25261 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
25268 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
25269 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
25270 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
25271 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
25272 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
25277 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
25278 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
25279 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
25280 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
25289 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
25290 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
25291 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
25292 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
25293 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
25294 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
25295 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
25296 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
25297 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
25298 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
25299 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
25300 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
25303 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
25305 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
25307 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
25309 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
25310 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
25313 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
25314 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
25318 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
25320 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
25323 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
25324 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
25325 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
25326 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
25327 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
25328 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
25335 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
25336 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
25339 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
25340 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
25341 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
25342 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
25343 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
25344 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
25345 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
25347 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
25348 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
25349 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
25352 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
25353 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
25354 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
25356 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
25357 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
25359 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
25360 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
25362 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
25363 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
25365 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
25366 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
25368 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
25371 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
25372 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
25373 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
25375 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
25376 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
25378 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
25379 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
25381 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
25382 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
25384 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
25392 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
25394 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
25396 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
25397 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
25398 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
25399 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
25400 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
25401 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
25407 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
25408 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
25409 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
25410 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
25411 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
25412 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
25416 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
25420 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
25424 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
25425 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
25426 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
25431 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
25432 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
25433 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
25434 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
25435 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
25436 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
25437 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
25438 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
25439 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
25440 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
25441 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
25442 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
25451 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
25452 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
25454 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
25455 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
25456 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
25457 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
25458 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
25459 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
25461 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
25463 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
25464 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
25465 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
25466 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
25477 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
25478 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
25479 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
25481 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
25482 { NULL
, NULL
, 0, NULL
}
25486 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25488 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
25489 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
25491 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
25492 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25494 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
25495 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
25497 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
25498 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
25500 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
25501 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
25503 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
25504 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
25506 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
25507 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
25509 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
25510 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
25512 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
25513 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
25515 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
25516 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
25518 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
25519 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
25521 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
25522 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
25524 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
25525 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
25527 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
25528 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
25530 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
25531 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
25533 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
25534 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
25536 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
25537 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25539 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
25540 return (void *)((wxDC
*) ((wxClientDC
*) x
));
25542 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
25543 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
25545 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
25546 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
25548 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
25549 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
25551 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
25552 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
25554 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
25555 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
25557 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
25558 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
25560 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
25561 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25563 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25564 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25566 static void *_p_wxPenTo_p_wxObject(void *x
) {
25567 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
25569 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
25570 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
25572 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25573 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25575 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25576 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25578 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25581 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25582 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25584 static void *_p_wxIconTo_p_wxObject(void *x
) {
25585 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
25587 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25588 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25590 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25591 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25593 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25594 return (void *)((wxObject
*) ((wxSizer
*) x
));
25596 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25597 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25599 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25602 static void *_p_wxEventTo_p_wxObject(void *x
) {
25603 return (void *)((wxObject
*) ((wxEvent
*) x
));
25605 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25606 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25608 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25609 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25611 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25612 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25614 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
25615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
25617 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25618 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25620 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25621 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25623 static void *_p_wxDCTo_p_wxObject(void *x
) {
25624 return (void *)((wxObject
*) ((wxDC
*) x
));
25626 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25627 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25629 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25630 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25632 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25633 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25635 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25636 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25638 static void *_p_wxControlTo_p_wxObject(void *x
) {
25639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25641 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25642 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25644 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
25645 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
25647 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25648 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25650 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
25651 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
25653 static void *_p_wxRegionTo_p_wxObject(void *x
) {
25654 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
25656 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25657 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25659 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
25660 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
25662 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
25663 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
25665 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
25666 return (void *)((wxObject
*) ((wxEffects
*) x
));
25668 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25669 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25671 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25674 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
25675 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
25677 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25678 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25680 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25681 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25683 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
25684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
25686 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25687 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25689 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25692 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25693 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25695 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25696 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25698 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25699 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25701 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25702 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25704 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25705 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25707 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25708 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25710 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25713 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25714 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25716 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25719 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25720 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25722 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25723 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25725 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25726 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25728 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25729 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25731 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25732 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25734 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25737 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
25738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
25740 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25741 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25743 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25746 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25747 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25749 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25750 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25752 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
25753 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
25755 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
25756 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
25758 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
25759 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
25761 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
25762 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
25764 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
25765 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
25767 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25768 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25770 static void *_p_wxImageTo_p_wxObject(void *x
) {
25771 return (void *)((wxObject
*) ((wxImage
*) x
));
25773 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25774 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25776 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
25777 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
25779 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
25780 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
25782 static void *_p_wxImageListTo_p_wxObject(void *x
) {
25783 return (void *)((wxObject
*) ((wxImageList
*) x
));
25785 static void *_p_wxCursorTo_p_wxObject(void *x
) {
25786 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
25788 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
25789 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
25791 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
25792 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
25794 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25797 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25798 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25800 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25801 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25803 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25804 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25806 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25807 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25809 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25812 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
25813 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
25815 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25816 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25818 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
25819 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
25821 static void *_p_wxMaskTo_p_wxObject(void *x
) {
25822 return (void *)((wxObject
*) ((wxMask
*) x
));
25824 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25827 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25828 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25830 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25831 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25833 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25834 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25836 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25837 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25839 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25840 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25842 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25843 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25845 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25846 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25848 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25849 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25851 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25852 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25854 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25855 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25857 static void *_p_wxFontTo_p_wxObject(void *x
) {
25858 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
25860 static void *_p_wxBrushTo_p_wxObject(void *x
) {
25861 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
25863 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
25864 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
25866 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25869 static void *_p_wxColourTo_p_wxObject(void *x
) {
25870 return (void *)((wxObject
*) ((wxColour
*) x
));
25872 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25875 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25876 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25878 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25879 return (void *)((wxWindow
*) ((wxControl
*) x
));
25881 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25882 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25884 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25885 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25887 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
25888 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
25889 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};
25890 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
25891 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
25892 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
25893 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
25894 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
25895 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
25896 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
25897 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
25898 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
25899 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
25900 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
25901 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
25902 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
25903 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
25904 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
25905 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
25906 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
25907 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
25908 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
25909 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
25910 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
25911 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
25912 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
25913 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
25914 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
25915 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
25916 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
25917 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
25918 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
25919 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
25920 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
25921 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
25922 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
25923 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
25924 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
25925 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
25926 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
25927 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
25928 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
25929 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
25930 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
25931 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
25932 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
25933 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
25934 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
25935 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
25936 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
25937 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
25938 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
25939 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
25940 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
25941 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
25942 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
25943 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
25944 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
25945 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
25946 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
25947 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
25948 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
25949 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
25950 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
25951 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
25952 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
25953 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
25954 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
25955 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
25956 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
25957 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
25958 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
25959 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
25960 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
25961 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
25962 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
25963 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
25964 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
25965 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
25966 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
25967 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
25968 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
25969 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
25970 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
25971 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
25972 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
25973 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
25974 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
25975 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
25976 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
25977 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
25978 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
25979 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
25980 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
25981 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
25982 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
25983 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
25984 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
25985 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
25986 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
25987 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
25988 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
25989 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
25990 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
25991 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
25992 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
25993 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
25994 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
25995 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
25996 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
25997 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
25998 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
25999 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26000 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26001 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26002 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26003 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26004 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26005 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26006 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26007 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26008 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26009 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26010 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26011 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26012 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26013 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26014 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26015 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26016 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26017 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26018 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26019 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26020 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26021 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
26022 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26023 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26024 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26026 static swig_type_info
*swig_type_initial
[] = {
26029 &_swigt__p_form_ops_t
,
26031 &_swigt__p_unsigned_char
,
26032 &_swigt__p_unsigned_int
,
26033 &_swigt__p_unsigned_long
,
26034 &_swigt__p_wxANIHandler
,
26035 &_swigt__p_wxAcceleratorTable
,
26036 &_swigt__p_wxActivateEvent
,
26037 &_swigt__p_wxBMPHandler
,
26038 &_swigt__p_wxBitmap
,
26039 &_swigt__p_wxBoxSizer
,
26040 &_swigt__p_wxBrush
,
26041 &_swigt__p_wxBrushList
,
26042 &_swigt__p_wxBufferedDC
,
26043 &_swigt__p_wxBufferedPaintDC
,
26044 &_swigt__p_wxCURHandler
,
26045 &_swigt__p_wxChildFocusEvent
,
26046 &_swigt__p_wxClientDC
,
26047 &_swigt__p_wxClipboardTextEvent
,
26048 &_swigt__p_wxCloseEvent
,
26049 &_swigt__p_wxColour
,
26050 &_swigt__p_wxColourDatabase
,
26051 &_swigt__p_wxCommandEvent
,
26052 &_swigt__p_wxContextMenuEvent
,
26053 &_swigt__p_wxControl
,
26054 &_swigt__p_wxControlWithItems
,
26055 &_swigt__p_wxCursor
,
26058 &_swigt__p_wxDateEvent
,
26059 &_swigt__p_wxDisplayChangedEvent
,
26060 &_swigt__p_wxDropFilesEvent
,
26061 &_swigt__p_wxDuplexMode
,
26062 &_swigt__p_wxEffects
,
26063 &_swigt__p_wxEncodingConverter
,
26064 &_swigt__p_wxEraseEvent
,
26065 &_swigt__p_wxEvent
,
26066 &_swigt__p_wxEvtHandler
,
26067 &_swigt__p_wxFSFile
,
26068 &_swigt__p_wxFileSystem
,
26069 &_swigt__p_wxFlexGridSizer
,
26070 &_swigt__p_wxFocusEvent
,
26072 &_swigt__p_wxFontList
,
26073 &_swigt__p_wxFontMapper
,
26074 &_swigt__p_wxGBSizerItem
,
26075 &_swigt__p_wxGDIObjListBase
,
26076 &_swigt__p_wxGDIObject
,
26077 &_swigt__p_wxGIFHandler
,
26078 &_swigt__p_wxGridBagSizer
,
26079 &_swigt__p_wxGridSizer
,
26080 &_swigt__p_wxICOHandler
,
26082 &_swigt__p_wxIconBundle
,
26083 &_swigt__p_wxIconLocation
,
26084 &_swigt__p_wxIconizeEvent
,
26085 &_swigt__p_wxIdleEvent
,
26086 &_swigt__p_wxImage
,
26087 &_swigt__p_wxImageHandler
,
26088 &_swigt__p_wxImageList
,
26089 &_swigt__p_wxIndividualLayoutConstraint
,
26090 &_swigt__p_wxInitDialogEvent
,
26091 &_swigt__p_wxJPEGHandler
,
26092 &_swigt__p_wxKeyEvent
,
26093 &_swigt__p_wxLanguageInfo
,
26094 &_swigt__p_wxLayoutConstraints
,
26095 &_swigt__p_wxLocale
,
26097 &_swigt__p_wxMaximizeEvent
,
26098 &_swigt__p_wxMemoryDC
,
26100 &_swigt__p_wxMenuBar
,
26101 &_swigt__p_wxMenuEvent
,
26102 &_swigt__p_wxMenuItem
,
26103 &_swigt__p_wxMetaFile
,
26104 &_swigt__p_wxMetaFileDC
,
26105 &_swigt__p_wxMirrorDC
,
26106 &_swigt__p_wxMouseCaptureChangedEvent
,
26107 &_swigt__p_wxMouseEvent
,
26108 &_swigt__p_wxMoveEvent
,
26109 &_swigt__p_wxNativeEncodingInfo
,
26110 &_swigt__p_wxNativeFontInfo
,
26111 &_swigt__p_wxNavigationKeyEvent
,
26112 &_swigt__p_wxNcPaintEvent
,
26113 &_swigt__p_wxNotifyEvent
,
26114 &_swigt__p_wxObject
,
26115 &_swigt__p_wxPCXHandler
,
26116 &_swigt__p_wxPNGHandler
,
26117 &_swigt__p_wxPNMHandler
,
26118 &_swigt__p_wxPaintDC
,
26119 &_swigt__p_wxPaintEvent
,
26120 &_swigt__p_wxPalette
,
26121 &_swigt__p_wxPaletteChangedEvent
,
26122 &_swigt__p_wxPaperSize
,
26124 &_swigt__p_wxPenList
,
26125 &_swigt__p_wxPoint
,
26126 &_swigt__p_wxPostScriptDC
,
26127 &_swigt__p_wxPrintData
,
26128 &_swigt__p_wxPrinterDC
,
26129 &_swigt__p_wxPyApp
,
26130 &_swigt__p_wxPyCommandEvent
,
26131 &_swigt__p_wxPyEvent
,
26132 &_swigt__p_wxPyFontEnumerator
,
26133 &_swigt__p_wxPyImageHandler
,
26134 &_swigt__p_wxPySizer
,
26135 &_swigt__p_wxPyValidator
,
26136 &_swigt__p_wxQueryNewPaletteEvent
,
26138 &_swigt__p_wxRegion
,
26139 &_swigt__p_wxRegionIterator
,
26140 &_swigt__p_wxRendererNative
,
26141 &_swigt__p_wxRendererVersion
,
26142 &_swigt__p_wxScreenDC
,
26143 &_swigt__p_wxScrollEvent
,
26144 &_swigt__p_wxScrollWinEvent
,
26145 &_swigt__p_wxSetCursorEvent
,
26146 &_swigt__p_wxShowEvent
,
26148 &_swigt__p_wxSizeEvent
,
26149 &_swigt__p_wxSizer
,
26150 &_swigt__p_wxSizerItem
,
26151 &_swigt__p_wxSplitterRenderParams
,
26152 &_swigt__p_wxStaticBoxSizer
,
26153 &_swigt__p_wxStdDialogButtonSizer
,
26154 &_swigt__p_wxStockGDI
,
26155 &_swigt__p_wxString
,
26156 &_swigt__p_wxSysColourChangedEvent
,
26157 &_swigt__p_wxTIFFHandler
,
26158 &_swigt__p_wxUpdateUIEvent
,
26159 &_swigt__p_wxValidator
,
26160 &_swigt__p_wxWindow
,
26161 &_swigt__p_wxWindowCreateEvent
,
26162 &_swigt__p_wxWindowDC
,
26163 &_swigt__p_wxWindowDestroyEvent
,
26164 &_swigt__p_wxXPMHandler
,
26167 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
26168 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
26169 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
26170 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
26171 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
26172 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
26173 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
26174 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
26175 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
26176 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
26177 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}};
26178 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26179 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
26180 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
26181 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
26182 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
26183 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}};
26184 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
26185 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
26186 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
26187 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
26188 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
26189 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
26190 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
26191 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}};
26192 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}};
26193 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
26194 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
26195 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
26196 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
26197 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
26198 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
26199 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
26200 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
26201 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}};
26202 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
26203 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
26204 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
26205 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
26206 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
26207 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
26208 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26209 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
26210 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
26211 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
26212 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26213 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26214 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
26215 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
26216 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
26217 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
26218 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
26219 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26220 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
26221 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
26222 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
26223 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26224 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
26225 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26226 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26227 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26228 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
26229 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
26230 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
26231 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
26232 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
26233 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26234 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26235 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
26236 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
26237 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26238 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
26239 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26240 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
26241 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26242 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26243 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
26244 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
26245 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
26246 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26247 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
26248 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
26249 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
26250 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
26251 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26252 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
26253 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26254 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26255 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
26256 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
26257 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
26258 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
26259 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
26260 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
26261 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
26262 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
26263 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26264 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26265 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
26266 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
26267 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
26268 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26269 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
26270 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
26271 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26272 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26273 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
26274 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26275 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
26276 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
26277 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26278 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
26279 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
26280 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
26281 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
26282 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
26283 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
26284 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
26285 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
26286 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
26287 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
26288 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
26289 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
26290 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
26291 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
26292 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
26293 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
26294 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
26295 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
26296 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
26297 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
26298 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
26299 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
26300 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
26301 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
26302 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
26303 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}};
26304 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
26306 static swig_cast_info
*swig_cast_initial
[] = {
26309 _swigc__p_form_ops_t
,
26311 _swigc__p_unsigned_char
,
26312 _swigc__p_unsigned_int
,
26313 _swigc__p_unsigned_long
,
26314 _swigc__p_wxANIHandler
,
26315 _swigc__p_wxAcceleratorTable
,
26316 _swigc__p_wxActivateEvent
,
26317 _swigc__p_wxBMPHandler
,
26318 _swigc__p_wxBitmap
,
26319 _swigc__p_wxBoxSizer
,
26321 _swigc__p_wxBrushList
,
26322 _swigc__p_wxBufferedDC
,
26323 _swigc__p_wxBufferedPaintDC
,
26324 _swigc__p_wxCURHandler
,
26325 _swigc__p_wxChildFocusEvent
,
26326 _swigc__p_wxClientDC
,
26327 _swigc__p_wxClipboardTextEvent
,
26328 _swigc__p_wxCloseEvent
,
26329 _swigc__p_wxColour
,
26330 _swigc__p_wxColourDatabase
,
26331 _swigc__p_wxCommandEvent
,
26332 _swigc__p_wxContextMenuEvent
,
26333 _swigc__p_wxControl
,
26334 _swigc__p_wxControlWithItems
,
26335 _swigc__p_wxCursor
,
26338 _swigc__p_wxDateEvent
,
26339 _swigc__p_wxDisplayChangedEvent
,
26340 _swigc__p_wxDropFilesEvent
,
26341 _swigc__p_wxDuplexMode
,
26342 _swigc__p_wxEffects
,
26343 _swigc__p_wxEncodingConverter
,
26344 _swigc__p_wxEraseEvent
,
26346 _swigc__p_wxEvtHandler
,
26347 _swigc__p_wxFSFile
,
26348 _swigc__p_wxFileSystem
,
26349 _swigc__p_wxFlexGridSizer
,
26350 _swigc__p_wxFocusEvent
,
26352 _swigc__p_wxFontList
,
26353 _swigc__p_wxFontMapper
,
26354 _swigc__p_wxGBSizerItem
,
26355 _swigc__p_wxGDIObjListBase
,
26356 _swigc__p_wxGDIObject
,
26357 _swigc__p_wxGIFHandler
,
26358 _swigc__p_wxGridBagSizer
,
26359 _swigc__p_wxGridSizer
,
26360 _swigc__p_wxICOHandler
,
26362 _swigc__p_wxIconBundle
,
26363 _swigc__p_wxIconLocation
,
26364 _swigc__p_wxIconizeEvent
,
26365 _swigc__p_wxIdleEvent
,
26367 _swigc__p_wxImageHandler
,
26368 _swigc__p_wxImageList
,
26369 _swigc__p_wxIndividualLayoutConstraint
,
26370 _swigc__p_wxInitDialogEvent
,
26371 _swigc__p_wxJPEGHandler
,
26372 _swigc__p_wxKeyEvent
,
26373 _swigc__p_wxLanguageInfo
,
26374 _swigc__p_wxLayoutConstraints
,
26375 _swigc__p_wxLocale
,
26377 _swigc__p_wxMaximizeEvent
,
26378 _swigc__p_wxMemoryDC
,
26380 _swigc__p_wxMenuBar
,
26381 _swigc__p_wxMenuEvent
,
26382 _swigc__p_wxMenuItem
,
26383 _swigc__p_wxMetaFile
,
26384 _swigc__p_wxMetaFileDC
,
26385 _swigc__p_wxMirrorDC
,
26386 _swigc__p_wxMouseCaptureChangedEvent
,
26387 _swigc__p_wxMouseEvent
,
26388 _swigc__p_wxMoveEvent
,
26389 _swigc__p_wxNativeEncodingInfo
,
26390 _swigc__p_wxNativeFontInfo
,
26391 _swigc__p_wxNavigationKeyEvent
,
26392 _swigc__p_wxNcPaintEvent
,
26393 _swigc__p_wxNotifyEvent
,
26394 _swigc__p_wxObject
,
26395 _swigc__p_wxPCXHandler
,
26396 _swigc__p_wxPNGHandler
,
26397 _swigc__p_wxPNMHandler
,
26398 _swigc__p_wxPaintDC
,
26399 _swigc__p_wxPaintEvent
,
26400 _swigc__p_wxPalette
,
26401 _swigc__p_wxPaletteChangedEvent
,
26402 _swigc__p_wxPaperSize
,
26404 _swigc__p_wxPenList
,
26406 _swigc__p_wxPostScriptDC
,
26407 _swigc__p_wxPrintData
,
26408 _swigc__p_wxPrinterDC
,
26410 _swigc__p_wxPyCommandEvent
,
26411 _swigc__p_wxPyEvent
,
26412 _swigc__p_wxPyFontEnumerator
,
26413 _swigc__p_wxPyImageHandler
,
26414 _swigc__p_wxPySizer
,
26415 _swigc__p_wxPyValidator
,
26416 _swigc__p_wxQueryNewPaletteEvent
,
26418 _swigc__p_wxRegion
,
26419 _swigc__p_wxRegionIterator
,
26420 _swigc__p_wxRendererNative
,
26421 _swigc__p_wxRendererVersion
,
26422 _swigc__p_wxScreenDC
,
26423 _swigc__p_wxScrollEvent
,
26424 _swigc__p_wxScrollWinEvent
,
26425 _swigc__p_wxSetCursorEvent
,
26426 _swigc__p_wxShowEvent
,
26428 _swigc__p_wxSizeEvent
,
26430 _swigc__p_wxSizerItem
,
26431 _swigc__p_wxSplitterRenderParams
,
26432 _swigc__p_wxStaticBoxSizer
,
26433 _swigc__p_wxStdDialogButtonSizer
,
26434 _swigc__p_wxStockGDI
,
26435 _swigc__p_wxString
,
26436 _swigc__p_wxSysColourChangedEvent
,
26437 _swigc__p_wxTIFFHandler
,
26438 _swigc__p_wxUpdateUIEvent
,
26439 _swigc__p_wxValidator
,
26440 _swigc__p_wxWindow
,
26441 _swigc__p_wxWindowCreateEvent
,
26442 _swigc__p_wxWindowDC
,
26443 _swigc__p_wxWindowDestroyEvent
,
26444 _swigc__p_wxXPMHandler
,
26448 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26450 static swig_const_info swig_const_table
[] = {
26451 {0, 0, 0, 0.0, 0, 0}};
26456 /* -----------------------------------------------------------------------------
26457 * Type initialization:
26458 * This problem is tough by the requirement that no dynamic
26459 * memory is used. Also, since swig_type_info structures store pointers to
26460 * swig_cast_info structures and swig_cast_info structures store pointers back
26461 * to swig_type_info structures, we need some lookup code at initialization.
26462 * The idea is that swig generates all the structures that are needed.
26463 * The runtime then collects these partially filled structures.
26464 * The SWIG_InitializeModule function takes these initial arrays out of
26465 * swig_module, and does all the lookup, filling in the swig_module.types
26466 * array with the correct data and linking the correct swig_cast_info
26467 * structures together.
26469 * The generated swig_type_info structures are assigned staticly to an initial
26470 * array. We just loop though that array, and handle each type individually.
26471 * First we lookup if this type has been already loaded, and if so, use the
26472 * loaded structure instead of the generated one. Then we have to fill in the
26473 * cast linked list. The cast data is initially stored in something like a
26474 * two-dimensional array. Each row corresponds to a type (there are the same
26475 * number of rows as there are in the swig_type_initial array). Each entry in
26476 * a column is one of the swig_cast_info structures for that type.
26477 * The cast_initial array is actually an array of arrays, because each row has
26478 * a variable number of columns. So to actually build the cast linked list,
26479 * we find the array of casts associated with the type, and loop through it
26480 * adding the casts to the list. The one last trick we need to do is making
26481 * sure the type pointer in the swig_cast_info struct is correct.
26483 * First off, we lookup the cast->type name to see if it is already loaded.
26484 * There are three cases to handle:
26485 * 1) If the cast->type has already been loaded AND the type we are adding
26486 * casting info to has not been loaded (it is in this module), THEN we
26487 * replace the cast->type pointer with the type pointer that has already
26489 * 2) If BOTH types (the one we are adding casting info to, and the
26490 * cast->type) are loaded, THEN the cast info has already been loaded by
26491 * the previous module so we just ignore it.
26492 * 3) Finally, if cast->type has not already been loaded, then we add that
26493 * swig_cast_info to the linked list (because the cast->type) pointer will
26495 * ----------------------------------------------------------------------------- */
26505 #define SWIGRUNTIME_DEBUG
26509 SWIG_InitializeModule(void *clientdata
) {
26511 swig_module_info
*module_head
;
26512 static int init_run
= 0;
26514 clientdata
= clientdata
;
26516 if (init_run
) return;
26519 /* Initialize the swig_module */
26520 swig_module
.type_initial
= swig_type_initial
;
26521 swig_module
.cast_initial
= swig_cast_initial
;
26523 /* Try and load any already created modules */
26524 module_head
= SWIG_GetModule(clientdata
);
26526 swig_module
.next
= module_head
->next
;
26527 module_head
->next
= &swig_module
;
26529 /* This is the first module loaded */
26530 swig_module
.next
= &swig_module
;
26531 SWIG_SetModule(clientdata
, &swig_module
);
26534 /* Now work on filling in swig_module.types */
26535 #ifdef SWIGRUNTIME_DEBUG
26536 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
26538 for (i
= 0; i
< swig_module
.size
; ++i
) {
26539 swig_type_info
*type
= 0;
26540 swig_type_info
*ret
;
26541 swig_cast_info
*cast
;
26543 #ifdef SWIGRUNTIME_DEBUG
26544 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26547 /* if there is another module already loaded */
26548 if (swig_module
.next
!= &swig_module
) {
26549 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
26552 /* Overwrite clientdata field */
26553 #ifdef SWIGRUNTIME_DEBUG
26554 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
26556 if (swig_module
.type_initial
[i
]->clientdata
) {
26557 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
26558 #ifdef SWIGRUNTIME_DEBUG
26559 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
26563 type
= swig_module
.type_initial
[i
];
26566 /* Insert casting types */
26567 cast
= swig_module
.cast_initial
[i
];
26568 while (cast
->type
) {
26569 /* Don't need to add information already in the list */
26571 #ifdef SWIGRUNTIME_DEBUG
26572 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
26574 if (swig_module
.next
!= &swig_module
) {
26575 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
26576 #ifdef SWIGRUNTIME_DEBUG
26577 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
26581 if (type
== swig_module
.type_initial
[i
]) {
26582 #ifdef SWIGRUNTIME_DEBUG
26583 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
26588 /* Check for casting already in the list */
26589 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
26590 #ifdef SWIGRUNTIME_DEBUG
26591 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
26593 if (!ocast
) ret
= 0;
26598 #ifdef SWIGRUNTIME_DEBUG
26599 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
26602 type
->cast
->prev
= cast
;
26603 cast
->next
= type
->cast
;
26609 /* Set entry in modules->types array equal to the type */
26610 swig_module
.types
[i
] = type
;
26612 swig_module
.types
[i
] = 0;
26614 #ifdef SWIGRUNTIME_DEBUG
26615 printf("**** SWIG_InitializeModule: Cast List ******\n");
26616 for (i
= 0; i
< swig_module
.size
; ++i
) {
26618 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
26619 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
26620 while (cast
->type
) {
26621 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
26625 printf("---- Total casts: %d\n",j
);
26627 printf("**** SWIG_InitializeModule: Cast List ******\n");
26631 /* This function will propagate the clientdata field of type to
26632 * any new swig_type_info structures that have been added into the list
26633 * of equivalent types. It is like calling
26634 * SWIG_TypeClientData(type, clientdata) a second time.
26637 SWIG_PropagateClientData(void) {
26639 swig_cast_info
*equiv
;
26640 static int init_run
= 0;
26642 if (init_run
) return;
26645 for (i
= 0; i
< swig_module
.size
; i
++) {
26646 if (swig_module
.types
[i
]->clientdata
) {
26647 equiv
= swig_module
.types
[i
]->cast
;
26649 if (!equiv
->converter
) {
26650 if (equiv
->type
&& !equiv
->type
->clientdata
)
26651 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
26653 equiv
= equiv
->next
;
26673 /* Python-specific SWIG API */
26674 #define SWIG_newvarlink() SWIG_Python_newvarlink()
26675 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
26676 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
26678 /* -----------------------------------------------------------------------------
26679 * global variable support code.
26680 * ----------------------------------------------------------------------------- */
26682 typedef struct swig_globalvar
{
26683 char *name
; /* Name of global variable */
26684 PyObject
*(*get_attr
)(void); /* Return the current value */
26685 int (*set_attr
)(PyObject
*); /* Set the value */
26686 struct swig_globalvar
*next
;
26689 typedef struct swig_varlinkobject
{
26691 swig_globalvar
*vars
;
26692 } swig_varlinkobject
;
26694 SWIGINTERN PyObject
*
26695 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
26696 return PyString_FromString("<Swig global variables>");
26699 SWIGINTERN PyObject
*
26700 swig_varlink_str(swig_varlinkobject
*v
) {
26701 PyObject
*str
= PyString_FromString("(");
26702 swig_globalvar
*var
;
26703 for (var
= v
->vars
; var
; var
=var
->next
) {
26704 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
26705 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
26707 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
26712 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
26713 PyObject
*str
= swig_varlink_str(v
);
26714 fprintf(fp
,"Swig global variables ");
26715 fprintf(fp
,"%s\n", PyString_AsString(str
));
26721 swig_varlink_dealloc(swig_varlinkobject
*v
) {
26722 swig_globalvar
*var
= v
->vars
;
26724 swig_globalvar
*n
= var
->next
;
26731 SWIGINTERN PyObject
*
26732 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
26733 PyObject
*res
= NULL
;
26734 swig_globalvar
*var
= v
->vars
;
26736 if (strcmp(var
->name
,n
) == 0) {
26737 res
= (*var
->get_attr
)();
26742 if (res
== NULL
&& !PyErr_Occurred()) {
26743 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26749 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
26751 swig_globalvar
*var
= v
->vars
;
26753 if (strcmp(var
->name
,n
) == 0) {
26754 res
= (*var
->set_attr
)(p
);
26759 if (res
== 1 && !PyErr_Occurred()) {
26760 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
26765 SWIGINTERN PyTypeObject
*
26766 swig_varlink_type(void) {
26767 static char varlink__doc__
[] = "Swig var link object";
26768 static PyTypeObject varlink_type
;
26769 static int type_init
= 0;
26771 const PyTypeObject tmp
26773 PyObject_HEAD_INIT(NULL
)
26774 0, /* Number of items in variable part (ob_size) */
26775 (char *)"swigvarlink", /* Type name (tp_name) */
26776 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
26777 0, /* Itemsize (tp_itemsize) */
26778 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
26779 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
26780 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
26781 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
26782 0, /* tp_compare */
26783 (reprfunc
) swig_varlink_repr
, /* tp_repr */
26784 0, /* tp_as_number */
26785 0, /* tp_as_sequence */
26786 0, /* tp_as_mapping */
26789 (reprfunc
)swig_varlink_str
, /* tp_str */
26790 0, /* tp_getattro */
26791 0, /* tp_setattro */
26792 0, /* tp_as_buffer */
26794 varlink__doc__
, /* tp_doc */
26795 0, /* tp_traverse */
26797 0, /* tp_richcompare */
26798 0, /* tp_weaklistoffset */
26799 #if PY_VERSION_HEX >= 0x02020000
26800 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
26802 #if PY_VERSION_HEX >= 0x02030000
26805 #ifdef COUNT_ALLOCS
26806 0,0,0,0 /* tp_alloc -> tp_next */
26809 varlink_type
= tmp
;
26810 varlink_type
.ob_type
= &PyType_Type
;
26813 return &varlink_type
;
26816 /* Create a variable linking object for use later */
26817 SWIGINTERN PyObject
*
26818 SWIG_Python_newvarlink(void) {
26819 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
26823 return ((PyObject
*) result
);
26827 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
26828 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
26829 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
26831 size_t size
= strlen(name
)+1;
26832 gv
->name
= (char *)malloc(size
);
26834 strncpy(gv
->name
,name
,size
);
26835 gv
->get_attr
= get_attr
;
26836 gv
->set_attr
= set_attr
;
26837 gv
->next
= v
->vars
;
26843 SWIGINTERN PyObject
*
26845 static PyObject
*_SWIG_globals
= 0;
26846 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
26847 return _SWIG_globals
;
26850 /* -----------------------------------------------------------------------------
26851 * constants/methods manipulation
26852 * ----------------------------------------------------------------------------- */
26854 /* Install Constants */
26856 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
26859 for (i
= 0; constants
[i
].type
; ++i
) {
26860 switch(constants
[i
].type
) {
26861 case SWIG_PY_POINTER
:
26862 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
26864 case SWIG_PY_BINARY
:
26865 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
26872 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
26878 /* -----------------------------------------------------------------------------*/
26879 /* Fix SwigMethods to carry the callback ptrs when needed */
26880 /* -----------------------------------------------------------------------------*/
26883 SWIG_Python_FixMethods(PyMethodDef
*methods
,
26884 swig_const_info
*const_table
,
26885 swig_type_info
**types
,
26886 swig_type_info
**types_initial
) {
26888 for (i
= 0; methods
[i
].ml_name
; ++i
) {
26889 const char *c
= methods
[i
].ml_doc
;
26890 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
26892 swig_const_info
*ci
= 0;
26893 const char *name
= c
+ 10;
26894 for (j
= 0; const_table
[j
].type
; ++j
) {
26895 if (strncmp(const_table
[j
].name
, name
,
26896 strlen(const_table
[j
].name
)) == 0) {
26897 ci
= &(const_table
[j
]);
26902 size_t shift
= (ci
->ptype
) - types
;
26903 swig_type_info
*ty
= types_initial
[shift
];
26904 size_t ldoc
= (c
- methods
[i
].ml_doc
);
26905 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
26906 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
26909 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
26911 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
26913 strncpy(buff
, "swig_ptr: ", 10);
26915 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
26916 methods
[i
].ml_doc
= ndoc
;
26928 /* -----------------------------------------------------------------------------*
26929 * Partial Init method
26930 * -----------------------------------------------------------------------------*/
26935 SWIGEXPORT
void SWIG_init(void) {
26938 /* Fix SwigMethods to carry the callback ptrs when needed */
26939 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
26941 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26942 d
= PyModule_GetDict(m
);
26944 SWIG_InitializeModule(0);
26945 SWIG_InstallConstants(d
,swig_const_table
);
26948 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
26949 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
26950 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
26951 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
26952 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
26953 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
26954 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
26955 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
26956 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
26957 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
26958 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
26959 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
26960 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
26961 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
26962 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
26963 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
26964 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
26965 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
26966 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
26967 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
26968 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
26969 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
26970 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
26971 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
26972 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
26973 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
26974 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
26975 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
26976 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
26977 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
26978 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
26979 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
26980 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
26981 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
26982 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
26983 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
26984 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
26985 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
26986 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
26987 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
26988 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
26989 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
26990 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
26991 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
26992 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
26993 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
26994 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
26995 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
26996 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
26997 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
26998 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
26999 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27000 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27001 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27002 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27003 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27004 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27005 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27006 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27007 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27008 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27009 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27010 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27011 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27012 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27013 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27014 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27015 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27016 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27017 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27018 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27019 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27020 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27021 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27022 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27023 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27024 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27025 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27026 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27027 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27028 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27031 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27032 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27033 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27034 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27035 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27036 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27037 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27038 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27039 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27040 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27041 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27042 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27043 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27044 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27045 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27046 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27047 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
27048 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
27049 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
27050 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
27051 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
27052 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
27053 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
27054 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
27055 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
27056 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
27057 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
27058 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
27059 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
27060 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
27061 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
27062 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
27063 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
27064 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
27065 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
27066 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
27067 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
27068 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
27069 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
27070 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
27071 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
27072 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
27073 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
27074 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
27075 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
27076 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
27077 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
27079 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
27081 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
27082 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
27083 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
27084 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
27085 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
27086 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
27087 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
27088 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
27089 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
27090 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
27091 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
27092 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
27093 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
27094 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
27095 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
27096 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
27097 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
27098 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
27099 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
27100 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
27101 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
27102 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
27103 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
27104 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
27105 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
27106 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
27107 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
27108 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
27109 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
27110 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
27111 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
27112 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
27113 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
27114 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
27115 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
27116 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
27117 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
27118 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
27119 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
27120 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
27121 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
27122 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
27123 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
27124 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
27125 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
27126 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
27127 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
27128 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
27129 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
27130 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
27131 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
27132 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
27133 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
27134 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
27135 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
27136 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
27137 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
27138 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
27139 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
27140 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
27141 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
27142 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
27143 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
27144 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
27145 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
27146 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
27147 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
27148 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
27149 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
27150 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
27151 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
27152 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
27153 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
27154 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
27155 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
27156 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
27157 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
27158 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
27159 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
27160 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
27161 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
27162 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
27163 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
27164 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
27165 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
27166 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
27167 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
27168 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
27169 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
27170 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
27171 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
27172 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
27173 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
27174 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
27175 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
27176 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
27177 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
27178 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
27179 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
27180 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
27181 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
27182 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
27183 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
27184 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
27185 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
27186 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
27187 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
27188 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
27189 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
27190 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
27191 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
27192 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
27193 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
27194 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
27195 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
27196 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
27197 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
27198 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
27199 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
27200 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
27201 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
27202 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
27203 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
27204 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
27205 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
27206 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
27207 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
27208 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
27209 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
27210 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
27211 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
27212 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
27213 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
27214 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
27215 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
27216 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
27217 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
27218 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
27219 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
27220 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
27221 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
27222 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
27223 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
27224 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
27225 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
27226 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
27227 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
27228 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
27229 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
27230 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
27231 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
27232 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
27233 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
27234 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
27235 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
27236 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
27237 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
27238 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
27239 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
27240 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
27241 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
27242 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
27243 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
27244 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
27245 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
27246 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
27247 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
27248 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
27249 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
27250 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
27251 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
27252 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
27253 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
27254 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
27255 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
27256 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
27257 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
27258 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
27259 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
27260 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
27261 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
27262 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
27263 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
27264 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
27265 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
27266 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
27267 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
27268 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
27269 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
27270 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
27271 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
27272 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
27273 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
27274 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
27275 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
27276 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
27277 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
27278 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
27279 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
27280 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
27281 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
27282 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
27283 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
27284 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
27285 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
27286 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
27287 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
27288 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
27289 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
27290 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
27291 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
27292 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
27293 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
27294 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
27295 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
27296 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
27297 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
27298 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
27299 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
27300 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
27301 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
27302 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
27303 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
27304 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
27305 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
27306 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
27307 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
27308 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
27309 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
27310 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
27311 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
27312 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
27313 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
27314 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
27315 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
27316 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
27317 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
27318 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
27319 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
27320 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
27321 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
27322 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
27323 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
27324 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
27325 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
27326 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
27327 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
27328 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
27329 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
27330 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
27331 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
27332 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
27333 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
27334 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
27335 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
27336 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
27337 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
27338 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
27339 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
27340 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
27341 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
27342 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
27343 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
27344 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
27345 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
27346 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
27347 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
27348 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
27349 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
27350 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
27351 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
27352 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
27353 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
27354 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
27355 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
27356 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
27357 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
27358 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
27359 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
27360 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
27361 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
27362 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
27363 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
27364 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
27365 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
27366 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
27367 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
27368 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
27369 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
27370 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
27371 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
27372 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
27373 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
27374 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
27375 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
27376 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
27377 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
27378 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
27379 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
27380 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
27381 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
27382 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
27383 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
27384 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
27385 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
27386 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
27387 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
27388 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
27389 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
27390 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
27391 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
27392 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
27393 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
27394 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
27396 // Work around a chicken/egg problem in drawlist.cpp
27397 wxPyDrawList_SetAPIPtr();