1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_double swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBrush swig_types[13]
2476 #define SWIGTYPE_p_wxBrushList swig_types[14]
2477 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2478 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2481 #define SWIGTYPE_p_wxClientDC swig_types[19]
2482 #define SWIGTYPE_p_wxCloseEvent swig_types[20]
2483 #define SWIGTYPE_p_wxColour swig_types[21]
2484 #define SWIGTYPE_p_wxColourDatabase swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDash swig_types[29]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEffects swig_types[34]
2497 #define SWIGTYPE_p_wxEncodingConverter swig_types[35]
2498 #define SWIGTYPE_p_wxEraseEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504 #define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505 #define SWIGTYPE_p_wxFont swig_types[43]
2506 #define SWIGTYPE_p_wxFontList swig_types[44]
2507 #define SWIGTYPE_p_wxFontMapper swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGDIObject swig_types[47]
2510 #define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511 #define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512 #define SWIGTYPE_p_wxGridSizer swig_types[50]
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51]
2514 #define SWIGTYPE_p_wxIcon swig_types[52]
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53]
2516 #define SWIGTYPE_p_wxIconLocation swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxImageList swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLanguageInfo swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxLocale swig_types[66]
2529 #define SWIGTYPE_p_wxMask swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryDC swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMetaFile swig_types[74]
2537 #define SWIGTYPE_p_wxMetaFileDC swig_types[75]
2538 #define SWIGTYPE_p_wxMirrorDC swig_types[76]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[80]
2543 #define SWIGTYPE_p_wxNativeFontInfo swig_types[81]
2544 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
2546 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxObject swig_types[85]
2548 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPaintDC swig_types[89]
2552 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPalette swig_types[91]
2554 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2556 #define SWIGTYPE_p_wxPen swig_types[94]
2557 #define SWIGTYPE_p_wxPenList swig_types[95]
2558 #define SWIGTYPE_p_wxPoint swig_types[96]
2559 #define SWIGTYPE_p_wxPostScriptDC swig_types[97]
2560 #define SWIGTYPE_p_wxPrintData swig_types[98]
2561 #define SWIGTYPE_p_wxPrinterDC swig_types[99]
2562 #define SWIGTYPE_p_wxPyApp swig_types[100]
2563 #define SWIGTYPE_p_wxPyCommandEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[103]
2566 #define SWIGTYPE_p_wxPyImageHandler swig_types[104]
2567 #define SWIGTYPE_p_wxPySizer swig_types[105]
2568 #define SWIGTYPE_p_wxPyValidator swig_types[106]
2569 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
2570 #define SWIGTYPE_p_wxRect swig_types[108]
2571 #define SWIGTYPE_p_wxRegion swig_types[109]
2572 #define SWIGTYPE_p_wxRegionIterator swig_types[110]
2573 #define SWIGTYPE_p_wxRendererNative swig_types[111]
2574 #define SWIGTYPE_p_wxRendererVersion swig_types[112]
2575 #define SWIGTYPE_p_wxScreenDC swig_types[113]
2576 #define SWIGTYPE_p_wxScrollEvent swig_types[114]
2577 #define SWIGTYPE_p_wxScrollWinEvent swig_types[115]
2578 #define SWIGTYPE_p_wxSetCursorEvent swig_types[116]
2579 #define SWIGTYPE_p_wxShowEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSize swig_types[118]
2581 #define SWIGTYPE_p_wxSizeEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSizer swig_types[120]
2583 #define SWIGTYPE_p_wxSizerItem swig_types[121]
2584 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[122]
2585 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[123]
2586 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[124]
2587 #define SWIGTYPE_p_wxString swig_types[125]
2588 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[126]
2589 #define SWIGTYPE_p_wxTIFFHandler swig_types[127]
2590 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[128]
2591 #define SWIGTYPE_p_wxValidator swig_types[129]
2592 #define SWIGTYPE_p_wxWindow swig_types[130]
2593 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[131]
2594 #define SWIGTYPE_p_wxWindowDC swig_types[132]
2595 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[133]
2596 #define SWIGTYPE_p_wxXPMHandler swig_types[134]
2597 static swig_type_info
*swig_types
[136];
2598 static swig_module_info swig_module
= {swig_types
, 135, 0, 0, 0, 0};
2599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2602 /* -------- TYPES TABLE (END) -------- */
2604 #if (PY_VERSION_HEX <= 0x02000000)
2605 # if !defined(SWIG_PYTHON_CLASSIC)
2606 # error "This python version requires to use swig with the '-classic' option"
2609 #if (PY_VERSION_HEX <= 0x02020000)
2610 # error "This python version requires to use swig with the '-nomodern' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodernargs' option"
2616 # error "This python version requires to use swig with the '-nofastunpack' option"
2619 /*-----------------------------------------------
2620 @(target):= _gdi_.so
2621 ------------------------------------------------*/
2622 #define SWIG_init init_gdi_
2624 #define SWIG_name "_gdi_"
2626 #define SWIGVERSION 0x010329
2629 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2630 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2633 #include <stdexcept>
2637 class PyObject_ptr
{
2642 PyObject_ptr() :_obj(0)
2646 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2651 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2653 if (initial_ref
) Py_XINCREF(_obj
);
2656 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2658 Py_XINCREF(item
._obj
);
2669 operator PyObject
*() const
2674 PyObject
*operator->() const
2683 struct PyObject_var
: PyObject_ptr
{
2684 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2686 PyObject_var
& operator = (PyObject
* obj
)
2696 #include "wx/wxPython/wxPython.h"
2697 #include "wx/wxPython/pyclasses.h"
2700 static const wxString
wxPyEmptyString(wxEmptyString
);
2703 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2705 if (PyNumber_Check(obj
)) {
2706 if (val
) *val
= PyInt_AsLong(obj
);
2709 return SWIG_TypeError
;
2714 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2716 if (obj
== Py_True
) {
2717 if (val
) *val
= true;
2719 } else if (obj
== Py_False
) {
2720 if (val
) *val
= false;
2724 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2725 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2733 # define LLONG_MIN LONG_LONG_MIN
2736 # define LLONG_MAX LONG_LONG_MAX
2739 # define ULLONG_MAX ULONG_LONG_MAX
2744 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2747 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2748 return SWIG_TypeError
;
2751 *val
= (unsigned long)v
;
2757 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2760 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
> UCHAR_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< unsigned char >(v
);
2772 #define SWIG_From_long PyInt_FromLong
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_long (unsigned long value
)
2778 return (value
> LONG_MAX
) ?
2779 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2783 SWIGINTERNINLINE PyObject
*
2784 SWIG_From_unsigned_SS_char (unsigned char value
)
2786 return SWIG_From_unsigned_SS_long (value
);
2789 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2790 wxColour temp
, *obj
= &temp
;
2791 if ( other
== Py_None
) return false;
2792 if ( ! wxColour_helper(other
, &obj
) ) {
2796 return self
->operator==(*obj
);
2798 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2799 wxColour temp
, *obj
= &temp
;
2800 if ( other
== Py_None
) return true;
2801 if ( ! wxColour_helper(other
, &obj
)) {
2805 return self
->operator!=(*obj
);
2807 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2808 PyObject
* rv
= PyTuple_New(3);
2814 green
= self
->Green();
2815 blue
= self
->Blue();
2817 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2818 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2819 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2822 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2823 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2827 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2830 int res
= SWIG_AsVal_long (obj
, &v
);
2831 if (SWIG_IsOK(res
)) {
2832 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2833 return SWIG_OverflowError
;
2835 if (val
) *val
= static_cast< int >(v
);
2842 SWIGINTERNINLINE PyObject
*
2843 SWIG_From_int (int value
)
2845 return SWIG_From_long (value
);
2848 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2850 int count
= self
->GetDashes(&dashes
);
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2852 PyObject
* retval
= PyList_New(0);
2853 for (int x
=0; x
<count
; x
++) {
2854 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2855 PyList_Append(retval
, pyint
);
2858 wxPyEndBlockThreads(blocked
);
2861 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2862 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2863 int size
= PyList_Size(pyDashes
);
2864 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2866 // black magic warning! The array of wxDashes needs to exist as
2867 // long as the pen does because wxPen does not copy the array. So
2868 // stick a copy in a Python string object and attach it to _self,
2869 // and then call SetDashes with a pointer to that array. Then
2870 // when the Python pen object is destroyed the array will be
2872 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2873 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2875 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2877 Py_DECREF(strDashes
);
2878 wxPyEndBlockThreads(blocked
);
2880 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2881 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2883 #include <wx/image.h>
2885 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2886 char** cArray
= NULL
;
2889 if (!PyList_Check(listOfStrings
)) {
2890 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2893 count
= PyList_Size(listOfStrings
);
2894 cArray
= new char*[count
];
2896 for(int x
=0; x
<count
; x
++) {
2897 // TODO: Need some validation and error checking here
2898 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2904 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2905 char** cArray
= NULL
;
2908 cArray
= ConvertListOfStrings(listOfStrings
);
2911 bmp
= new wxBitmap(cArray
);
2915 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2918 PyString_AsStringAndSize(bits
, &buf
, &length
);
2919 return new wxBitmap(buf
, width
, height
, depth
);
2921 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2922 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2923 wxSize
size(self
->GetWidth(), self
->GetHeight());
2926 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2927 wxMask
*mask
= new wxMask(*self
, colour
);
2928 self
->SetMask(mask
);
2930 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2931 self
->SetWidth(size
.x
);
2932 self
->SetHeight(size
.y
);
2934 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2935 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2936 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2938 return new wxMask(bitmap
, *wxBLACK
);
2940 return new wxMask(bitmap
, colour
);
2943 #include <wx/iconbndl.h>
2945 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2946 wxIcon
* icon
= new wxIcon();
2947 icon
->CopyFromBitmap(bmp
);
2950 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2951 char** cArray
= NULL
;
2954 cArray
= ConvertListOfStrings(listOfStrings
);
2957 icon
= new wxIcon(cArray
);
2961 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2962 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2964 return new wxIconLocation(*filename
, num
);
2969 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2971 self
->SetIndex(num
);
2976 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2978 return self
->GetIndex();
2983 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2985 wxImage
img(cursorName
, type
);
2986 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2987 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2988 return new wxCursor(img
);
2990 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2993 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2996 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2999 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3000 return self
->operator bool();
3003 #include <wx/fontutil.h>
3004 #include <wx/fontmap.h>
3005 #include <wx/fontenum.h>
3007 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3008 return self
->ToString();
3011 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3012 { wxPyRaiseNotImplemented(); return NULL
; }
3014 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3015 { wxPyRaiseNotImplemented(); return false; }
3018 SWIGINTERNINLINE PyObject
*
3019 SWIG_From_size_t (size_t value
)
3021 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3025 SWIGINTERNINLINE
int
3026 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3029 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3030 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3034 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3035 wxFontEncoding alt_enc
;
3036 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3037 return PyInt_FromLong(alt_enc
);
3043 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3044 wxNativeFontInfo nfi
;
3045 nfi
.FromString(info
);
3046 return new wxFont(nfi
);
3048 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3049 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3051 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3052 return wxFontBase::New(pixelSize
, family
,
3053 style
, weight
, underlined
,
3056 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3057 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3059 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3060 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3062 class wxPyFontEnumerator
: public wxFontEnumerator
{
3064 wxPyFontEnumerator() {}
3065 ~wxPyFontEnumerator() {}
3067 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3068 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3073 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3074 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3077 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3079 wxArrayString
* arr
= self
->GetEncodings();
3080 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3082 ret
= wxArrayString2PyList_helper(*arr
);
3084 ret
= PyList_New(0);
3085 wxPyEndBlockThreads(blocked
);
3088 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3090 wxArrayString
* arr
= self
->GetFacenames();
3091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3093 ret
= wxArrayString2PyList_helper(*arr
);
3095 ret
= PyList_New(0);
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 #include <wx/metafile.h>
3221 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3222 self
->AddColour(name
, wxColour(red
, green
, blue
));
3225 #include <wx/effects.h>
3228 #include "wx/renderer.h"
3231 SWIGINTERNINLINE PyObject
*
3232 SWIG_From_bool (bool value
)
3234 return PyBool_FromLong(value
? 1 : 0);
3240 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3241 PyObject
*resultobj
= 0;
3242 wxGDIObject
*result
= 0 ;
3244 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3246 if (!wxPyCheckForApp()) SWIG_fail
;
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 result
= (wxGDIObject
*)new wxGDIObject();
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3259 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3260 PyObject
*resultobj
= 0;
3261 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3264 PyObject
*swig_obj
[1] ;
3266 if (!args
) SWIG_fail
;
3268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3269 if (!SWIG_IsOK(res1
)) {
3270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3272 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 resultobj
= SWIG_Py_Void();
3287 SWIGINTERN PyObject
*_wrap_GDIObject_GetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3288 PyObject
*resultobj
= 0;
3289 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3293 PyObject
*swig_obj
[1] ;
3295 if (!args
) SWIG_fail
;
3297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3298 if (!SWIG_IsOK(res1
)) {
3299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_GetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3301 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 result
= (bool)(arg1
)->GetVisible();
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) SWIG_fail
;
3309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3317 SWIGINTERN PyObject
*_wrap_GDIObject_SetVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
= 0;
3319 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3325 PyObject
* obj0
= 0 ;
3326 PyObject
* obj1
= 0 ;
3327 char * kwnames
[] = {
3328 (char *) "self",(char *) "visible", NULL
3331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GDIObject_SetVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3333 if (!SWIG_IsOK(res1
)) {
3334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_SetVisible" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3336 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3337 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
3338 if (!SWIG_IsOK(ecode2
)) {
3339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GDIObject_SetVisible" "', expected argument " "2"" of type '" "bool""'");
3341 arg2
= static_cast< bool >(val2
);
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3344 (arg1
)->SetVisible(arg2
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= SWIG_Py_Void();
3355 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3356 PyObject
*resultobj
= 0;
3357 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3361 PyObject
*swig_obj
[1] ;
3363 if (!args
) SWIG_fail
;
3365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3366 if (!SWIG_IsOK(res1
)) {
3367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3369 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 result
= (bool)(arg1
)->IsNull();
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3385 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3388 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3389 return SWIG_Py_Void();
3392 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3393 return SWIG_Python_InitShadowInstance(args
);
3396 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
= 0;
3398 byte arg1
= (byte
) 0 ;
3399 byte arg2
= (byte
) 0 ;
3400 byte arg3
= (byte
) 0 ;
3401 wxColour
*result
= 0 ;
3402 unsigned char val1
;
3404 unsigned char val2
;
3406 unsigned char val3
;
3408 PyObject
* obj0
= 0 ;
3409 PyObject
* obj1
= 0 ;
3410 PyObject
* obj2
= 0 ;
3411 char * kwnames
[] = {
3412 (char *) "red",(char *) "green",(char *) "blue", NULL
3415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3417 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3418 if (!SWIG_IsOK(ecode1
)) {
3419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3421 arg1
= static_cast< byte
>(val1
);
3424 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3425 if (!SWIG_IsOK(ecode2
)) {
3426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3428 arg2
= static_cast< byte
>(val2
);
3431 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3432 if (!SWIG_IsOK(ecode3
)) {
3433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3435 arg3
= static_cast< byte
>(val3
);
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3450 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
= 0;
3452 wxString
*arg1
= 0 ;
3453 wxColour
*result
= 0 ;
3454 bool temp1
= false ;
3455 PyObject
* obj0
= 0 ;
3456 char * kwnames
[] = {
3457 (char *) "colorName", NULL
3460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3462 arg1
= wxString_in_helper(obj0
);
3463 if (arg1
== NULL
) SWIG_fail
;
3467 if (!wxPyCheckForApp()) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3488 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
*resultobj
= 0;
3490 unsigned long arg1
;
3491 wxColour
*result
= 0 ;
3492 unsigned long val1
;
3494 PyObject
* obj0
= 0 ;
3495 char * kwnames
[] = {
3496 (char *) "colRGB", NULL
3499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3500 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3501 if (!SWIG_IsOK(ecode1
)) {
3502 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3504 arg1
= static_cast< unsigned long >(val1
);
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 result
= (wxColour
*)new wxColour(arg1
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3518 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3519 PyObject
*resultobj
= 0;
3520 wxColour
*arg1
= (wxColour
*) 0 ;
3523 PyObject
*swig_obj
[1] ;
3525 if (!args
) SWIG_fail
;
3527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3528 if (!SWIG_IsOK(res1
)) {
3529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3531 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= SWIG_Py_Void();
3546 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3547 PyObject
*resultobj
= 0;
3548 wxColour
*arg1
= (wxColour
*) 0 ;
3552 PyObject
*swig_obj
[1] ;
3554 if (!args
) SWIG_fail
;
3556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3557 if (!SWIG_IsOK(res1
)) {
3558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3560 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 result
= (byte
)(arg1
)->Red();
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3574 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3575 PyObject
*resultobj
= 0;
3576 wxColour
*arg1
= (wxColour
*) 0 ;
3580 PyObject
*swig_obj
[1] ;
3582 if (!args
) SWIG_fail
;
3584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3585 if (!SWIG_IsOK(res1
)) {
3586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3588 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (byte
)(arg1
)->Green();
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3602 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3603 PyObject
*resultobj
= 0;
3604 wxColour
*arg1
= (wxColour
*) 0 ;
3608 PyObject
*swig_obj
[1] ;
3610 if (!args
) SWIG_fail
;
3612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3613 if (!SWIG_IsOK(res1
)) {
3614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3616 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 result
= (byte
)(arg1
)->Blue();
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3630 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3631 PyObject
*resultobj
= 0;
3632 wxColour
*arg1
= (wxColour
*) 0 ;
3636 PyObject
*swig_obj
[1] ;
3638 if (!args
) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3644 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (bool)(arg1
)->Ok();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3660 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
= 0;
3662 wxColour
*arg1
= (wxColour
*) 0 ;
3668 unsigned char val2
;
3670 unsigned char val3
;
3672 unsigned char val4
;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3676 PyObject
* obj2
= 0 ;
3677 PyObject
* obj3
= 0 ;
3678 char * kwnames
[] = {
3679 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3684 if (!SWIG_IsOK(res1
)) {
3685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3687 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3688 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3689 if (!SWIG_IsOK(ecode2
)) {
3690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3692 arg2
= static_cast< byte
>(val2
);
3693 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3694 if (!SWIG_IsOK(ecode3
)) {
3695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3697 arg3
= static_cast< byte
>(val3
);
3698 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3699 if (!SWIG_IsOK(ecode4
)) {
3700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3702 arg4
= static_cast< byte
>(val4
);
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 (arg1
)->Set(arg2
,arg3
,arg4
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= SWIG_Py_Void();
3716 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
= 0;
3718 wxColour
*arg1
= (wxColour
*) 0 ;
3719 unsigned long arg2
;
3722 unsigned long val2
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3726 char * kwnames
[] = {
3727 (char *) "self",(char *) "colRGB", NULL
3730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3732 if (!SWIG_IsOK(res1
)) {
3733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3735 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3736 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3737 if (!SWIG_IsOK(ecode2
)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3740 arg2
= static_cast< unsigned long >(val2
);
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_Py_Void();
3754 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
= 0;
3756 wxColour
*arg1
= (wxColour
*) 0 ;
3757 wxString
*arg2
= 0 ;
3760 bool temp2
= false ;
3761 PyObject
* obj0
= 0 ;
3762 PyObject
* obj1
= 0 ;
3763 char * kwnames
[] = {
3764 (char *) "self",(char *) "colourName", NULL
3767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3769 if (!SWIG_IsOK(res1
)) {
3770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3772 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3774 arg2
= wxString_in_helper(obj1
);
3775 if (arg2
== NULL
) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 (arg1
)->InitFromName((wxString
const &)*arg2
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 resultobj
= SWIG_Py_Void();
3799 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3800 PyObject
*resultobj
= 0;
3801 wxColour
*arg1
= (wxColour
*) 0 ;
3805 PyObject
*swig_obj
[1] ;
3807 if (!args
) SWIG_fail
;
3809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3810 if (!SWIG_IsOK(res1
)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3813 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 resultobj
= SWIG_From_long(static_cast< long >(result
));
3827 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
= 0;
3829 wxColour
*arg1
= (wxColour
*) 0 ;
3830 PyObject
*arg2
= (PyObject
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3836 char * kwnames
[] = {
3837 (char *) "self",(char *) "other", NULL
3840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3842 if (!SWIG_IsOK(res1
)) {
3843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3845 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3848 result
= (bool)wxColour___eq__(arg1
,arg2
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3860 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= 0;
3862 wxColour
*arg1
= (wxColour
*) 0 ;
3863 PyObject
*arg2
= (PyObject
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3869 char * kwnames
[] = {
3870 (char *) "self",(char *) "other", NULL
3873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3875 if (!SWIG_IsOK(res1
)) {
3876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3878 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3881 result
= (bool)wxColour___ne__(arg1
,arg2
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3893 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3894 PyObject
*resultobj
= 0;
3895 wxColour
*arg1
= (wxColour
*) 0 ;
3896 PyObject
*result
= 0 ;
3899 PyObject
*swig_obj
[1] ;
3901 if (!args
) SWIG_fail
;
3903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3904 if (!SWIG_IsOK(res1
)) {
3905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3907 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (PyObject
*)wxColour_Get(arg1
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3921 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3922 PyObject
*resultobj
= 0;
3923 wxColour
*arg1
= (wxColour
*) 0 ;
3924 unsigned long result
;
3927 PyObject
*swig_obj
[1] ;
3929 if (!args
) SWIG_fail
;
3931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3932 if (!SWIG_IsOK(res1
)) {
3933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3935 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (unsigned long)wxColour_GetRGB(arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3949 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3952 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3953 return SWIG_Py_Void();
3956 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3957 return SWIG_Python_InitShadowInstance(args
);
3960 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
= 0;
3963 unsigned char *arg2
= (unsigned char *) 0 ;
3964 unsigned char *arg3
= (unsigned char *) 0 ;
3965 unsigned char *arg4
= (unsigned char *) 0 ;
3966 wxPalette
*result
= 0 ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3978 PyObject
* obj3
= 0 ;
3979 char * kwnames
[] = {
3980 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3985 if (!SWIG_IsOK(ecode1
)) {
3986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3988 arg1
= static_cast< int >(val1
);
3989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3990 if (!SWIG_IsOK(res2
)) {
3991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3993 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3994 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3995 if (!SWIG_IsOK(res3
)) {
3996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3998 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3999 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4000 if (!SWIG_IsOK(res4
)) {
4001 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4003 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4005 if (!wxPyCheckForApp()) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4018 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxPalette
*arg1
= (wxPalette
*) 0 ;
4023 PyObject
*swig_obj
[1] ;
4025 if (!args
) SWIG_fail
;
4027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4028 if (!SWIG_IsOK(res1
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4031 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_Py_Void();
4046 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
= 0;
4048 wxPalette
*arg1
= (wxPalette
*) 0 ;
4055 unsigned char val2
;
4057 unsigned char val3
;
4059 unsigned char val4
;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4063 PyObject
* obj2
= 0 ;
4064 PyObject
* obj3
= 0 ;
4065 char * kwnames
[] = {
4066 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4071 if (!SWIG_IsOK(res1
)) {
4072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4074 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4075 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4076 if (!SWIG_IsOK(ecode2
)) {
4077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4079 arg2
= static_cast< byte
>(val2
);
4080 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4081 if (!SWIG_IsOK(ecode3
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4084 arg3
= static_cast< byte
>(val3
);
4085 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4086 if (!SWIG_IsOK(ecode4
)) {
4087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4089 arg4
= static_cast< byte
>(val4
);
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_From_int(static_cast< int >(result
));
4103 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
= 0;
4105 wxPalette
*arg1
= (wxPalette
*) 0 ;
4107 byte
*arg3
= (byte
*) 0 ;
4108 byte
*arg4
= (byte
*) 0 ;
4109 byte
*arg5
= (byte
*) 0 ;
4116 int res3
= SWIG_TMPOBJ
;
4118 int res4
= SWIG_TMPOBJ
;
4120 int res5
= SWIG_TMPOBJ
;
4121 PyObject
* obj0
= 0 ;
4122 PyObject
* obj1
= 0 ;
4123 char * kwnames
[] = {
4124 (char *) "self",(char *) "pixel", NULL
4130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4135 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4137 if (!SWIG_IsOK(ecode2
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4140 arg2
= static_cast< int >(val2
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4150 if (SWIG_IsTmpObj(res3
)) {
4151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4153 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4156 if (SWIG_IsTmpObj(res4
)) {
4157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4159 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4162 if (SWIG_IsTmpObj(res5
)) {
4163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4165 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4174 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4175 PyObject
*resultobj
= 0;
4176 wxPalette
*arg1
= (wxPalette
*) 0 ;
4180 PyObject
*swig_obj
[1] ;
4182 if (!args
) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4188 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_From_int(static_cast< int >(result
));
4202 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4203 PyObject
*resultobj
= 0;
4204 wxPalette
*arg1
= (wxPalette
*) 0 ;
4208 PyObject
*swig_obj
[1] ;
4210 if (!args
) SWIG_fail
;
4212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4213 if (!SWIG_IsOK(res1
)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4216 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (bool)(arg1
)->Ok();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4232 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4236 return SWIG_Py_Void();
4239 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4240 return SWIG_Python_InitShadowInstance(args
);
4243 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
= 0;
4245 wxColour
*arg1
= 0 ;
4246 int arg2
= (int) 1 ;
4247 int arg3
= (int) wxSOLID
;
4254 PyObject
* obj0
= 0 ;
4255 PyObject
* obj1
= 0 ;
4256 PyObject
* obj2
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "colour",(char *) "width",(char *) "style", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4264 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4268 if (!SWIG_IsOK(ecode2
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4271 arg2
= static_cast< int >(val2
);
4274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4275 if (!SWIG_IsOK(ecode3
)) {
4276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4278 arg3
= static_cast< int >(val3
);
4281 if (!wxPyCheckForApp()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4294 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4295 PyObject
*resultobj
= 0;
4296 wxPen
*arg1
= (wxPen
*) 0 ;
4299 PyObject
*swig_obj
[1] ;
4301 if (!args
) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4307 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_Py_Void();
4322 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4323 PyObject
*resultobj
= 0;
4324 wxPen
*arg1
= (wxPen
*) 0 ;
4328 PyObject
*swig_obj
[1] ;
4330 if (!args
) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4336 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (int)(arg1
)->GetCap();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= SWIG_From_int(static_cast< int >(result
));
4350 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4351 PyObject
*resultobj
= 0;
4352 wxPen
*arg1
= (wxPen
*) 0 ;
4356 PyObject
*swig_obj
[1] ;
4358 if (!args
) SWIG_fail
;
4360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4361 if (!SWIG_IsOK(res1
)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4364 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (arg1
)->GetColour();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4378 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4379 PyObject
*resultobj
= 0;
4380 wxPen
*arg1
= (wxPen
*) 0 ;
4384 PyObject
*swig_obj
[1] ;
4386 if (!args
) SWIG_fail
;
4388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4389 if (!SWIG_IsOK(res1
)) {
4390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4392 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (int)(arg1
)->GetJoin();
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_From_int(static_cast< int >(result
));
4406 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxPen
*arg1
= (wxPen
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4420 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)(arg1
)->GetStyle();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_int(static_cast< int >(result
));
4434 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4435 PyObject
*resultobj
= 0;
4436 wxPen
*arg1
= (wxPen
*) 0 ;
4440 PyObject
*swig_obj
[1] ;
4442 if (!args
) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4448 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)(arg1
)->GetWidth();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4462 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4463 PyObject
*resultobj
= 0;
4464 wxPen
*arg1
= (wxPen
*) 0 ;
4468 PyObject
*swig_obj
[1] ;
4470 if (!args
) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4476 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= (bool)(arg1
)->Ok();
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4492 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= 0;
4494 wxPen
*arg1
= (wxPen
*) 0 ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4502 char * kwnames
[] = {
4503 (char *) "self",(char *) "cap_style", NULL
4506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4508 if (!SWIG_IsOK(res1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4511 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4513 if (!SWIG_IsOK(ecode2
)) {
4514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4516 arg2
= static_cast< int >(val2
);
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetCap(arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_Py_Void();
4530 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
= 0;
4532 wxPen
*arg1
= (wxPen
*) 0 ;
4533 wxColour
*arg2
= 0 ;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 char * kwnames
[] = {
4540 (char *) "self",(char *) "colour", NULL
4543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4545 if (!SWIG_IsOK(res1
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 (arg1
)->SetColour(*arg2
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4559 resultobj
= SWIG_Py_Void();
4566 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
= 0;
4568 wxPen
*arg1
= (wxPen
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4576 char * kwnames
[] = {
4577 (char *) "self",(char *) "join_style", NULL
4580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4582 if (!SWIG_IsOK(res1
)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4585 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4587 if (!SWIG_IsOK(ecode2
)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4590 arg2
= static_cast< int >(val2
);
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 (arg1
)->SetJoin(arg2
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_Py_Void();
4604 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
= 0;
4606 wxPen
*arg1
= (wxPen
*) 0 ;
4612 PyObject
* obj0
= 0 ;
4613 PyObject
* obj1
= 0 ;
4614 char * kwnames
[] = {
4615 (char *) "self",(char *) "style", NULL
4618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4620 if (!SWIG_IsOK(res1
)) {
4621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4623 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4625 if (!SWIG_IsOK(ecode2
)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4628 arg2
= static_cast< int >(val2
);
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 (arg1
)->SetStyle(arg2
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_Py_Void();
4642 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxPen
*arg1
= (wxPen
*) 0 ;
4650 PyObject
* obj0
= 0 ;
4651 PyObject
* obj1
= 0 ;
4652 char * kwnames
[] = {
4653 (char *) "self",(char *) "width", NULL
4656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4658 if (!SWIG_IsOK(res1
)) {
4659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4661 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4663 if (!SWIG_IsOK(ecode2
)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4666 arg2
= static_cast< int >(val2
);
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 (arg1
)->SetWidth(arg2
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= SWIG_Py_Void();
4680 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
= 0;
4682 wxPen
*arg1
= (wxPen
*) 0 ;
4684 wxDash
*arg3
= (wxDash
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 char * kwnames
[] = {
4690 (char *) "self",(char *) "dashes", NULL
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4698 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4700 arg2
= PyList_Size(obj1
);
4701 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4702 if (arg3
== NULL
) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 (arg1
)->SetDashes(arg2
,arg3
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_Py_Void();
4712 if (arg3
) delete [] arg3
;
4717 if (arg3
) delete [] arg3
;
4723 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4724 PyObject
*resultobj
= 0;
4725 wxPen
*arg1
= (wxPen
*) 0 ;
4726 PyObject
*result
= 0 ;
4729 PyObject
*swig_obj
[1] ;
4731 if (!args
) SWIG_fail
;
4733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4734 if (!SWIG_IsOK(res1
)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4737 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4751 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
= 0;
4753 wxPen
*arg1
= (wxPen
*) 0 ;
4754 PyObject
*arg2
= (PyObject
*) 0 ;
4755 PyObject
*arg3
= (PyObject
*) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 char * kwnames
[] = {
4762 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4770 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxPen__SetDashes(arg1
,arg2
,arg3
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_Py_Void();
4786 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4787 PyObject
*resultobj
= 0;
4788 wxPen
*arg1
= (wxPen
*) 0 ;
4792 PyObject
*swig_obj
[1] ;
4794 if (!args
) SWIG_fail
;
4796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4797 if (!SWIG_IsOK(res1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4800 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_From_int(static_cast< int >(result
));
4814 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4815 PyObject
*resultobj
= 0;
4816 wxPen
*arg1
= (wxPen
*) 0 ;
4817 wxBitmap
*result
= 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4828 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxBitmap
*)(arg1
)->GetStipple();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4842 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
= 0;
4844 wxPen
*arg1
= (wxPen
*) 0 ;
4845 wxBitmap
*arg2
= 0 ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4852 char * kwnames
[] = {
4853 (char *) "self",(char *) "stipple", NULL
4856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4858 if (!SWIG_IsOK(res1
)) {
4859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4861 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4863 if (!SWIG_IsOK(res2
)) {
4864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4869 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 (arg1
)->SetStipple(*arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_Py_Void();
4883 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
= 0;
4885 wxPen
*arg1
= (wxPen
*) 0 ;
4886 wxPen
*arg2
= (wxPen
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4894 char * kwnames
[] = {
4895 (char *) "self",(char *) "other", NULL
4898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4903 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4905 if (!SWIG_IsOK(res2
)) {
4906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4908 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4924 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
= 0;
4926 wxPen
*arg1
= (wxPen
*) 0 ;
4927 wxPen
*arg2
= (wxPen
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4935 char * kwnames
[] = {
4936 (char *) "self",(char *) "other", NULL
4939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4941 if (!SWIG_IsOK(res1
)) {
4942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4944 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4946 if (!SWIG_IsOK(res2
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4949 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4965 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4968 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4969 return SWIG_Py_Void();
4972 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 return SWIG_Python_InitShadowInstance(args
);
4976 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
= 0;
4978 wxColour
*arg1
= 0 ;
4979 int arg2
= (int) wxSOLID
;
4980 wxBrush
*result
= 0 ;
4984 PyObject
* obj0
= 0 ;
4985 PyObject
* obj1
= 0 ;
4986 char * kwnames
[] = {
4987 (char *) "colour",(char *) "style", NULL
4990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4993 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4997 if (!SWIG_IsOK(ecode2
)) {
4998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5000 arg2
= static_cast< int >(val2
);
5003 if (!wxPyCheckForApp()) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5016 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
= 0;
5018 wxBitmap
*arg1
= 0 ;
5019 wxBrush
*result
= 0 ;
5022 PyObject
* obj0
= 0 ;
5023 char * kwnames
[] = {
5024 (char *) "stippleBitmap", NULL
5027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5035 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5037 if (!wxPyCheckForApp()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5050 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5052 wxBrush
*arg1
= (wxBrush
*) 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5063 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_Py_Void();
5078 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= 0;
5080 wxBrush
*arg1
= (wxBrush
*) 0 ;
5081 wxColour
*arg2
= 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 char * kwnames
[] = {
5088 (char *) "self",(char *) "col", NULL
5091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5093 if (!SWIG_IsOK(res1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5096 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5099 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetColour((wxColour
const &)*arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_Py_Void();
5114 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
= 0;
5116 wxBrush
*arg1
= (wxBrush
*) 0 ;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5124 char * kwnames
[] = {
5125 (char *) "self",(char *) "style", NULL
5128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5130 if (!SWIG_IsOK(res1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5133 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5135 if (!SWIG_IsOK(ecode2
)) {
5136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5138 arg2
= static_cast< int >(val2
);
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetStyle(arg2
);
5142 wxPyEndAllowThreads(__tstate
);
5143 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= SWIG_Py_Void();
5152 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
= 0;
5154 wxBrush
*arg1
= (wxBrush
*) 0 ;
5155 wxBitmap
*arg2
= 0 ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5162 char * kwnames
[] = {
5163 (char *) "self",(char *) "stipple", NULL
5166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5168 if (!SWIG_IsOK(res1
)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5171 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5173 if (!SWIG_IsOK(res2
)) {
5174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5179 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_Py_Void();
5193 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5194 PyObject
*resultobj
= 0;
5195 wxBrush
*arg1
= (wxBrush
*) 0 ;
5199 PyObject
*swig_obj
[1] ;
5201 if (!args
) SWIG_fail
;
5203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5204 if (!SWIG_IsOK(res1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5207 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 result
= ((wxBrush
const *)arg1
)->GetColour();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5221 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5222 PyObject
*resultobj
= 0;
5223 wxBrush
*arg1
= (wxBrush
*) 0 ;
5227 PyObject
*swig_obj
[1] ;
5229 if (!args
) SWIG_fail
;
5231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5232 if (!SWIG_IsOK(res1
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5235 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int(static_cast< int >(result
));
5249 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxBrush
*arg1
= (wxBrush
*) 0 ;
5252 wxBitmap
*result
= 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5263 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5277 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxBrush
*arg1
= (wxBrush
*) 0 ;
5283 PyObject
*swig_obj
[1] ;
5285 if (!args
) SWIG_fail
;
5287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5288 if (!SWIG_IsOK(res1
)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5291 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5307 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5308 PyObject
*resultobj
= 0;
5309 wxBrush
*arg1
= (wxBrush
*) 0 ;
5313 PyObject
*swig_obj
[1] ;
5315 if (!args
) SWIG_fail
;
5317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5318 if (!SWIG_IsOK(res1
)) {
5319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5321 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (bool)(arg1
)->Ok();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5337 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5340 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5341 return SWIG_Py_Void();
5344 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5345 return SWIG_Python_InitShadowInstance(args
);
5348 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= 0;
5350 wxString
*arg1
= 0 ;
5351 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5352 wxBitmap
*result
= 0 ;
5353 bool temp1
= false ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "name",(char *) "type", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5364 arg1
= wxString_in_helper(obj0
);
5365 if (arg1
== NULL
) SWIG_fail
;
5369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5370 if (!SWIG_IsOK(ecode2
)) {
5371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5373 arg2
= static_cast< wxBitmapType
>(val2
);
5376 if (!wxPyCheckForApp()) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5397 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5399 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5402 PyObject
*swig_obj
[1] ;
5404 if (!args
) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5410 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_Py_Void();
5425 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5429 int arg3
= (int) -1 ;
5430 wxBitmap
*result
= 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 PyObject
* obj2
= 0 ;
5440 char * kwnames
[] = {
5441 (char *) "width",(char *) "height",(char *) "depth", NULL
5444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5446 if (!SWIG_IsOK(ecode1
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5449 arg1
= static_cast< int >(val1
);
5450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5451 if (!SWIG_IsOK(ecode2
)) {
5452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5454 arg2
= static_cast< int >(val2
);
5456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5457 if (!SWIG_IsOK(ecode3
)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5460 arg3
= static_cast< int >(val3
);
5463 if (!wxPyCheckForApp()) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5476 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
= 0;
5479 wxBitmap
*result
= 0 ;
5482 PyObject
* obj0
= 0 ;
5483 char * kwnames
[] = {
5484 (char *) "icon", NULL
5487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5495 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5497 if (!wxPyCheckForApp()) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5510 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= 0;
5513 int arg2
= (int) -1 ;
5514 wxBitmap
*result
= 0 ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 char * kwnames
[] = {
5522 (char *) "image",(char *) "depth", NULL
5525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5526 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5527 if (!SWIG_IsOK(res1
)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5533 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5536 if (!SWIG_IsOK(ecode2
)) {
5537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5539 arg2
= static_cast< int >(val2
);
5542 if (!wxPyCheckForApp()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5555 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
= 0;
5557 PyObject
*arg1
= (PyObject
*) 0 ;
5558 wxBitmap
*result
= 0 ;
5559 PyObject
* obj0
= 0 ;
5560 char * kwnames
[] = {
5561 (char *) "listOfStrings", NULL
5564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5567 if (!wxPyCheckForApp()) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5580 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
= 0;
5582 PyObject
*arg1
= (PyObject
*) 0 ;
5585 int arg4
= (int) 1 ;
5586 wxBitmap
*result
= 0 ;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5595 PyObject
* obj2
= 0 ;
5596 PyObject
* obj3
= 0 ;
5597 char * kwnames
[] = {
5598 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5604 if (!SWIG_IsOK(ecode2
)) {
5605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5607 arg2
= static_cast< int >(val2
);
5608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5609 if (!SWIG_IsOK(ecode3
)) {
5610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5612 arg3
= static_cast< int >(val3
);
5614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5615 if (!SWIG_IsOK(ecode4
)) {
5616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5618 arg4
= static_cast< int >(val4
);
5621 if (!wxPyCheckForApp()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5634 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5635 PyObject
*resultobj
= 0;
5636 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5640 PyObject
*swig_obj
[1] ;
5642 if (!args
) SWIG_fail
;
5644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5645 if (!SWIG_IsOK(res1
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5648 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5651 result
= (long)(arg1
)->GetHandle();
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= SWIG_From_long(static_cast< long >(result
));
5662 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
= 0;
5664 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5672 char * kwnames
[] = {
5673 (char *) "self",(char *) "handle", NULL
5676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5678 if (!SWIG_IsOK(res1
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5681 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5682 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5683 if (!SWIG_IsOK(ecode2
)) {
5684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5686 arg2
= static_cast< long >(val2
);
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxBitmap_SetHandle(arg1
,arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= SWIG_Py_Void();
5700 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5701 PyObject
*resultobj
= 0;
5702 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5706 PyObject
*swig_obj
[1] ;
5708 if (!args
) SWIG_fail
;
5710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5711 if (!SWIG_IsOK(res1
)) {
5712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5714 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (bool)(arg1
)->Ok();
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5730 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5744 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (int)(arg1
)->GetWidth();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_From_int(static_cast< int >(result
));
5758 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5759 PyObject
*resultobj
= 0;
5760 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5764 PyObject
*swig_obj
[1] ;
5766 if (!args
) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5772 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (int)(arg1
)->GetHeight();
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_From_int(static_cast< int >(result
));
5786 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5787 PyObject
*resultobj
= 0;
5788 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5792 PyObject
*swig_obj
[1] ;
5794 if (!args
) SWIG_fail
;
5796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5797 if (!SWIG_IsOK(res1
)) {
5798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (int)(arg1
)->GetDepth();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_From_int(static_cast< int >(result
));
5814 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5815 PyObject
*resultobj
= 0;
5816 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5820 PyObject
*swig_obj
[1] ;
5822 if (!args
) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5828 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= wxBitmap_GetSize(arg1
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5842 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5843 PyObject
*resultobj
= 0;
5844 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5845 SwigValueWrapper
<wxImage
> result
;
5848 PyObject
*swig_obj
[1] ;
5850 if (!args
) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5856 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5870 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5871 PyObject
*resultobj
= 0;
5872 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5873 wxMask
*result
= 0 ;
5876 PyObject
*swig_obj
[1] ;
5878 if (!args
) SWIG_fail
;
5880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5881 if (!SWIG_IsOK(res1
)) {
5882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5884 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5898 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
= 0;
5900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5901 wxMask
*arg2
= (wxMask
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 char * kwnames
[] = {
5908 (char *) "self",(char *) "mask", NULL
5911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5916 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5917 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5918 if (!SWIG_IsOK(res2
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 (arg1
)->SetMask(arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= SWIG_Py_Void();
5934 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
= 0;
5936 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5937 wxColour
*arg2
= 0 ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 char * kwnames
[] = {
5944 (char *) "self",(char *) "colour", NULL
5947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5949 if (!SWIG_IsOK(res1
)) {
5950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5952 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5955 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_Py_Void();
5970 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
= 0;
5972 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5974 SwigValueWrapper
<wxBitmap
> result
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5980 char * kwnames
[] = {
5981 (char *) "self",(char *) "rect", NULL
5984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5986 if (!SWIG_IsOK(res1
)) {
5987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5989 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5992 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6007 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
= 0;
6009 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6010 wxString
*arg2
= 0 ;
6012 wxPalette
*arg4
= (wxPalette
*) NULL
;
6016 bool temp2
= false ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6023 PyObject
* obj2
= 0 ;
6024 PyObject
* obj3
= 0 ;
6025 char * kwnames
[] = {
6026 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6034 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6036 arg2
= wxString_in_helper(obj1
);
6037 if (arg2
== NULL
) SWIG_fail
;
6040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6041 if (!SWIG_IsOK(ecode3
)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6044 arg3
= static_cast< wxBitmapType
>(val3
);
6046 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6047 if (!SWIG_IsOK(res4
)) {
6048 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6050 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6075 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
= 0;
6077 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6078 wxString
*arg2
= 0 ;
6083 bool temp2
= false ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6089 char * kwnames
[] = {
6090 (char *) "self",(char *) "name",(char *) "type", NULL
6093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6095 if (!SWIG_IsOK(res1
)) {
6096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6098 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6100 arg2
= wxString_in_helper(obj1
);
6101 if (arg2
== NULL
) SWIG_fail
;
6104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6105 if (!SWIG_IsOK(ecode3
)) {
6106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6108 arg3
= static_cast< wxBitmapType
>(val3
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6132 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6133 PyObject
*resultobj
= 0;
6134 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6135 wxPalette
*result
= 0 ;
6138 PyObject
*swig_obj
[1] ;
6140 if (!args
) SWIG_fail
;
6142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6143 if (!SWIG_IsOK(res1
)) {
6144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6146 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6160 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
= 0;
6162 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6163 wxPalette
*arg2
= 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 char * kwnames
[] = {
6171 (char *) "self",(char *) "palette", NULL
6174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6181 if (!SWIG_IsOK(res2
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6187 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_Py_Void();
6201 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
= 0;
6203 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "self",(char *) "icon", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6223 if (!SWIG_IsOK(res2
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6229 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6245 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
= 0;
6247 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6255 char * kwnames
[] = {
6256 (char *) "self",(char *) "height", NULL
6259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6261 if (!SWIG_IsOK(res1
)) {
6262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6264 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6266 if (!SWIG_IsOK(ecode2
)) {
6267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6269 arg2
= static_cast< int >(val2
);
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6272 (arg1
)->SetHeight(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= SWIG_Py_Void();
6283 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= 0;
6285 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 char * kwnames
[] = {
6294 (char *) "self",(char *) "width", NULL
6297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6299 if (!SWIG_IsOK(res1
)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6302 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6304 if (!SWIG_IsOK(ecode2
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6307 arg2
= static_cast< int >(val2
);
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 (arg1
)->SetWidth(arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_Py_Void();
6321 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
= 0;
6323 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6329 PyObject
* obj0
= 0 ;
6330 PyObject
* obj1
= 0 ;
6331 char * kwnames
[] = {
6332 (char *) "self",(char *) "depth", NULL
6335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6337 if (!SWIG_IsOK(res1
)) {
6338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6340 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6342 if (!SWIG_IsOK(ecode2
)) {
6343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6345 arg2
= static_cast< int >(val2
);
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 (arg1
)->SetDepth(arg2
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_Py_Void();
6359 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
= 0;
6361 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 char * kwnames
[] = {
6369 (char *) "self",(char *) "size", NULL
6372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6377 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6380 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_Py_Void();
6395 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
= 0;
6397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6398 wxCursor
*arg2
= 0 ;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 char * kwnames
[] = {
6407 (char *) "self",(char *) "cursor", NULL
6410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6412 if (!SWIG_IsOK(res1
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6415 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6417 if (!SWIG_IsOK(res2
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6423 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6439 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
= 0;
6441 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6442 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6448 PyObject
* obj0
= 0 ;
6449 PyObject
* obj1
= 0 ;
6450 char * kwnames
[] = {
6451 (char *) "self",(char *) "other", NULL
6454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6456 if (!SWIG_IsOK(res1
)) {
6457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6459 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6460 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6461 if (!SWIG_IsOK(res2
)) {
6462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6464 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= 0;
6482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6483 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6491 char * kwnames
[] = {
6492 (char *) "self",(char *) "other", NULL
6495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6500 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6502 if (!SWIG_IsOK(res2
)) {
6503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6505 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6521 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6524 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6525 return SWIG_Py_Void();
6528 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6529 return SWIG_Python_InitShadowInstance(args
);
6532 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
= 0;
6534 wxBitmap
*arg1
= 0 ;
6535 wxColour
const &arg2_defvalue
= wxNullColour
;
6536 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6537 wxMask
*result
= 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "bitmap",(char *) "colour", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6559 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6563 if (!wxPyCheckForApp()) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6576 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6577 PyObject
*resultobj
= 0;
6578 wxMask
*arg1
= (wxMask
*) 0 ;
6581 PyObject
*swig_obj
[1] ;
6583 if (!args
) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6589 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_Py_Void();
6604 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6607 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6608 return SWIG_Py_Void();
6611 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6612 return SWIG_Python_InitShadowInstance(args
);
6615 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
*resultobj
= 0;
6617 wxString
*arg1
= 0 ;
6619 int arg3
= (int) -1 ;
6620 int arg4
= (int) -1 ;
6621 wxIcon
*result
= 0 ;
6622 bool temp1
= false ;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6631 PyObject
* obj2
= 0 ;
6632 PyObject
* obj3
= 0 ;
6633 char * kwnames
[] = {
6634 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6639 arg1
= wxString_in_helper(obj0
);
6640 if (arg1
== NULL
) SWIG_fail
;
6643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6644 if (!SWIG_IsOK(ecode2
)) {
6645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6647 arg2
= static_cast< wxBitmapType
>(val2
);
6649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6650 if (!SWIG_IsOK(ecode3
)) {
6651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6653 arg3
= static_cast< int >(val3
);
6656 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6657 if (!SWIG_IsOK(ecode4
)) {
6658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6660 arg4
= static_cast< int >(val4
);
6663 if (!wxPyCheckForApp()) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6684 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6685 PyObject
*resultobj
= 0;
6686 wxIcon
*arg1
= (wxIcon
*) 0 ;
6689 PyObject
*swig_obj
[1] ;
6691 if (!args
) SWIG_fail
;
6693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6694 if (!SWIG_IsOK(res1
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6697 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_Py_Void();
6712 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6713 PyObject
*resultobj
= 0;
6714 wxIcon
*result
= 0 ;
6716 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6718 if (!wxPyCheckForApp()) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6720 result
= (wxIcon
*)new wxIcon();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6731 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= 0;
6733 wxIconLocation
*arg1
= 0 ;
6734 wxIcon
*result
= 0 ;
6737 PyObject
* obj0
= 0 ;
6738 char * kwnames
[] = {
6739 (char *) "loc", NULL
6742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6743 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6744 if (!SWIG_IsOK(res1
)) {
6745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6750 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6752 if (!wxPyCheckForApp()) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6765 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
= 0;
6767 wxBitmap
*arg1
= 0 ;
6768 wxIcon
*result
= 0 ;
6771 PyObject
* obj0
= 0 ;
6772 char * kwnames
[] = {
6773 (char *) "bmp", NULL
6776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6777 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6778 if (!SWIG_IsOK(res1
)) {
6779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6784 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6786 if (!wxPyCheckForApp()) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6799 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 PyObject
*arg1
= (PyObject
*) 0 ;
6802 wxIcon
*result
= 0 ;
6803 PyObject
* obj0
= 0 ;
6804 char * kwnames
[] = {
6805 (char *) "listOfStrings", NULL
6808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6811 if (!wxPyCheckForApp()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (wxIcon
*)new_wxIcon(arg1
);
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6824 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
*resultobj
= 0;
6826 wxIcon
*arg1
= (wxIcon
*) 0 ;
6827 wxString
*arg2
= 0 ;
6832 bool temp2
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "self",(char *) "name",(char *) "type", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6847 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6849 arg2
= wxString_in_helper(obj1
);
6850 if (arg2
== NULL
) SWIG_fail
;
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6857 arg3
= static_cast< wxBitmapType
>(val3
);
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6881 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6882 PyObject
*resultobj
= 0;
6883 wxIcon
*arg1
= (wxIcon
*) 0 ;
6887 PyObject
*swig_obj
[1] ;
6889 if (!args
) SWIG_fail
;
6891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6892 if (!SWIG_IsOK(res1
)) {
6893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6895 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (long)(arg1
)->GetHandle();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_From_long(static_cast< long >(result
));
6909 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6911 wxIcon
*arg1
= (wxIcon
*) 0 ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 char * kwnames
[] = {
6920 (char *) "self",(char *) "handle", NULL
6923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6925 if (!SWIG_IsOK(res1
)) {
6926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6928 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6930 if (!SWIG_IsOK(ecode2
)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6933 arg2
= static_cast< long >(val2
);
6935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6936 wxIcon_SetHandle(arg1
,arg2
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 resultobj
= SWIG_Py_Void();
6947 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6948 PyObject
*resultobj
= 0;
6949 wxIcon
*arg1
= (wxIcon
*) 0 ;
6953 PyObject
*swig_obj
[1] ;
6955 if (!args
) SWIG_fail
;
6957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6958 if (!SWIG_IsOK(res1
)) {
6959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6961 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6964 result
= (bool)(arg1
)->Ok();
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6977 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6978 PyObject
*resultobj
= 0;
6979 wxIcon
*arg1
= (wxIcon
*) 0 ;
6983 PyObject
*swig_obj
[1] ;
6985 if (!args
) SWIG_fail
;
6987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6988 if (!SWIG_IsOK(res1
)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6991 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (int)(arg1
)->GetWidth();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_From_int(static_cast< int >(result
));
7005 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7006 PyObject
*resultobj
= 0;
7007 wxIcon
*arg1
= (wxIcon
*) 0 ;
7011 PyObject
*swig_obj
[1] ;
7013 if (!args
) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7019 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (int)(arg1
)->GetHeight();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_From_int(static_cast< int >(result
));
7033 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7034 PyObject
*resultobj
= 0;
7035 wxIcon
*arg1
= (wxIcon
*) 0 ;
7039 PyObject
*swig_obj
[1] ;
7041 if (!args
) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7047 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 result
= (int)(arg1
)->GetDepth();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= SWIG_From_int(static_cast< int >(result
));
7061 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
*resultobj
= 0;
7063 wxIcon
*arg1
= (wxIcon
*) 0 ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7071 char * kwnames
[] = {
7072 (char *) "self",(char *) "w", NULL
7075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7077 if (!SWIG_IsOK(res1
)) {
7078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7080 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7082 if (!SWIG_IsOK(ecode2
)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7085 arg2
= static_cast< int >(val2
);
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 (arg1
)->SetWidth(arg2
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= SWIG_Py_Void();
7099 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
= 0;
7101 wxIcon
*arg1
= (wxIcon
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7109 char * kwnames
[] = {
7110 (char *) "self",(char *) "h", NULL
7113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7115 if (!SWIG_IsOK(res1
)) {
7116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7118 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7120 if (!SWIG_IsOK(ecode2
)) {
7121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7123 arg2
= static_cast< int >(val2
);
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 (arg1
)->SetHeight(arg2
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_Py_Void();
7137 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
= 0;
7139 wxIcon
*arg1
= (wxIcon
*) 0 ;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 char * kwnames
[] = {
7148 (char *) "self",(char *) "d", NULL
7151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7153 if (!SWIG_IsOK(res1
)) {
7154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7156 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7158 if (!SWIG_IsOK(ecode2
)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7161 arg2
= static_cast< int >(val2
);
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 (arg1
)->SetDepth(arg2
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxIcon
*arg1
= (wxIcon
*) 0 ;
7182 PyObject
* obj0
= 0 ;
7183 PyObject
* obj1
= 0 ;
7184 char * kwnames
[] = {
7185 (char *) "self",(char *) "size", NULL
7188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7193 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7196 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 (arg1
)->SetSize((wxSize
const &)*arg2
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= SWIG_Py_Void();
7211 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
*resultobj
= 0;
7213 wxIcon
*arg1
= (wxIcon
*) 0 ;
7214 wxBitmap
*arg2
= 0 ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 char * kwnames
[] = {
7222 (char *) "self",(char *) "bmp", NULL
7225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7230 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7232 if (!SWIG_IsOK(res2
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7238 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_Py_Void();
7252 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7255 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7256 return SWIG_Py_Void();
7259 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 return SWIG_Python_InitShadowInstance(args
);
7263 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= 0;
7265 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7266 int arg2
= (int) 0 ;
7267 wxIconLocation
*result
= 0 ;
7268 bool temp1
= false ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7273 char * kwnames
[] = {
7274 (char *) "filename",(char *) "num", NULL
7277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7280 arg1
= wxString_in_helper(obj0
);
7281 if (arg1
== NULL
) SWIG_fail
;
7286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7287 if (!SWIG_IsOK(ecode2
)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7290 arg2
= static_cast< int >(val2
);
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) SWIG_fail
;
7298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7313 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 PyObject
*resultobj
= 0;
7315 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7318 PyObject
*swig_obj
[1] ;
7320 if (!args
) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7326 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_Py_Void();
7341 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7342 PyObject
*resultobj
= 0;
7343 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7347 PyObject
*swig_obj
[1] ;
7349 if (!args
) SWIG_fail
;
7351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7352 if (!SWIG_IsOK(res1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7355 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7371 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
= 0;
7373 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7374 wxString
*arg2
= 0 ;
7377 bool temp2
= false ;
7378 PyObject
* obj0
= 0 ;
7379 PyObject
* obj1
= 0 ;
7380 char * kwnames
[] = {
7381 (char *) "self",(char *) "filename", NULL
7384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7386 if (!SWIG_IsOK(res1
)) {
7387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7389 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7391 arg2
= wxString_in_helper(obj1
);
7392 if (arg2
== NULL
) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 (arg1
)->SetFileName((wxString
const &)*arg2
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_Py_Void();
7416 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7419 wxString
*result
= 0 ;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7430 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7435 result
= (wxString
*) &_result_ref
;
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7444 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7453 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7455 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7463 char * kwnames
[] = {
7464 (char *) "self",(char *) "num", NULL
7467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7472 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7474 if (!SWIG_IsOK(ecode2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7477 arg2
= static_cast< int >(val2
);
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 wxIconLocation_SetIndex(arg1
,arg2
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= SWIG_Py_Void();
7491 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7492 PyObject
*resultobj
= 0;
7493 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7497 PyObject
*swig_obj
[1] ;
7499 if (!args
) SWIG_fail
;
7501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7502 if (!SWIG_IsOK(res1
)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7505 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (int)wxIconLocation_GetIndex(arg1
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_From_int(static_cast< int >(result
));
7519 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7522 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7523 return SWIG_Py_Void();
7526 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 return SWIG_Python_InitShadowInstance(args
);
7530 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7531 PyObject
*resultobj
= 0;
7532 wxIconBundle
*result
= 0 ;
7534 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxIconBundle
*)new wxIconBundle();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7548 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
= 0;
7550 wxString
*arg1
= 0 ;
7552 wxIconBundle
*result
= 0 ;
7553 bool temp1
= false ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7558 char * kwnames
[] = {
7559 (char *) "file",(char *) "type", NULL
7562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7564 arg1
= wxString_in_helper(obj0
);
7565 if (arg1
== NULL
) SWIG_fail
;
7568 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7569 if (!SWIG_IsOK(ecode2
)) {
7570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7572 arg2
= static_cast< long >(val2
);
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7594 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7597 wxIconBundle
*result
= 0 ;
7600 PyObject
* obj0
= 0 ;
7601 char * kwnames
[] = {
7602 (char *) "icon", NULL
7605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7613 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7627 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7628 PyObject
*resultobj
= 0;
7629 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7640 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 resultobj
= SWIG_Py_Void();
7655 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
= 0;
7657 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7665 char * kwnames
[] = {
7666 (char *) "self",(char *) "icon", NULL
7669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7671 if (!SWIG_IsOK(res1
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7674 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7676 if (!SWIG_IsOK(res2
)) {
7677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7682 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_Py_Void();
7696 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7699 wxString
*arg2
= 0 ;
7703 bool temp2
= false ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 PyObject
* obj2
= 0 ;
7709 char * kwnames
[] = {
7710 (char *) "self",(char *) "file",(char *) "type", NULL
7713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7715 if (!SWIG_IsOK(res1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7718 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7720 arg2
= wxString_in_helper(obj1
);
7721 if (arg2
== NULL
) SWIG_fail
;
7724 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7725 if (!SWIG_IsOK(ecode3
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7728 arg3
= static_cast< long >(val3
);
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_Py_Void();
7750 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
= 0;
7752 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7754 wxIcon
*result
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "self",(char *) "size", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7769 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7778 result
= (wxIcon
*) &_result_ref
;
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7784 wxIcon
* resultptr
= new wxIcon(*result
);
7785 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7793 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7796 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7797 return SWIG_Py_Void();
7800 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 return SWIG_Python_InitShadowInstance(args
);
7804 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxString
*arg1
= 0 ;
7808 int arg3
= (int) 0 ;
7809 int arg4
= (int) 0 ;
7810 wxCursor
*result
= 0 ;
7811 bool temp1
= false ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7820 PyObject
* obj2
= 0 ;
7821 PyObject
* obj3
= 0 ;
7822 char * kwnames
[] = {
7823 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7828 arg1
= wxString_in_helper(obj0
);
7829 if (arg1
== NULL
) SWIG_fail
;
7832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7833 if (!SWIG_IsOK(ecode2
)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7836 arg2
= static_cast< long >(val2
);
7838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7839 if (!SWIG_IsOK(ecode3
)) {
7840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7842 arg3
= static_cast< int >(val3
);
7845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7846 if (!SWIG_IsOK(ecode4
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7849 arg4
= static_cast< int >(val4
);
7852 if (!wxPyCheckForApp()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7873 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7874 PyObject
*resultobj
= 0;
7875 wxCursor
*arg1
= (wxCursor
*) 0 ;
7878 PyObject
*swig_obj
[1] ;
7880 if (!args
) SWIG_fail
;
7882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7883 if (!SWIG_IsOK(res1
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7886 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= SWIG_Py_Void();
7901 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
= 0;
7904 wxCursor
*result
= 0 ;
7907 PyObject
* obj0
= 0 ;
7908 char * kwnames
[] = {
7912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7914 if (!SWIG_IsOK(ecode1
)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7917 arg1
= static_cast< int >(val1
);
7919 if (!wxPyCheckForApp()) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (wxCursor
*)new wxCursor(arg1
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7932 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
= 0;
7935 wxCursor
*result
= 0 ;
7938 PyObject
* obj0
= 0 ;
7939 char * kwnames
[] = {
7940 (char *) "image", NULL
7943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7944 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7945 if (!SWIG_IsOK(res1
)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7951 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7953 if (!wxPyCheckForApp()) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7966 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7967 PyObject
*resultobj
= 0;
7968 wxCursor
*arg1
= (wxCursor
*) 0 ;
7972 PyObject
*swig_obj
[1] ;
7974 if (!args
) SWIG_fail
;
7976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7977 if (!SWIG_IsOK(res1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7980 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= (long)(arg1
)->GetHandle();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_From_long(static_cast< long >(result
));
7994 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxCursor
*arg1
= (wxCursor
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8003 PyObject
* obj1
= 0 ;
8004 char * kwnames
[] = {
8005 (char *) "self",(char *) "handle", NULL
8008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8010 if (!SWIG_IsOK(res1
)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
8013 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8015 if (!SWIG_IsOK(ecode2
)) {
8016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8018 arg2
= static_cast< long >(val2
);
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 wxCursor_SetHandle(arg1
,arg2
);
8022 wxPyEndAllowThreads(__tstate
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxCursor
*arg1
= (wxCursor
*) 0 ;
8038 PyObject
*swig_obj
[1] ;
8040 if (!args
) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8046 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (bool)(arg1
)->Ok();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8062 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 PyObject
*resultobj
= 0;
8064 wxCursor
*arg1
= (wxCursor
*) 0 ;
8068 PyObject
*swig_obj
[1] ;
8070 if (!args
) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8076 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (int)(arg1
)->GetWidth();
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_From_int(static_cast< int >(result
));
8090 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8091 PyObject
*resultobj
= 0;
8092 wxCursor
*arg1
= (wxCursor
*) 0 ;
8096 PyObject
*swig_obj
[1] ;
8098 if (!args
) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8104 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 result
= (int)(arg1
)->GetHeight();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_From_int(static_cast< int >(result
));
8118 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8119 PyObject
*resultobj
= 0;
8120 wxCursor
*arg1
= (wxCursor
*) 0 ;
8124 PyObject
*swig_obj
[1] ;
8126 if (!args
) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8132 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (int)(arg1
)->GetDepth();
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_From_int(static_cast< int >(result
));
8146 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxCursor
*arg1
= (wxCursor
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8156 char * kwnames
[] = {
8157 (char *) "self",(char *) "w", NULL
8160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8162 if (!SWIG_IsOK(res1
)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8165 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8167 if (!SWIG_IsOK(ecode2
)) {
8168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8170 arg2
= static_cast< int >(val2
);
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->SetWidth(arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_Py_Void();
8184 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
= 0;
8186 wxCursor
*arg1
= (wxCursor
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8194 char * kwnames
[] = {
8195 (char *) "self",(char *) "h", NULL
8198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8200 if (!SWIG_IsOK(res1
)) {
8201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8203 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8205 if (!SWIG_IsOK(ecode2
)) {
8206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8208 arg2
= static_cast< int >(val2
);
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 (arg1
)->SetHeight(arg2
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_Py_Void();
8222 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= 0;
8224 wxCursor
*arg1
= (wxCursor
*) 0 ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 char * kwnames
[] = {
8233 (char *) "self",(char *) "d", NULL
8236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8238 if (!SWIG_IsOK(res1
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8241 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8243 if (!SWIG_IsOK(ecode2
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8246 arg2
= static_cast< int >(val2
);
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->SetDepth(arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= SWIG_Py_Void();
8260 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
= 0;
8262 wxCursor
*arg1
= (wxCursor
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8269 char * kwnames
[] = {
8270 (char *) "self",(char *) "size", NULL
8273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8278 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 (arg1
)->SetSize((wxSize
const &)*arg2
);
8286 wxPyEndAllowThreads(__tstate
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8299 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8300 return SWIG_Py_Void();
8303 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8304 return SWIG_Python_InitShadowInstance(args
);
8307 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
= 0;
8309 int arg1
= (int) 0 ;
8310 int arg2
= (int) 0 ;
8311 int arg3
= (int) 0 ;
8312 int arg4
= (int) 0 ;
8313 wxRegion
*result
= 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8324 PyObject
* obj2
= 0 ;
8325 PyObject
* obj3
= 0 ;
8326 char * kwnames
[] = {
8327 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8332 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8333 if (!SWIG_IsOK(ecode1
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8336 arg1
= static_cast< int >(val1
);
8339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8340 if (!SWIG_IsOK(ecode2
)) {
8341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8343 arg2
= static_cast< int >(val2
);
8346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8347 if (!SWIG_IsOK(ecode3
)) {
8348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8350 arg3
= static_cast< int >(val3
);
8353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8354 if (!SWIG_IsOK(ecode4
)) {
8355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8357 arg4
= static_cast< int >(val4
);
8360 if (!wxPyCheckForApp()) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8373 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
= 0;
8375 wxBitmap
*arg1
= 0 ;
8376 wxRegion
*result
= 0 ;
8379 PyObject
* obj0
= 0 ;
8380 char * kwnames
[] = {
8381 (char *) "bmp", NULL
8384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8385 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8386 if (!SWIG_IsOK(res1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8392 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8394 if (!wxPyCheckForApp()) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8397 wxPyEndAllowThreads(__tstate
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8407 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= 0;
8409 wxBitmap
*arg1
= 0 ;
8410 wxColour
*arg2
= 0 ;
8411 int arg3
= (int) 0 ;
8412 wxRegion
*result
= 0 ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8421 char * kwnames
[] = {
8422 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8436 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8440 if (!SWIG_IsOK(ecode3
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8443 arg3
= static_cast< int >(val3
);
8446 if (!wxPyCheckForApp()) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8459 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
= 0;
8462 wxPoint
*arg2
= (wxPoint
*) 0 ;
8463 int arg3
= (int) wxWINDING_RULE
;
8464 wxRegion
*result
= 0 ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 char * kwnames
[] = {
8470 (char *) "points",(char *) "fillStyle", NULL
8473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8475 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8476 if (arg2
== NULL
) SWIG_fail
;
8479 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8480 if (!SWIG_IsOK(ecode3
)) {
8481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8483 arg3
= static_cast< int >(val3
);
8486 if (!wxPyCheckForApp()) SWIG_fail
;
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8494 if (arg2
) delete [] arg2
;
8499 if (arg2
) delete [] arg2
;
8505 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8506 PyObject
*resultobj
= 0;
8507 wxRegion
*arg1
= (wxRegion
*) 0 ;
8510 PyObject
*swig_obj
[1] ;
8512 if (!args
) SWIG_fail
;
8514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8515 if (!SWIG_IsOK(res1
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8518 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= SWIG_Py_Void();
8533 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8534 PyObject
*resultobj
= 0;
8535 wxRegion
*arg1
= (wxRegion
*) 0 ;
8538 PyObject
*swig_obj
[1] ;
8540 if (!args
) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8546 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= 0;
8562 wxRegion
*arg1
= (wxRegion
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8573 PyObject
* obj1
= 0 ;
8574 PyObject
* obj2
= 0 ;
8575 char * kwnames
[] = {
8576 (char *) "self",(char *) "x",(char *) "y", NULL
8579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8581 if (!SWIG_IsOK(res1
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8584 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8586 if (!SWIG_IsOK(ecode2
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8589 arg2
= static_cast< int >(val2
);
8590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8591 if (!SWIG_IsOK(ecode3
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8594 arg3
= static_cast< int >(val3
);
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8610 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= 0;
8612 wxRegion
*arg1
= (wxRegion
*) 0 ;
8615 wxRegionContain result
;
8622 PyObject
* obj0
= 0 ;
8623 PyObject
* obj1
= 0 ;
8624 PyObject
* obj2
= 0 ;
8625 char * kwnames
[] = {
8626 (char *) "self",(char *) "x",(char *) "y", NULL
8629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8631 if (!SWIG_IsOK(res1
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8634 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8636 if (!SWIG_IsOK(ecode2
)) {
8637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8639 arg2
= static_cast< int >(val2
);
8640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8641 if (!SWIG_IsOK(ecode3
)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8644 arg3
= static_cast< int >(val3
);
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_From_int(static_cast< int >(result
));
8658 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
= 0;
8660 wxRegion
*arg1
= (wxRegion
*) 0 ;
8662 wxRegionContain result
;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8668 char * kwnames
[] = {
8669 (char *) "self",(char *) "pt", NULL
8672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8677 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_From_int(static_cast< int >(result
));
8695 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
= 0;
8697 wxRegion
*arg1
= (wxRegion
*) 0 ;
8699 wxRegionContain result
;
8703 PyObject
* obj0
= 0 ;
8704 PyObject
* obj1
= 0 ;
8705 char * kwnames
[] = {
8706 (char *) "self",(char *) "rect", NULL
8709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8711 if (!SWIG_IsOK(res1
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8714 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_From_int(static_cast< int >(result
));
8732 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= 0;
8734 wxRegion
*arg1
= (wxRegion
*) 0 ;
8739 wxRegionContain result
;
8750 PyObject
* obj0
= 0 ;
8751 PyObject
* obj1
= 0 ;
8752 PyObject
* obj2
= 0 ;
8753 PyObject
* obj3
= 0 ;
8754 PyObject
* obj4
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8764 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8766 if (!SWIG_IsOK(ecode2
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8769 arg2
= static_cast< int >(val2
);
8770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8771 if (!SWIG_IsOK(ecode3
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8774 arg3
= static_cast< int >(val3
);
8775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8776 if (!SWIG_IsOK(ecode4
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8779 arg4
= static_cast< int >(val4
);
8780 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8781 if (!SWIG_IsOK(ecode5
)) {
8782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8784 arg5
= static_cast< int >(val5
);
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_From_int(static_cast< int >(result
));
8798 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8799 PyObject
*resultobj
= 0;
8800 wxRegion
*arg1
= (wxRegion
*) 0 ;
8804 PyObject
*swig_obj
[1] ;
8806 if (!args
) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8812 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (arg1
)->GetBox();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8826 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
= 0;
8828 wxRegion
*arg1
= (wxRegion
*) 0 ;
8844 PyObject
* obj0
= 0 ;
8845 PyObject
* obj1
= 0 ;
8846 PyObject
* obj2
= 0 ;
8847 PyObject
* obj3
= 0 ;
8848 PyObject
* obj4
= 0 ;
8849 char * kwnames
[] = {
8850 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8858 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8860 if (!SWIG_IsOK(ecode2
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8863 arg2
= static_cast< int >(val2
);
8864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8865 if (!SWIG_IsOK(ecode3
)) {
8866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8868 arg3
= static_cast< int >(val3
);
8869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8870 if (!SWIG_IsOK(ecode4
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8873 arg4
= static_cast< int >(val4
);
8874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8875 if (!SWIG_IsOK(ecode5
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8878 arg5
= static_cast< int >(val5
);
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8894 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
= 0;
8896 wxRegion
*arg1
= (wxRegion
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8904 char * kwnames
[] = {
8905 (char *) "self",(char *) "rect", NULL
8908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8910 if (!SWIG_IsOK(res1
)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8913 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8916 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8933 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
= 0;
8935 wxRegion
*arg1
= (wxRegion
*) 0 ;
8936 wxRegion
*arg2
= 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 char * kwnames
[] = {
8945 (char *) "self",(char *) "region", NULL
8948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8950 if (!SWIG_IsOK(res1
)) {
8951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8953 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8955 if (!SWIG_IsOK(res2
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8961 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8977 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8978 PyObject
*resultobj
= 0;
8979 wxRegion
*arg1
= (wxRegion
*) 0 ;
8983 PyObject
*swig_obj
[1] ;
8985 if (!args
) SWIG_fail
;
8987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8988 if (!SWIG_IsOK(res1
)) {
8989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8991 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (bool)(arg1
)->IsEmpty();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9007 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
= 0;
9009 wxRegion
*arg1
= (wxRegion
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9027 PyObject
* obj2
= 0 ;
9028 PyObject
* obj3
= 0 ;
9029 PyObject
* obj4
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9039 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9041 if (!SWIG_IsOK(ecode2
)) {
9042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9044 arg2
= static_cast< int >(val2
);
9045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9046 if (!SWIG_IsOK(ecode3
)) {
9047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9049 arg3
= static_cast< int >(val3
);
9050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9051 if (!SWIG_IsOK(ecode4
)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9054 arg4
= static_cast< int >(val4
);
9055 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9056 if (!SWIG_IsOK(ecode5
)) {
9057 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9059 arg5
= static_cast< int >(val5
);
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
= 0;
9077 wxRegion
*arg1
= (wxRegion
*) 0 ;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 char * kwnames
[] = {
9086 (char *) "self",(char *) "rect", NULL
9089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9091 if (!SWIG_IsOK(res1
)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9094 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9097 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9114 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= 0;
9116 wxRegion
*arg1
= (wxRegion
*) 0 ;
9117 wxRegion
*arg2
= 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9125 char * kwnames
[] = {
9126 (char *) "self",(char *) "region", NULL
9129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9134 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9136 if (!SWIG_IsOK(res2
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9142 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9158 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= 0;
9160 wxRegion
*arg1
= (wxRegion
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9178 PyObject
* obj2
= 0 ;
9179 PyObject
* obj3
= 0 ;
9180 PyObject
* obj4
= 0 ;
9181 char * kwnames
[] = {
9182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9190 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9192 if (!SWIG_IsOK(ecode2
)) {
9193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9195 arg2
= static_cast< int >(val2
);
9196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9197 if (!SWIG_IsOK(ecode3
)) {
9198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9200 arg3
= static_cast< int >(val3
);
9201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9202 if (!SWIG_IsOK(ecode4
)) {
9203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9205 arg4
= static_cast< int >(val4
);
9206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9207 if (!SWIG_IsOK(ecode5
)) {
9208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9210 arg5
= static_cast< int >(val5
);
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9214 wxPyEndAllowThreads(__tstate
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9226 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
= 0;
9228 wxRegion
*arg1
= (wxRegion
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9236 char * kwnames
[] = {
9237 (char *) "self",(char *) "rect", NULL
9240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9242 if (!SWIG_IsOK(res1
)) {
9243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9245 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9248 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9265 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= 0;
9267 wxRegion
*arg1
= (wxRegion
*) 0 ;
9268 wxRegion
*arg2
= 0 ;
9274 PyObject
* obj0
= 0 ;
9275 PyObject
* obj1
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "self",(char *) "region", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9285 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9287 if (!SWIG_IsOK(res2
)) {
9288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9293 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
= 0;
9311 wxRegion
*arg1
= (wxRegion
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 PyObject
* obj2
= 0 ;
9330 PyObject
* obj3
= 0 ;
9331 PyObject
* obj4
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9341 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9343 if (!SWIG_IsOK(ecode2
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9346 arg2
= static_cast< int >(val2
);
9347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9348 if (!SWIG_IsOK(ecode3
)) {
9349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9351 arg3
= static_cast< int >(val3
);
9352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9353 if (!SWIG_IsOK(ecode4
)) {
9354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9356 arg4
= static_cast< int >(val4
);
9357 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9358 if (!SWIG_IsOK(ecode5
)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9361 arg5
= static_cast< int >(val5
);
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9377 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= 0;
9379 wxRegion
*arg1
= (wxRegion
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "self",(char *) "rect", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9396 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9416 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
= 0;
9418 wxRegion
*arg1
= (wxRegion
*) 0 ;
9419 wxRegion
*arg2
= 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "self",(char *) "region", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9433 if (!SWIG_IsOK(res1
)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9436 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9438 if (!SWIG_IsOK(res2
)) {
9439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9444 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9460 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 PyObject
*resultobj
= 0;
9462 wxRegion
*arg1
= (wxRegion
*) 0 ;
9463 SwigValueWrapper
<wxBitmap
> result
;
9466 PyObject
*swig_obj
[1] ;
9468 if (!args
) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9474 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (arg1
)->ConvertToBitmap();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9488 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
= 0;
9490 wxRegion
*arg1
= (wxRegion
*) 0 ;
9491 wxBitmap
*arg2
= 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "bmp", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9508 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9510 if (!SWIG_IsOK(res2
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9516 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9532 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
= 0;
9534 wxRegion
*arg1
= (wxRegion
*) 0 ;
9535 wxBitmap
*arg2
= 0 ;
9536 wxColour
*arg3
= 0 ;
9537 int arg4
= (int) 0 ;
9546 PyObject
* obj0
= 0 ;
9547 PyObject
* obj1
= 0 ;
9548 PyObject
* obj2
= 0 ;
9549 PyObject
* obj3
= 0 ;
9550 char * kwnames
[] = {
9551 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9556 if (!SWIG_IsOK(res1
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9559 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9561 if (!SWIG_IsOK(res2
)) {
9562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9567 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9570 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9574 if (!SWIG_IsOK(ecode4
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9577 arg4
= static_cast< int >(val4
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9597 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9598 return SWIG_Py_Void();
9601 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9602 return SWIG_Python_InitShadowInstance(args
);
9605 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= 0;
9607 wxRegion
*arg1
= 0 ;
9608 wxRegionIterator
*result
= 0 ;
9611 PyObject
* obj0
= 0 ;
9612 char * kwnames
[] = {
9613 (char *) "region", NULL
9616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9617 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9618 if (!SWIG_IsOK(res1
)) {
9619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9624 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9626 if (!wxPyCheckForApp()) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9639 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9640 PyObject
*resultobj
= 0;
9641 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9644 PyObject
*swig_obj
[1] ;
9646 if (!args
) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9652 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9668 PyObject
*resultobj
= 0;
9669 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9673 PyObject
*swig_obj
[1] ;
9675 if (!args
) SWIG_fail
;
9677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9678 if (!SWIG_IsOK(res1
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9681 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (int)(arg1
)->GetX();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_From_int(static_cast< int >(result
));
9695 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9696 PyObject
*resultobj
= 0;
9697 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9701 PyObject
*swig_obj
[1] ;
9703 if (!args
) SWIG_fail
;
9705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9706 if (!SWIG_IsOK(res1
)) {
9707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9709 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (int)(arg1
)->GetY();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_From_int(static_cast< int >(result
));
9723 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9724 PyObject
*resultobj
= 0;
9725 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9729 PyObject
*swig_obj
[1] ;
9731 if (!args
) SWIG_fail
;
9733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9734 if (!SWIG_IsOK(res1
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9737 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (int)(arg1
)->GetW();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= SWIG_From_int(static_cast< int >(result
));
9751 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9752 PyObject
*resultobj
= 0;
9753 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9757 PyObject
*swig_obj
[1] ;
9759 if (!args
) SWIG_fail
;
9761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9762 if (!SWIG_IsOK(res1
)) {
9763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9765 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 result
= (int)(arg1
)->GetWidth();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_From_int(static_cast< int >(result
));
9779 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9780 PyObject
*resultobj
= 0;
9781 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9785 PyObject
*swig_obj
[1] ;
9787 if (!args
) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9793 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (int)(arg1
)->GetH();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_From_int(static_cast< int >(result
));
9807 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9808 PyObject
*resultobj
= 0;
9809 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9813 PyObject
*swig_obj
[1] ;
9815 if (!args
) SWIG_fail
;
9817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9818 if (!SWIG_IsOK(res1
)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9821 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (int)(arg1
)->GetHeight();
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_From_int(static_cast< int >(result
));
9835 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9836 PyObject
*resultobj
= 0;
9837 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9841 PyObject
*swig_obj
[1] ;
9843 if (!args
) SWIG_fail
;
9845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9846 if (!SWIG_IsOK(res1
)) {
9847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9849 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (arg1
)->GetRect();
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9863 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9864 PyObject
*resultobj
= 0;
9865 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9869 PyObject
*swig_obj
[1] ;
9871 if (!args
) SWIG_fail
;
9873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9874 if (!SWIG_IsOK(res1
)) {
9875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9877 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (bool)(arg1
)->HaveRects();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9893 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9894 PyObject
*resultobj
= 0;
9895 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9898 PyObject
*swig_obj
[1] ;
9900 if (!args
) SWIG_fail
;
9902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9903 if (!SWIG_IsOK(res1
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9906 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_Py_Void();
9920 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9921 PyObject
*resultobj
= 0;
9922 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9925 PyObject
*swig_obj
[1] ;
9927 if (!args
) SWIG_fail
;
9929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9930 if (!SWIG_IsOK(res1
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9933 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 wxRegionIterator_Next(arg1
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_Py_Void();
9947 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9948 PyObject
*resultobj
= 0;
9949 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9953 PyObject
*swig_obj
[1] ;
9955 if (!args
) SWIG_fail
;
9957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9958 if (!SWIG_IsOK(res1
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9961 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9977 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9980 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9981 return SWIG_Py_Void();
9984 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 return SWIG_Python_InitShadowInstance(args
);
9988 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9989 PyObject
*resultobj
= 0;
9990 wxNativeFontInfo
*result
= 0 ;
9992 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
10006 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10007 PyObject
*resultobj
= 0;
10008 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10011 PyObject
*swig_obj
[1] ;
10013 if (!args
) SWIG_fail
;
10014 swig_obj
[0] = args
;
10015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10019 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 resultobj
= SWIG_Py_Void();
10034 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10035 PyObject
*resultobj
= 0;
10036 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10039 PyObject
*swig_obj
[1] ;
10041 if (!args
) SWIG_fail
;
10042 swig_obj
[0] = args
;
10043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10044 if (!SWIG_IsOK(res1
)) {
10045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10047 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_Py_Void();
10061 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
= 0;
10063 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char * kwnames
[] = {
10072 (char *) "self",(char *) "font", NULL
10075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10080 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10082 if (!SWIG_IsOK(res2
)) {
10083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10088 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_Py_Void();
10102 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10103 PyObject
*resultobj
= 0;
10104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10108 PyObject
*swig_obj
[1] ;
10110 if (!args
) SWIG_fail
;
10111 swig_obj
[0] = args
;
10112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10116 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_From_int(static_cast< int >(result
));
10130 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10131 PyObject
*resultobj
= 0;
10132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10136 PyObject
*swig_obj
[1] ;
10138 if (!args
) SWIG_fail
;
10139 swig_obj
[0] = args
;
10140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10141 if (!SWIG_IsOK(res1
)) {
10142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10144 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10158 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10159 PyObject
*resultobj
= 0;
10160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10161 wxFontStyle result
;
10164 PyObject
*swig_obj
[1] ;
10166 if (!args
) SWIG_fail
;
10167 swig_obj
[0] = args
;
10168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10169 if (!SWIG_IsOK(res1
)) {
10170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10172 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_From_int(static_cast< int >(result
));
10186 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10187 PyObject
*resultobj
= 0;
10188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10189 wxFontWeight result
;
10192 PyObject
*swig_obj
[1] ;
10194 if (!args
) SWIG_fail
;
10195 swig_obj
[0] = args
;
10196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10200 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_From_int(static_cast< int >(result
));
10214 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10215 PyObject
*resultobj
= 0;
10216 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10220 PyObject
*swig_obj
[1] ;
10222 if (!args
) SWIG_fail
;
10223 swig_obj
[0] = args
;
10224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10225 if (!SWIG_IsOK(res1
)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10228 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10244 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10245 PyObject
*resultobj
= 0;
10246 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10250 PyObject
*swig_obj
[1] ;
10252 if (!args
) SWIG_fail
;
10253 swig_obj
[0] = args
;
10254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10258 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10278 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10279 PyObject
*resultobj
= 0;
10280 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10281 wxFontFamily result
;
10284 PyObject
*swig_obj
[1] ;
10286 if (!args
) SWIG_fail
;
10287 swig_obj
[0] = args
;
10288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10289 if (!SWIG_IsOK(res1
)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10292 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_From_int(static_cast< int >(result
));
10306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10307 PyObject
*resultobj
= 0;
10308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10309 wxFontEncoding result
;
10312 PyObject
*swig_obj
[1] ;
10314 if (!args
) SWIG_fail
;
10315 swig_obj
[0] = args
;
10316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_From_int(static_cast< int >(result
));
10334 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "pointsize", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10353 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10355 if (!SWIG_IsOK(ecode2
)) {
10356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10358 arg2
= static_cast< int >(val2
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->SetPointSize(arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
= 0;
10374 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 PyObject
* obj1
= 0 ;
10381 char * kwnames
[] = {
10382 (char *) "self",(char *) "pixelSize", NULL
10385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10387 if (!SWIG_IsOK(res1
)) {
10388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10390 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_Py_Void();
10408 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
= 0;
10410 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char * kwnames
[] = {
10419 (char *) "self",(char *) "style", NULL
10422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10424 if (!SWIG_IsOK(res1
)) {
10425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10427 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10429 if (!SWIG_IsOK(ecode2
)) {
10430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10432 arg2
= static_cast< wxFontStyle
>(val2
);
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetStyle(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_Py_Void();
10446 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
= 0;
10448 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10449 wxFontWeight arg2
;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "self",(char *) "weight", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10465 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10467 if (!SWIG_IsOK(ecode2
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10470 arg2
= static_cast< wxFontWeight
>(val2
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->SetWeight(arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 char * kwnames
[] = {
10495 (char *) "self",(char *) "underlined", NULL
10498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10500 if (!SWIG_IsOK(res1
)) {
10501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10503 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10504 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10505 if (!SWIG_IsOK(ecode2
)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10508 arg2
= static_cast< bool >(val2
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->SetUnderlined(arg2
);
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_Py_Void();
10522 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
= 0;
10524 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 PyObject
* obj1
= 0 ;
10530 char * kwnames
[] = {
10531 (char *) "self",(char *) "facename", NULL
10534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10539 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10541 wxString
* sptr
= wxString_in_helper(obj1
);
10542 if (sptr
== NULL
) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 (arg1
)->SetFaceName(arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_Py_Void();
10559 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
= 0;
10561 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10562 wxFontFamily arg2
;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 char * kwnames
[] = {
10570 (char *) "self",(char *) "family", NULL
10573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10578 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10580 if (!SWIG_IsOK(ecode2
)) {
10581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10583 arg2
= static_cast< wxFontFamily
>(val2
);
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 (arg1
)->SetFamily(arg2
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= SWIG_Py_Void();
10597 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= 0;
10599 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10600 wxFontEncoding arg2
;
10605 PyObject
* obj0
= 0 ;
10606 PyObject
* obj1
= 0 ;
10607 char * kwnames
[] = {
10608 (char *) "self",(char *) "encoding", NULL
10611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10613 if (!SWIG_IsOK(res1
)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10616 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10618 if (!SWIG_IsOK(ecode2
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10621 arg2
= static_cast< wxFontEncoding
>(val2
);
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->SetEncoding(arg2
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_Py_Void();
10635 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
*resultobj
= 0;
10637 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10638 wxString
*arg2
= 0 ;
10642 bool temp2
= false ;
10643 PyObject
* obj0
= 0 ;
10644 PyObject
* obj1
= 0 ;
10645 char * kwnames
[] = {
10646 (char *) "self",(char *) "s", NULL
10649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10654 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10656 arg2
= wxString_in_helper(obj1
);
10657 if (arg2
== NULL
) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10683 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10684 PyObject
*resultobj
= 0;
10685 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10689 PyObject
*swig_obj
[1] ;
10691 if (!args
) SWIG_fail
;
10692 swig_obj
[0] = args
;
10693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10697 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10717 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10718 PyObject
*resultobj
= 0;
10719 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10723 PyObject
*swig_obj
[1] ;
10725 if (!args
) SWIG_fail
;
10726 swig_obj
[0] = args
;
10727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10728 if (!SWIG_IsOK(res1
)) {
10729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10731 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= wxNativeFontInfo___str__(arg1
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10751 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10752 PyObject
*resultobj
= 0;
10753 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10754 wxString
*arg2
= 0 ;
10758 bool temp2
= false ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 char * kwnames
[] = {
10762 (char *) "self",(char *) "s", NULL
10765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10767 if (!SWIG_IsOK(res1
)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10770 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10772 arg2
= wxString_in_helper(obj1
);
10773 if (arg2
== NULL
) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10799 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10800 PyObject
*resultobj
= 0;
10801 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10805 PyObject
*swig_obj
[1] ;
10807 if (!args
) SWIG_fail
;
10808 swig_obj
[0] = args
;
10809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10813 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10833 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10836 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10837 return SWIG_Py_Void();
10840 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10841 return SWIG_Python_InitShadowInstance(args
);
10844 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10845 PyObject
*resultobj
= 0;
10846 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10847 wxString
*arg2
= (wxString
*) 0 ;
10850 bool temp2
= false ;
10851 PyObject
*swig_obj
[2] ;
10853 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10855 if (!SWIG_IsOK(res1
)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10858 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10860 arg2
= wxString_in_helper(swig_obj
[1]);
10861 if (arg2
== NULL
) SWIG_fail
;
10864 if (arg1
) (arg1
)->facename
= *arg2
;
10866 resultobj
= SWIG_Py_Void();
10881 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10882 PyObject
*resultobj
= 0;
10883 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10884 wxString
*result
= 0 ;
10887 PyObject
*swig_obj
[1] ;
10889 if (!args
) SWIG_fail
;
10890 swig_obj
[0] = args
;
10891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10892 if (!SWIG_IsOK(res1
)) {
10893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10895 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10896 result
= (wxString
*)& ((arg1
)->facename
);
10899 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10901 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10910 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10911 PyObject
*resultobj
= 0;
10912 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10913 wxFontEncoding arg2
;
10918 PyObject
*swig_obj
[2] ;
10920 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10925 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10926 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10927 if (!SWIG_IsOK(ecode2
)) {
10928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10930 arg2
= static_cast< wxFontEncoding
>(val2
);
10931 if (arg1
) (arg1
)->encoding
= arg2
;
10933 resultobj
= SWIG_Py_Void();
10940 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 PyObject
*resultobj
= 0;
10942 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10943 wxFontEncoding result
;
10946 PyObject
*swig_obj
[1] ;
10948 if (!args
) SWIG_fail
;
10949 swig_obj
[0] = args
;
10950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10954 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10955 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10956 resultobj
= SWIG_From_int(static_cast< int >(result
));
10963 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxNativeEncodingInfo
*result
= 0 ;
10967 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10981 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10982 PyObject
*resultobj
= 0;
10983 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10986 PyObject
*swig_obj
[1] ;
10988 if (!args
) SWIG_fail
;
10989 swig_obj
[0] = args
;
10990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10991 if (!SWIG_IsOK(res1
)) {
10992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10994 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_Py_Void();
11009 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
= 0;
11011 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11012 wxString
*arg2
= 0 ;
11016 bool temp2
= false ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char * kwnames
[] = {
11020 (char *) "self",(char *) "s", NULL
11023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11025 if (!SWIG_IsOK(res1
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11028 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11030 arg2
= wxString_in_helper(obj1
);
11031 if (arg2
== NULL
) SWIG_fail
;
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11057 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11058 PyObject
*resultobj
= 0;
11059 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11063 PyObject
*swig_obj
[1] ;
11065 if (!args
) SWIG_fail
;
11066 swig_obj
[0] = args
;
11067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11071 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11091 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11094 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11095 return SWIG_Py_Void();
11098 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11099 return SWIG_Python_InitShadowInstance(args
);
11102 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
= 0;
11104 wxFontEncoding arg1
;
11105 wxNativeEncodingInfo
*result
= 0 ;
11108 PyObject
* obj0
= 0 ;
11109 char * kwnames
[] = {
11110 (char *) "encoding", NULL
11113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11115 if (!SWIG_IsOK(ecode1
)) {
11116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11118 arg1
= static_cast< wxFontEncoding
>(val1
);
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11132 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
= 0;
11134 wxNativeEncodingInfo
*arg1
= 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char * kwnames
[] = {
11140 (char *) "info", NULL
11143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11144 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11145 if (!SWIG_IsOK(res1
)) {
11146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11151 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11167 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11168 PyObject
*resultobj
= 0;
11169 wxFontMapper
*result
= 0 ;
11171 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (wxFontMapper
*)new wxFontMapper();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11185 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11186 PyObject
*resultobj
= 0;
11187 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11198 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_Py_Void();
11213 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11214 PyObject
*resultobj
= 0;
11215 wxFontMapper
*result
= 0 ;
11217 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (wxFontMapper
*)wxFontMapper::Get();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11231 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11234 wxFontMapper
*result
= 0 ;
11237 PyObject
* obj0
= 0 ;
11238 char * kwnames
[] = {
11239 (char *) "mapper", NULL
11242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11247 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11261 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11262 PyObject
*resultobj
= 0;
11263 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11264 wxString
*arg2
= 0 ;
11265 bool arg3
= (bool) true ;
11266 wxFontEncoding result
;
11269 bool temp2
= false ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 PyObject
* obj2
= 0 ;
11275 char * kwnames
[] = {
11276 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11281 if (!SWIG_IsOK(res1
)) {
11282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11284 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11286 arg2
= wxString_in_helper(obj1
);
11287 if (arg2
== NULL
) SWIG_fail
;
11291 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11292 if (!SWIG_IsOK(ecode3
)) {
11293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11295 arg3
= static_cast< bool >(val3
);
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_From_int(static_cast< int >(result
));
11318 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11319 PyObject
*resultobj
= 0;
11322 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11336 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
= 0;
11339 wxFontEncoding result
;
11342 PyObject
* obj0
= 0 ;
11343 char * kwnames
[] = {
11347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11348 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11349 if (!SWIG_IsOK(ecode1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11352 arg1
= static_cast< size_t >(val1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= SWIG_From_int(static_cast< int >(result
));
11366 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
= 0;
11368 wxFontEncoding arg1
;
11372 PyObject
* obj0
= 0 ;
11373 char * kwnames
[] = {
11374 (char *) "encoding", NULL
11377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11379 if (!SWIG_IsOK(ecode1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11382 arg1
= static_cast< wxFontEncoding
>(val1
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= wxFontMapper::GetEncodingName(arg1
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11402 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
= 0;
11404 wxFontEncoding arg1
;
11408 PyObject
* obj0
= 0 ;
11409 char * kwnames
[] = {
11410 (char *) "encoding", NULL
11413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11415 if (!SWIG_IsOK(ecode1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11418 arg1
= static_cast< wxFontEncoding
>(val1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= wxFontMapper::GetEncodingDescription(arg1
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11438 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
= 0;
11440 wxString
*arg1
= 0 ;
11441 wxFontEncoding result
;
11442 bool temp1
= false ;
11443 PyObject
* obj0
= 0 ;
11444 char * kwnames
[] = {
11445 (char *) "name", NULL
11448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11450 arg1
= wxString_in_helper(obj0
);
11451 if (arg1
== NULL
) SWIG_fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_From_int(static_cast< int >(result
));
11475 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
= 0;
11477 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11478 wxString
*arg2
= 0 ;
11481 bool temp2
= false ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char * kwnames
[] = {
11485 (char *) "self",(char *) "prefix", NULL
11488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11490 if (!SWIG_IsOK(res1
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11493 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11495 arg2
= wxString_in_helper(obj1
);
11496 if (arg2
== NULL
) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_Py_Void();
11520 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11521 PyObject
*resultobj
= 0;
11524 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= wxFontMapper::GetDefaultConfigPath();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11544 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
= 0;
11546 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11547 wxFontEncoding arg2
;
11548 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11549 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11550 bool arg4
= (bool) true ;
11551 PyObject
*result
= 0 ;
11556 bool temp3
= false ;
11559 PyObject
* obj0
= 0 ;
11560 PyObject
* obj1
= 0 ;
11561 PyObject
* obj2
= 0 ;
11562 PyObject
* obj3
= 0 ;
11563 char * kwnames
[] = {
11564 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11569 if (!SWIG_IsOK(res1
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11572 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11574 if (!SWIG_IsOK(ecode2
)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11577 arg2
= static_cast< wxFontEncoding
>(val2
);
11580 arg3
= wxString_in_helper(obj2
);
11581 if (arg3
== NULL
) SWIG_fail
;
11586 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11587 if (!SWIG_IsOK(ecode4
)) {
11588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11590 arg4
= static_cast< bool >(val4
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= result
;
11613 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
= 0;
11615 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11616 wxFontEncoding arg2
;
11617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11624 bool temp3
= false ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 PyObject
* obj2
= 0 ;
11628 char * kwnames
[] = {
11629 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11634 if (!SWIG_IsOK(res1
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11637 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11639 if (!SWIG_IsOK(ecode2
)) {
11640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11642 arg2
= static_cast< wxFontEncoding
>(val2
);
11645 arg3
= wxString_in_helper(obj2
);
11646 if (arg3
== NULL
) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11673 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= 0;
11675 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11676 wxWindow
*arg2
= (wxWindow
*) 0 ;
11681 PyObject
* obj0
= 0 ;
11682 PyObject
* obj1
= 0 ;
11683 char * kwnames
[] = {
11684 (char *) "self",(char *) "parent", NULL
11687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11689 if (!SWIG_IsOK(res1
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11692 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11693 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11694 if (!SWIG_IsOK(res2
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11697 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 (arg1
)->SetDialogParent(arg2
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= SWIG_Py_Void();
11711 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
= 0;
11713 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11714 wxString
*arg2
= 0 ;
11717 bool temp2
= false ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char * kwnames
[] = {
11721 (char *) "self",(char *) "title", NULL
11724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11726 if (!SWIG_IsOK(res1
)) {
11727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11729 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11731 arg2
= wxString_in_helper(obj1
);
11732 if (arg2
== NULL
) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_Py_Void();
11756 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11760 return SWIG_Py_Void();
11763 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 return SWIG_Python_InitShadowInstance(args
);
11767 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
= 0;
11773 bool arg5
= (bool) false ;
11774 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11775 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11776 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11777 wxFont
*result
= 0 ;
11788 bool temp6
= false ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 PyObject
* obj2
= 0 ;
11794 PyObject
* obj3
= 0 ;
11795 PyObject
* obj4
= 0 ;
11796 PyObject
* obj5
= 0 ;
11797 PyObject
* obj6
= 0 ;
11798 char * kwnames
[] = {
11799 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11804 if (!SWIG_IsOK(ecode1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11807 arg1
= static_cast< int >(val1
);
11808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11809 if (!SWIG_IsOK(ecode2
)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11812 arg2
= static_cast< int >(val2
);
11813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11814 if (!SWIG_IsOK(ecode3
)) {
11815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11817 arg3
= static_cast< int >(val3
);
11818 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11819 if (!SWIG_IsOK(ecode4
)) {
11820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11822 arg4
= static_cast< int >(val4
);
11824 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11825 if (!SWIG_IsOK(ecode5
)) {
11826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11828 arg5
= static_cast< bool >(val5
);
11832 arg6
= wxString_in_helper(obj5
);
11833 if (arg6
== NULL
) SWIG_fail
;
11838 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11839 if (!SWIG_IsOK(ecode7
)) {
11840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11842 arg7
= static_cast< wxFontEncoding
>(val7
);
11845 if (!wxPyCheckForApp()) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11866 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxFont
*arg1
= (wxFont
*) 0 ;
11871 PyObject
*swig_obj
[1] ;
11873 if (!args
) SWIG_fail
;
11874 swig_obj
[0] = args
;
11875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11876 if (!SWIG_IsOK(res1
)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11879 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_Py_Void();
11894 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxNativeFontInfo
*arg1
= 0 ;
11897 wxFont
*result
= 0 ;
11900 PyObject
* obj0
= 0 ;
11901 char * kwnames
[] = {
11902 (char *) "info", NULL
11905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11906 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11913 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11915 if (!wxPyCheckForApp()) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11928 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
= 0;
11930 wxString
*arg1
= 0 ;
11931 wxFont
*result
= 0 ;
11932 bool temp1
= false ;
11933 PyObject
* obj0
= 0 ;
11934 char * kwnames
[] = {
11935 (char *) "info", NULL
11938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11940 arg1
= wxString_in_helper(obj0
);
11941 if (arg1
== NULL
) SWIG_fail
;
11945 if (!wxPyCheckForApp()) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11966 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
= 0;
11969 wxFontFamily arg2
;
11970 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11971 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11972 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11973 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11974 wxFont
*result
= 0 ;
11981 bool temp4
= false ;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 PyObject
* obj2
= 0 ;
11987 PyObject
* obj3
= 0 ;
11988 PyObject
* obj4
= 0 ;
11989 char * kwnames
[] = {
11990 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11995 if (!SWIG_IsOK(ecode1
)) {
11996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11998 arg1
= static_cast< int >(val1
);
11999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12000 if (!SWIG_IsOK(ecode2
)) {
12001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
12003 arg2
= static_cast< wxFontFamily
>(val2
);
12005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12006 if (!SWIG_IsOK(ecode3
)) {
12007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
12009 arg3
= static_cast< int >(val3
);
12013 arg4
= wxString_in_helper(obj3
);
12014 if (arg4
== NULL
) SWIG_fail
;
12019 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12020 if (!SWIG_IsOK(ecode5
)) {
12021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12023 arg5
= static_cast< wxFontEncoding
>(val5
);
12026 if (!wxPyCheckForApp()) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12047 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
= 0;
12053 bool arg5
= (bool) false ;
12054 wxString
const &arg6_defvalue
= wxEmptyString
;
12055 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12056 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12057 wxFont
*result
= 0 ;
12067 bool temp6
= false ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 PyObject
* obj2
= 0 ;
12073 PyObject
* obj3
= 0 ;
12074 PyObject
* obj4
= 0 ;
12075 PyObject
* obj5
= 0 ;
12076 PyObject
* obj6
= 0 ;
12077 char * kwnames
[] = {
12078 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12084 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12087 if (!SWIG_IsOK(ecode2
)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12090 arg2
= static_cast< int >(val2
);
12091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12092 if (!SWIG_IsOK(ecode3
)) {
12093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12095 arg3
= static_cast< int >(val3
);
12096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12097 if (!SWIG_IsOK(ecode4
)) {
12098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12100 arg4
= static_cast< int >(val4
);
12102 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12103 if (!SWIG_IsOK(ecode5
)) {
12104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12106 arg5
= static_cast< bool >(val5
);
12110 arg6
= wxString_in_helper(obj5
);
12111 if (arg6
== NULL
) SWIG_fail
;
12116 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12117 if (!SWIG_IsOK(ecode7
)) {
12118 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12120 arg7
= static_cast< wxFontEncoding
>(val7
);
12123 if (!wxPyCheckForApp()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12144 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
= 0;
12147 wxFontFamily arg2
;
12148 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12149 wxString
const &arg4_defvalue
= wxEmptyString
;
12150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12151 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12152 wxFont
*result
= 0 ;
12158 bool temp4
= false ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 PyObject
* obj2
= 0 ;
12164 PyObject
* obj3
= 0 ;
12165 PyObject
* obj4
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12173 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12176 if (!SWIG_IsOK(ecode2
)) {
12177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12179 arg2
= static_cast< wxFontFamily
>(val2
);
12181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12182 if (!SWIG_IsOK(ecode3
)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12185 arg3
= static_cast< int >(val3
);
12189 arg4
= wxString_in_helper(obj3
);
12190 if (arg4
== NULL
) SWIG_fail
;
12195 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12196 if (!SWIG_IsOK(ecode5
)) {
12197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12199 arg5
= static_cast< wxFontEncoding
>(val5
);
12202 if (!wxPyCheckForApp()) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12223 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12224 PyObject
*resultobj
= 0;
12225 wxFont
*arg1
= (wxFont
*) 0 ;
12229 PyObject
*swig_obj
[1] ;
12231 if (!args
) SWIG_fail
;
12232 swig_obj
[0] = args
;
12233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12234 if (!SWIG_IsOK(res1
)) {
12235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12237 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12240 result
= (bool)((wxFont
const *)arg1
)->Ok();
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12253 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12254 PyObject
*resultobj
= 0;
12255 wxFont
*arg1
= (wxFont
*) 0 ;
12256 wxFont
*arg2
= (wxFont
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 PyObject
* obj1
= 0 ;
12264 char * kwnames
[] = {
12265 (char *) "self",(char *) "other", NULL
12268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12270 if (!SWIG_IsOK(res1
)) {
12271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12273 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12275 if (!SWIG_IsOK(res2
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12278 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12294 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
= 0;
12296 wxFont
*arg1
= (wxFont
*) 0 ;
12297 wxFont
*arg2
= (wxFont
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char * kwnames
[] = {
12306 (char *) "self",(char *) "other", NULL
12309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12311 if (!SWIG_IsOK(res1
)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12314 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12315 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12316 if (!SWIG_IsOK(res2
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12319 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12335 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 PyObject
*resultobj
= 0;
12337 wxFont
*arg1
= (wxFont
*) 0 ;
12341 PyObject
*swig_obj
[1] ;
12343 if (!args
) SWIG_fail
;
12344 swig_obj
[0] = args
;
12345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12349 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_From_int(static_cast< int >(result
));
12363 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 PyObject
*resultobj
= 0;
12365 wxFont
*arg1
= (wxFont
*) 0 ;
12369 PyObject
*swig_obj
[1] ;
12371 if (!args
) SWIG_fail
;
12372 swig_obj
[0] = args
;
12373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12377 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12391 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 PyObject
*resultobj
= 0;
12393 wxFont
*arg1
= (wxFont
*) 0 ;
12397 PyObject
*swig_obj
[1] ;
12399 if (!args
) SWIG_fail
;
12400 swig_obj
[0] = args
;
12401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12402 if (!SWIG_IsOK(res1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12405 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12421 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12422 PyObject
*resultobj
= 0;
12423 wxFont
*arg1
= (wxFont
*) 0 ;
12427 PyObject
*swig_obj
[1] ;
12429 if (!args
) SWIG_fail
;
12430 swig_obj
[0] = args
;
12431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12432 if (!SWIG_IsOK(res1
)) {
12433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12435 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_From_int(static_cast< int >(result
));
12449 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12450 PyObject
*resultobj
= 0;
12451 wxFont
*arg1
= (wxFont
*) 0 ;
12455 PyObject
*swig_obj
[1] ;
12457 if (!args
) SWIG_fail
;
12458 swig_obj
[0] = args
;
12459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12463 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_From_int(static_cast< int >(result
));
12477 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12478 PyObject
*resultobj
= 0;
12479 wxFont
*arg1
= (wxFont
*) 0 ;
12483 PyObject
*swig_obj
[1] ;
12485 if (!args
) SWIG_fail
;
12486 swig_obj
[0] = args
;
12487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12488 if (!SWIG_IsOK(res1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12491 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_From_int(static_cast< int >(result
));
12505 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12506 PyObject
*resultobj
= 0;
12507 wxFont
*arg1
= (wxFont
*) 0 ;
12511 PyObject
*swig_obj
[1] ;
12513 if (!args
) SWIG_fail
;
12514 swig_obj
[0] = args
;
12515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12519 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12535 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12536 PyObject
*resultobj
= 0;
12537 wxFont
*arg1
= (wxFont
*) 0 ;
12541 PyObject
*swig_obj
[1] ;
12543 if (!args
) SWIG_fail
;
12544 swig_obj
[0] = args
;
12545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12549 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= ((wxFont
const *)arg1
)->GetFaceName();
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12569 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12570 PyObject
*resultobj
= 0;
12571 wxFont
*arg1
= (wxFont
*) 0 ;
12572 wxFontEncoding result
;
12575 PyObject
*swig_obj
[1] ;
12577 if (!args
) SWIG_fail
;
12578 swig_obj
[0] = args
;
12579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12583 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= SWIG_From_int(static_cast< int >(result
));
12597 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12598 PyObject
*resultobj
= 0;
12599 wxFont
*arg1
= (wxFont
*) 0 ;
12600 wxNativeFontInfo
*result
= 0 ;
12603 PyObject
*swig_obj
[1] ;
12605 if (!args
) SWIG_fail
;
12606 swig_obj
[0] = args
;
12607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12608 if (!SWIG_IsOK(res1
)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12611 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12625 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12626 PyObject
*resultobj
= 0;
12627 wxFont
*arg1
= (wxFont
*) 0 ;
12631 PyObject
*swig_obj
[1] ;
12633 if (!args
) SWIG_fail
;
12634 swig_obj
[0] = args
;
12635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12636 if (!SWIG_IsOK(res1
)) {
12637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12639 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12655 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12656 PyObject
*resultobj
= 0;
12657 wxFont
*arg1
= (wxFont
*) 0 ;
12661 PyObject
*swig_obj
[1] ;
12663 if (!args
) SWIG_fail
;
12664 swig_obj
[0] = args
;
12665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12666 if (!SWIG_IsOK(res1
)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12669 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12689 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12690 PyObject
*resultobj
= 0;
12691 wxFont
*arg1
= (wxFont
*) 0 ;
12695 PyObject
*swig_obj
[1] ;
12697 if (!args
) SWIG_fail
;
12698 swig_obj
[0] = args
;
12699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12700 if (!SWIG_IsOK(res1
)) {
12701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12703 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12723 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxFont
*arg1
= (wxFont
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 PyObject
* obj1
= 0 ;
12733 char * kwnames
[] = {
12734 (char *) "self",(char *) "pointSize", NULL
12737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12739 if (!SWIG_IsOK(res1
)) {
12740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12742 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12744 if (!SWIG_IsOK(ecode2
)) {
12745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12747 arg2
= static_cast< int >(val2
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->SetPointSize(arg2
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_Py_Void();
12761 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= 0;
12763 wxFont
*arg1
= (wxFont
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "pixelSize", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12779 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12782 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= SWIG_Py_Void();
12797 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
= 0;
12799 wxFont
*arg1
= (wxFont
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char * kwnames
[] = {
12808 (char *) "self",(char *) "family", NULL
12811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12816 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12818 if (!SWIG_IsOK(ecode2
)) {
12819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12821 arg2
= static_cast< int >(val2
);
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->SetFamily(arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_Py_Void();
12835 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
= 0;
12837 wxFont
*arg1
= (wxFont
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char * kwnames
[] = {
12846 (char *) "self",(char *) "style", NULL
12849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12854 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12856 if (!SWIG_IsOK(ecode2
)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12859 arg2
= static_cast< int >(val2
);
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->SetStyle(arg2
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= SWIG_Py_Void();
12873 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
= 0;
12875 wxFont
*arg1
= (wxFont
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 char * kwnames
[] = {
12884 (char *) "self",(char *) "weight", NULL
12887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12889 if (!SWIG_IsOK(res1
)) {
12890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12892 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12894 if (!SWIG_IsOK(ecode2
)) {
12895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12897 arg2
= static_cast< int >(val2
);
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 (arg1
)->SetWeight(arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_Py_Void();
12911 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
= 0;
12913 wxFont
*arg1
= (wxFont
*) 0 ;
12914 wxString
*arg2
= 0 ;
12917 bool temp2
= false ;
12918 PyObject
* obj0
= 0 ;
12919 PyObject
* obj1
= 0 ;
12920 char * kwnames
[] = {
12921 (char *) "self",(char *) "faceName", NULL
12924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12926 if (!SWIG_IsOK(res1
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12929 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12931 arg2
= wxString_in_helper(obj1
);
12932 if (arg2
== NULL
) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_Py_Void();
12956 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
= 0;
12958 wxFont
*arg1
= (wxFont
*) 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 char * kwnames
[] = {
12967 (char *) "self",(char *) "underlined", NULL
12970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12972 if (!SWIG_IsOK(res1
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12975 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12977 if (!SWIG_IsOK(ecode2
)) {
12978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12980 arg2
= static_cast< bool >(val2
);
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 (arg1
)->SetUnderlined(arg2
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_Py_Void();
12994 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= 0;
12996 wxFont
*arg1
= (wxFont
*) 0 ;
12997 wxFontEncoding arg2
;
13002 PyObject
* obj0
= 0 ;
13003 PyObject
* obj1
= 0 ;
13004 char * kwnames
[] = {
13005 (char *) "self",(char *) "encoding", NULL
13008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13010 if (!SWIG_IsOK(res1
)) {
13011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13013 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13015 if (!SWIG_IsOK(ecode2
)) {
13016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13018 arg2
= static_cast< wxFontEncoding
>(val2
);
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 (arg1
)->SetEncoding(arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_Py_Void();
13032 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
= 0;
13034 wxFont
*arg1
= (wxFont
*) 0 ;
13035 wxNativeFontInfo
*arg2
= 0 ;
13040 PyObject
* obj0
= 0 ;
13041 PyObject
* obj1
= 0 ;
13042 char * kwnames
[] = {
13043 (char *) "self",(char *) "info", NULL
13046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13048 if (!SWIG_IsOK(res1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13051 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13053 if (!SWIG_IsOK(res2
)) {
13054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13059 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_Py_Void();
13073 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
= 0;
13075 wxFont
*arg1
= (wxFont
*) 0 ;
13076 wxString
*arg2
= 0 ;
13079 bool temp2
= false ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "info", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13091 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13093 arg2
= wxString_in_helper(obj1
);
13094 if (arg2
== NULL
) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_Py_Void();
13118 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
= 0;
13120 wxFont
*arg1
= (wxFont
*) 0 ;
13121 wxString
*arg2
= 0 ;
13124 bool temp2
= false ;
13125 PyObject
* obj0
= 0 ;
13126 PyObject
* obj1
= 0 ;
13127 char * kwnames
[] = {
13128 (char *) "self",(char *) "info", NULL
13131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13133 if (!SWIG_IsOK(res1
)) {
13134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13136 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13138 arg2
= wxString_in_helper(obj1
);
13139 if (arg2
== NULL
) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= SWIG_Py_Void();
13163 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 PyObject
*resultobj
= 0;
13165 wxFont
*arg1
= (wxFont
*) 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_wxFont
, 0 | 0 );
13174 if (!SWIG_IsOK(res1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13177 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13197 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13198 PyObject
*resultobj
= 0;
13199 wxFont
*arg1
= (wxFont
*) 0 ;
13203 PyObject
*swig_obj
[1] ;
13205 if (!args
) SWIG_fail
;
13206 swig_obj
[0] = args
;
13207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13211 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= ((wxFont
const *)arg1
)->GetStyleString();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13231 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13232 PyObject
*resultobj
= 0;
13233 wxFont
*arg1
= (wxFont
*) 0 ;
13237 PyObject
*swig_obj
[1] ;
13239 if (!args
) SWIG_fail
;
13240 swig_obj
[0] = args
;
13241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13242 if (!SWIG_IsOK(res1
)) {
13243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13245 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= ((wxFont
const *)arg1
)->GetWeightString();
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13265 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxFont
*arg1
= (wxFont
*) 0 ;
13268 bool arg2
= (bool) true ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "self",(char *) "no", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13281 if (!SWIG_IsOK(res1
)) {
13282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13284 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13286 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13287 if (!SWIG_IsOK(ecode2
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13290 arg2
= static_cast< bool >(val2
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 (arg1
)->SetNoAntiAliasing(arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_Py_Void();
13305 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13306 PyObject
*resultobj
= 0;
13307 wxFont
*arg1
= (wxFont
*) 0 ;
13311 PyObject
*swig_obj
[1] ;
13313 if (!args
) SWIG_fail
;
13314 swig_obj
[0] = args
;
13315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13319 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13335 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13336 PyObject
*resultobj
= 0;
13337 wxFontEncoding result
;
13339 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13341 if (!wxPyCheckForApp()) SWIG_fail
;
13342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13343 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_From_int(static_cast< int >(result
));
13354 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
= 0;
13356 wxFontEncoding arg1
;
13359 PyObject
* obj0
= 0 ;
13360 char * kwnames
[] = {
13361 (char *) "encoding", NULL
13364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13366 if (!SWIG_IsOK(ecode1
)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13369 arg1
= static_cast< wxFontEncoding
>(val1
);
13371 if (!wxPyCheckForApp()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 wxFont::SetDefaultEncoding(arg1
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 resultobj
= SWIG_Py_Void();
13384 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13387 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13388 return SWIG_Py_Void();
13391 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 return SWIG_Python_InitShadowInstance(args
);
13395 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13396 PyObject
*resultobj
= 0;
13397 wxPyFontEnumerator
*result
= 0 ;
13399 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13401 if (!wxPyCheckForApp()) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13414 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13415 PyObject
*resultobj
= 0;
13416 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13419 PyObject
*swig_obj
[1] ;
13421 if (!args
) SWIG_fail
;
13422 swig_obj
[0] = args
;
13423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13427 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 resultobj
= SWIG_Py_Void();
13442 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
= 0;
13444 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13445 PyObject
*arg2
= (PyObject
*) 0 ;
13446 PyObject
*arg3
= (PyObject
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 PyObject
* obj2
= 0 ;
13455 PyObject
* obj3
= 0 ;
13456 char * kwnames
[] = {
13457 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13465 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13468 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13469 if (!SWIG_IsOK(ecode4
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13472 arg4
= static_cast< bool >(val4
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_Py_Void();
13486 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
= 0;
13488 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13489 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13490 bool arg3
= (bool) false ;
13498 PyObject
* obj0
= 0 ;
13499 PyObject
* obj1
= 0 ;
13500 PyObject
* obj2
= 0 ;
13501 char * kwnames
[] = {
13502 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13507 if (!SWIG_IsOK(res1
)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13510 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13513 if (!SWIG_IsOK(ecode2
)) {
13514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13516 arg2
= static_cast< wxFontEncoding
>(val2
);
13519 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13520 if (!SWIG_IsOK(ecode3
)) {
13521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13523 arg3
= static_cast< bool >(val3
);
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13540 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= 0;
13542 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13543 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13544 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13548 bool temp2
= false ;
13549 PyObject
* obj0
= 0 ;
13550 PyObject
* obj1
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "self",(char *) "facename", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13560 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13563 arg2
= wxString_in_helper(obj1
);
13564 if (arg2
== NULL
) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13591 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 PyObject
*resultobj
= 0;
13593 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13594 PyObject
*result
= 0 ;
13597 PyObject
*swig_obj
[1] ;
13599 if (!args
) SWIG_fail
;
13600 swig_obj
[0] = args
;
13601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13602 if (!SWIG_IsOK(res1
)) {
13603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13605 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= result
;
13619 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13620 PyObject
*resultobj
= 0;
13621 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13622 PyObject
*result
= 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13633 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= result
;
13647 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13650 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13651 return SWIG_Py_Void();
13654 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13655 return SWIG_Python_InitShadowInstance(args
);
13658 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13659 PyObject
*resultobj
= 0;
13660 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13666 PyObject
*swig_obj
[2] ;
13668 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13670 if (!SWIG_IsOK(res1
)) {
13671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13673 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13674 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13675 if (!SWIG_IsOK(ecode2
)) {
13676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13678 arg2
= static_cast< int >(val2
);
13679 if (arg1
) (arg1
)->Language
= arg2
;
13681 resultobj
= SWIG_Py_Void();
13688 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 PyObject
*resultobj
= 0;
13690 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13694 PyObject
*swig_obj
[1] ;
13696 if (!args
) SWIG_fail
;
13697 swig_obj
[0] = args
;
13698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13702 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13703 result
= (int) ((arg1
)->Language
);
13704 resultobj
= SWIG_From_int(static_cast< int >(result
));
13711 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13712 PyObject
*resultobj
= 0;
13713 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13714 wxString
*arg2
= (wxString
*) 0 ;
13717 bool temp2
= false ;
13718 PyObject
*swig_obj
[2] ;
13720 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13722 if (!SWIG_IsOK(res1
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13725 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13727 arg2
= wxString_in_helper(swig_obj
[1]);
13728 if (arg2
== NULL
) SWIG_fail
;
13731 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13733 resultobj
= SWIG_Py_Void();
13748 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13751 wxString
*result
= 0 ;
13754 PyObject
*swig_obj
[1] ;
13756 if (!args
) SWIG_fail
;
13757 swig_obj
[0] = args
;
13758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13762 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13763 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13766 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13768 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13777 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13778 PyObject
*resultobj
= 0;
13779 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13780 wxString
*arg2
= (wxString
*) 0 ;
13783 bool temp2
= false ;
13784 PyObject
*swig_obj
[2] ;
13786 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13788 if (!SWIG_IsOK(res1
)) {
13789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13791 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13793 arg2
= wxString_in_helper(swig_obj
[1]);
13794 if (arg2
== NULL
) SWIG_fail
;
13797 if (arg1
) (arg1
)->Description
= *arg2
;
13799 resultobj
= SWIG_Py_Void();
13814 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13815 PyObject
*resultobj
= 0;
13816 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13817 wxString
*result
= 0 ;
13820 PyObject
*swig_obj
[1] ;
13822 if (!args
) SWIG_fail
;
13823 swig_obj
[0] = args
;
13824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13828 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13829 result
= (wxString
*)& ((arg1
)->Description
);
13832 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13834 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13843 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13846 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13847 return SWIG_Py_Void();
13850 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 int arg1
= (int) -1 ;
13853 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13854 wxLocale
*result
= 0 ;
13859 PyObject
* obj0
= 0 ;
13860 PyObject
* obj1
= 0 ;
13861 char * kwnames
[] = {
13862 (char *) "language",(char *) "flags", NULL
13865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13867 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13868 if (!SWIG_IsOK(ecode1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13871 arg1
= static_cast< int >(val1
);
13874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13875 if (!SWIG_IsOK(ecode2
)) {
13876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13878 arg2
= static_cast< int >(val2
);
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13893 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13894 PyObject
*resultobj
= 0;
13895 wxLocale
*arg1
= (wxLocale
*) 0 ;
13898 PyObject
*swig_obj
[1] ;
13900 if (!args
) SWIG_fail
;
13901 swig_obj
[0] = args
;
13902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13906 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= SWIG_Py_Void();
13921 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13922 PyObject
*resultobj
= 0;
13923 wxLocale
*arg1
= (wxLocale
*) 0 ;
13924 wxString
*arg2
= 0 ;
13925 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13926 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13927 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13928 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13929 bool arg5
= (bool) true ;
13930 bool arg6
= (bool) false ;
13934 bool temp2
= false ;
13935 bool temp3
= false ;
13936 bool temp4
= false ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 PyObject
* obj2
= 0 ;
13944 PyObject
* obj3
= 0 ;
13945 PyObject
* obj4
= 0 ;
13946 PyObject
* obj5
= 0 ;
13947 char * kwnames
[] = {
13948 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13953 if (!SWIG_IsOK(res1
)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13956 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13958 arg2
= wxString_in_helper(obj1
);
13959 if (arg2
== NULL
) SWIG_fail
;
13964 arg3
= wxString_in_helper(obj2
);
13965 if (arg3
== NULL
) SWIG_fail
;
13971 arg4
= wxString_in_helper(obj3
);
13972 if (arg4
== NULL
) SWIG_fail
;
13977 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13978 if (!SWIG_IsOK(ecode5
)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13981 arg5
= static_cast< bool >(val5
);
13984 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13985 if (!SWIG_IsOK(ecode6
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13988 arg6
= static_cast< bool >(val6
);
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14029 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
= 0;
14031 wxLocale
*arg1
= (wxLocale
*) 0 ;
14032 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14033 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14041 PyObject
* obj0
= 0 ;
14042 PyObject
* obj1
= 0 ;
14043 PyObject
* obj2
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "self",(char *) "language",(char *) "flags", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14053 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14056 if (!SWIG_IsOK(ecode2
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14059 arg2
= static_cast< int >(val2
);
14062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14063 if (!SWIG_IsOK(ecode3
)) {
14064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14066 arg3
= static_cast< int >(val3
);
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14083 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14084 PyObject
*resultobj
= 0;
14087 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (int)wxLocale::GetSystemLanguage();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_int(static_cast< int >(result
));
14101 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14102 PyObject
*resultobj
= 0;
14103 wxFontEncoding result
;
14105 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_From_int(static_cast< int >(result
));
14119 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14120 PyObject
*resultobj
= 0;
14123 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= wxLocale::GetSystemEncodingName();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14143 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 PyObject
*resultobj
= 0;
14145 wxLocale
*arg1
= (wxLocale
*) 0 ;
14149 PyObject
*swig_obj
[1] ;
14151 if (!args
) SWIG_fail
;
14152 swig_obj
[0] = args
;
14153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14154 if (!SWIG_IsOK(res1
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14157 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14173 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14174 PyObject
*resultobj
= 0;
14175 wxLocale
*arg1
= (wxLocale
*) 0 ;
14179 PyObject
*swig_obj
[1] ;
14181 if (!args
) SWIG_fail
;
14182 swig_obj
[0] = args
;
14183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14184 if (!SWIG_IsOK(res1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14187 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= ((wxLocale
const *)arg1
)->GetLocale();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14207 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14208 PyObject
*resultobj
= 0;
14209 wxLocale
*arg1
= (wxLocale
*) 0 ;
14213 PyObject
*swig_obj
[1] ;
14215 if (!args
) SWIG_fail
;
14216 swig_obj
[0] = args
;
14217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14218 if (!SWIG_IsOK(res1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14221 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_From_int(static_cast< int >(result
));
14235 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14236 PyObject
*resultobj
= 0;
14237 wxLocale
*arg1
= (wxLocale
*) 0 ;
14241 PyObject
*swig_obj
[1] ;
14243 if (!args
) SWIG_fail
;
14244 swig_obj
[0] = args
;
14245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14246 if (!SWIG_IsOK(res1
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14249 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= ((wxLocale
const *)arg1
)->GetSysName();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14269 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14270 PyObject
*resultobj
= 0;
14271 wxLocale
*arg1
= (wxLocale
*) 0 ;
14275 PyObject
*swig_obj
[1] ;
14277 if (!args
) SWIG_fail
;
14278 swig_obj
[0] = args
;
14279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14283 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14303 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
= 0;
14305 wxString
*arg1
= 0 ;
14306 bool temp1
= false ;
14307 PyObject
* obj0
= 0 ;
14308 char * kwnames
[] = {
14309 (char *) "prefix", NULL
14312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14314 arg1
= wxString_in_helper(obj0
);
14315 if (arg1
== NULL
) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_Py_Void();
14339 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
= 0;
14341 wxLocale
*arg1
= (wxLocale
*) 0 ;
14342 wxString
*arg2
= 0 ;
14346 bool temp2
= false ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "self",(char *) "szDomain", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14358 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14360 arg2
= wxString_in_helper(obj1
);
14361 if (arg2
== NULL
) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14367 wxPyEndAllowThreads(__tstate
);
14368 if (PyErr_Occurred()) SWIG_fail
;
14371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14387 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
= 0;
14389 wxLocale
*arg1
= (wxLocale
*) 0 ;
14390 wxString
*arg2
= 0 ;
14394 bool temp2
= false ;
14395 PyObject
* obj0
= 0 ;
14396 PyObject
* obj1
= 0 ;
14397 char * kwnames
[] = {
14398 (char *) "self",(char *) "szDomain", NULL
14401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14403 if (!SWIG_IsOK(res1
)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14406 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14408 arg2
= wxString_in_helper(obj1
);
14409 if (arg2
== NULL
) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14435 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
= 0;
14438 wxLanguageInfo
*result
= 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char * kwnames
[] = {
14443 (char *) "lang", NULL
14446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14447 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14448 if (!SWIG_IsOK(ecode1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14451 arg1
= static_cast< int >(val1
);
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14465 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14471 PyObject
* obj0
= 0 ;
14472 char * kwnames
[] = {
14473 (char *) "lang", NULL
14476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14478 if (!SWIG_IsOK(ecode1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14481 arg1
= static_cast< int >(val1
);
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= wxLocale::GetLanguageName(arg1
);
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14501 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
= 0;
14503 wxString
*arg1
= 0 ;
14504 wxLanguageInfo
*result
= 0 ;
14505 bool temp1
= false ;
14506 PyObject
* obj0
= 0 ;
14507 char * kwnames
[] = {
14508 (char *) "locale", NULL
14511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14513 arg1
= wxString_in_helper(obj0
);
14514 if (arg1
== NULL
) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14538 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
= 0;
14540 wxLanguageInfo
*arg1
= 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char * kwnames
[] = {
14545 (char *) "info", NULL
14548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14549 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14550 if (!SWIG_IsOK(res1
)) {
14551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14556 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= SWIG_Py_Void();
14570 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
= 0;
14572 wxLocale
*arg1
= (wxLocale
*) 0 ;
14573 wxString
*arg2
= 0 ;
14574 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14575 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14579 bool temp2
= false ;
14580 bool temp3
= false ;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 PyObject
* obj2
= 0 ;
14584 char * kwnames
[] = {
14585 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14590 if (!SWIG_IsOK(res1
)) {
14591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14593 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14595 arg2
= wxString_in_helper(obj1
);
14596 if (arg2
== NULL
) SWIG_fail
;
14601 arg3
= wxString_in_helper(obj2
);
14602 if (arg3
== NULL
) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14641 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14642 PyObject
*resultobj
= 0;
14643 wxLocale
*arg1
= (wxLocale
*) 0 ;
14644 wxString
*result
= 0 ;
14647 PyObject
*swig_obj
[1] ;
14649 if (!args
) SWIG_fail
;
14650 swig_obj
[0] = args
;
14651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14655 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14660 result
= (wxString
*) &_result_ref
;
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14669 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14678 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14681 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14682 return SWIG_Py_Void();
14685 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14686 return SWIG_Python_InitShadowInstance(args
);
14689 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14690 PyObject
*resultobj
= 0;
14691 wxLocale
*result
= 0 ;
14693 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (wxLocale
*)wxGetLocale();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14707 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14708 PyObject
*resultobj
= 0;
14709 wxString
*arg1
= 0 ;
14711 bool temp1
= false ;
14713 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14715 arg1
= wxString_in_helper(swig_obj
[0]);
14716 if (arg1
== NULL
) SWIG_fail
;
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= wxGetTranslation((wxString
const &)*arg1
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14746 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14747 PyObject
*resultobj
= 0;
14748 wxString
*arg1
= 0 ;
14749 wxString
*arg2
= 0 ;
14752 bool temp1
= false ;
14753 bool temp2
= false ;
14757 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14759 arg1
= wxString_in_helper(swig_obj
[0]);
14760 if (arg1
== NULL
) SWIG_fail
;
14764 arg2
= wxString_in_helper(swig_obj
[1]);
14765 if (arg2
== NULL
) SWIG_fail
;
14768 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14769 if (!SWIG_IsOK(ecode3
)) {
14770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14772 arg3
= static_cast< size_t >(val3
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14783 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14808 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14812 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14815 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14818 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14822 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14827 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14828 PyObject
*resultobj
= 0;
14829 wxEncodingConverter
*result
= 0 ;
14831 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14845 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14846 PyObject
*resultobj
= 0;
14847 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14858 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= SWIG_Py_Void();
14873 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
= 0;
14875 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14876 wxFontEncoding arg2
;
14877 wxFontEncoding arg3
;
14878 int arg4
= (int) wxCONVERT_STRICT
;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 PyObject
* obj2
= 0 ;
14891 PyObject
* obj3
= 0 ;
14892 char * kwnames
[] = {
14893 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14898 if (!SWIG_IsOK(res1
)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14901 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14903 if (!SWIG_IsOK(ecode2
)) {
14904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14906 arg2
= static_cast< wxFontEncoding
>(val2
);
14907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14908 if (!SWIG_IsOK(ecode3
)) {
14909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14911 arg3
= static_cast< wxFontEncoding
>(val3
);
14913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14914 if (!SWIG_IsOK(ecode4
)) {
14915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14917 arg4
= static_cast< int >(val4
);
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
= 0;
14936 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14937 wxString
*arg2
= 0 ;
14941 bool temp2
= false ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char * kwnames
[] = {
14945 (char *) "self",(char *) "input", NULL
14948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14953 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14955 arg2
= wxString_in_helper(obj1
);
14956 if (arg2
== NULL
) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14986 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
= 0;
14988 wxFontEncoding arg1
;
14989 int arg2
= (int) wxPLATFORM_CURRENT
;
14990 wxFontEncodingArray result
;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char * kwnames
[] = {
14998 (char *) "enc",(char *) "platform", NULL
15001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15003 if (!SWIG_IsOK(ecode1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15006 arg1
= static_cast< wxFontEncoding
>(val1
);
15008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15009 if (!SWIG_IsOK(ecode2
)) {
15010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
15012 arg2
= static_cast< int >(val2
);
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= PyList_New(0);
15022 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15023 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15024 PyList_Append(resultobj
, number
);
15034 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
= 0;
15036 wxFontEncoding arg1
;
15037 wxFontEncodingArray result
;
15040 PyObject
* obj0
= 0 ;
15041 char * kwnames
[] = {
15042 (char *) "enc", NULL
15045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15047 if (!SWIG_IsOK(ecode1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15050 arg1
= static_cast< wxFontEncoding
>(val1
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= PyList_New(0);
15059 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15060 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15061 PyList_Append(resultobj
, number
);
15071 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxFontEncoding arg1
;
15074 wxFontEncoding arg2
;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "encIn",(char *) "encOut", NULL
15086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15088 if (!SWIG_IsOK(ecode1
)) {
15089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15091 arg1
= static_cast< wxFontEncoding
>(val1
);
15092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15093 if (!SWIG_IsOK(ecode2
)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15096 arg2
= static_cast< wxFontEncoding
>(val2
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15112 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15115 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15116 return SWIG_Py_Void();
15119 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15120 return SWIG_Python_InitShadowInstance(args
);
15123 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15124 PyObject
*resultobj
= 0;
15125 wxDC
*arg1
= (wxDC
*) 0 ;
15128 PyObject
*swig_obj
[1] ;
15130 if (!args
) SWIG_fail
;
15131 swig_obj
[0] = args
;
15132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_Py_Void();
15151 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
= 0;
15153 wxDC
*arg1
= (wxDC
*) 0 ;
15156 wxColour
*arg4
= 0 ;
15157 int arg5
= (int) wxFLOOD_SURFACE
;
15168 PyObject
* obj0
= 0 ;
15169 PyObject
* obj1
= 0 ;
15170 PyObject
* obj2
= 0 ;
15171 PyObject
* obj3
= 0 ;
15172 PyObject
* obj4
= 0 ;
15173 char * kwnames
[] = {
15174 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15179 if (!SWIG_IsOK(res1
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15184 if (!SWIG_IsOK(ecode2
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15187 arg2
= static_cast< int >(val2
);
15188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15189 if (!SWIG_IsOK(ecode3
)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15192 arg3
= static_cast< int >(val3
);
15195 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15199 if (!SWIG_IsOK(ecode5
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15202 arg5
= static_cast< int >(val5
);
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
= 0;
15221 wxDC
*arg1
= (wxDC
*) 0 ;
15222 wxPoint
*arg2
= 0 ;
15223 wxColour
*arg3
= 0 ;
15224 int arg4
= (int) wxFLOOD_SURFACE
;
15232 PyObject
* obj0
= 0 ;
15233 PyObject
* obj1
= 0 ;
15234 PyObject
* obj2
= 0 ;
15235 PyObject
* obj3
= 0 ;
15236 char * kwnames
[] = {
15237 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15242 if (!SWIG_IsOK(res1
)) {
15243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15252 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15256 if (!SWIG_IsOK(ecode4
)) {
15257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15259 arg4
= static_cast< int >(val4
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
= 0;
15278 wxDC
*arg1
= (wxDC
*) 0 ;
15280 wxColour
*arg3
= 0 ;
15281 wxColour
*arg4
= 0 ;
15282 wxPoint
*arg5
= 0 ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 PyObject
* obj2
= 0 ;
15292 PyObject
* obj3
= 0 ;
15293 PyObject
* obj4
= 0 ;
15294 char * kwnames
[] = {
15295 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15310 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15314 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15318 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= SWIG_Py_Void();
15333 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= 0;
15335 wxDC
*arg1
= (wxDC
*) 0 ;
15337 wxColour
*arg3
= 0 ;
15338 wxColour
*arg4
= 0 ;
15339 wxDirection arg5
= (wxDirection
) wxEAST
;
15347 PyObject
* obj0
= 0 ;
15348 PyObject
* obj1
= 0 ;
15349 PyObject
* obj2
= 0 ;
15350 PyObject
* obj3
= 0 ;
15351 PyObject
* obj4
= 0 ;
15352 char * kwnames
[] = {
15353 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15358 if (!SWIG_IsOK(res1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15364 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15368 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15372 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15376 if (!SWIG_IsOK(ecode5
)) {
15377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15379 arg5
= static_cast< wxDirection
>(val5
);
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= SWIG_Py_Void();
15394 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxDC
*arg1
= (wxDC
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 PyObject
* obj2
= 0 ;
15409 char * kwnames
[] = {
15410 (char *) "self",(char *) "x",(char *) "y", NULL
15413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15420 if (!SWIG_IsOK(ecode2
)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15423 arg2
= static_cast< int >(val2
);
15424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15425 if (!SWIG_IsOK(ecode3
)) {
15426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15428 arg3
= static_cast< int >(val3
);
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15442 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= 0;
15444 wxDC
*arg1
= (wxDC
*) 0 ;
15445 wxPoint
*arg2
= 0 ;
15450 PyObject
* obj0
= 0 ;
15451 PyObject
* obj1
= 0 ;
15452 char * kwnames
[] = {
15453 (char *) "self",(char *) "pt", NULL
15456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15479 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
= 0;
15481 wxDC
*arg1
= (wxDC
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 PyObject
* obj2
= 0 ;
15499 PyObject
* obj3
= 0 ;
15500 PyObject
* obj4
= 0 ;
15501 char * kwnames
[] = {
15502 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15507 if (!SWIG_IsOK(res1
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15512 if (!SWIG_IsOK(ecode2
)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15515 arg2
= static_cast< int >(val2
);
15516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15517 if (!SWIG_IsOK(ecode3
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15520 arg3
= static_cast< int >(val3
);
15521 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15522 if (!SWIG_IsOK(ecode4
)) {
15523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15525 arg4
= static_cast< int >(val4
);
15526 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15527 if (!SWIG_IsOK(ecode5
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15530 arg5
= static_cast< int >(val5
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_Py_Void();
15544 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
= 0;
15546 wxDC
*arg1
= (wxDC
*) 0 ;
15547 wxPoint
*arg2
= 0 ;
15548 wxPoint
*arg3
= 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 PyObject
* obj2
= 0 ;
15556 char * kwnames
[] = {
15557 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15562 if (!SWIG_IsOK(res1
)) {
15563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= SWIG_Py_Void();
15587 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
= 0;
15589 wxDC
*arg1
= (wxDC
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 PyObject
* obj2
= 0 ;
15601 char * kwnames
[] = {
15602 (char *) "self",(char *) "x",(char *) "y", NULL
15605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15612 if (!SWIG_IsOK(ecode2
)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15615 arg2
= static_cast< int >(val2
);
15616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15617 if (!SWIG_IsOK(ecode3
)) {
15618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15620 arg3
= static_cast< int >(val3
);
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 (arg1
)->CrossHair(arg2
,arg3
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_Py_Void();
15634 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
= 0;
15636 wxDC
*arg1
= (wxDC
*) 0 ;
15637 wxPoint
*arg2
= 0 ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 char * kwnames
[] = {
15644 (char *) "self",(char *) "pt", NULL
15647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15649 if (!SWIG_IsOK(res1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= SWIG_Py_Void();
15670 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
= 0;
15672 wxDC
*arg1
= (wxDC
*) 0 ;
15693 PyObject
* obj0
= 0 ;
15694 PyObject
* obj1
= 0 ;
15695 PyObject
* obj2
= 0 ;
15696 PyObject
* obj3
= 0 ;
15697 PyObject
* obj4
= 0 ;
15698 PyObject
* obj5
= 0 ;
15699 PyObject
* obj6
= 0 ;
15700 char * kwnames
[] = {
15701 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15706 if (!SWIG_IsOK(res1
)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15711 if (!SWIG_IsOK(ecode2
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15714 arg2
= static_cast< int >(val2
);
15715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15716 if (!SWIG_IsOK(ecode3
)) {
15717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15719 arg3
= static_cast< int >(val3
);
15720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15721 if (!SWIG_IsOK(ecode4
)) {
15722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15724 arg4
= static_cast< int >(val4
);
15725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15726 if (!SWIG_IsOK(ecode5
)) {
15727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15729 arg5
= static_cast< int >(val5
);
15730 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15731 if (!SWIG_IsOK(ecode6
)) {
15732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15734 arg6
= static_cast< int >(val6
);
15735 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15736 if (!SWIG_IsOK(ecode7
)) {
15737 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15739 arg7
= static_cast< int >(val7
);
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_Py_Void();
15753 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
= 0;
15755 wxDC
*arg1
= (wxDC
*) 0 ;
15756 wxPoint
*arg2
= 0 ;
15757 wxPoint
*arg3
= 0 ;
15758 wxPoint
*arg4
= 0 ;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 PyObject
* obj2
= 0 ;
15767 PyObject
* obj3
= 0 ;
15768 char * kwnames
[] = {
15769 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15784 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= SWIG_Py_Void();
15803 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
= 0;
15805 wxDC
*arg1
= (wxDC
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 PyObject
* obj2
= 0 ;
15823 PyObject
* obj3
= 0 ;
15824 PyObject
* obj4
= 0 ;
15825 char * kwnames
[] = {
15826 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15831 if (!SWIG_IsOK(res1
)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15836 if (!SWIG_IsOK(ecode2
)) {
15837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15839 arg2
= static_cast< int >(val2
);
15840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15841 if (!SWIG_IsOK(ecode3
)) {
15842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15844 arg3
= static_cast< int >(val3
);
15845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15846 if (!SWIG_IsOK(ecode4
)) {
15847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15849 arg4
= static_cast< int >(val4
);
15850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15851 if (!SWIG_IsOK(ecode5
)) {
15852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15854 arg5
= static_cast< int >(val5
);
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_Py_Void();
15868 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
= 0;
15870 wxDC
*arg1
= (wxDC
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 char * kwnames
[] = {
15878 (char *) "self",(char *) "rect", NULL
15881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15883 if (!SWIG_IsOK(res1
)) {
15884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15889 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_Py_Void();
15904 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
= 0;
15906 wxDC
*arg1
= (wxDC
*) 0 ;
15927 PyObject
* obj0
= 0 ;
15928 PyObject
* obj1
= 0 ;
15929 PyObject
* obj2
= 0 ;
15930 PyObject
* obj3
= 0 ;
15931 PyObject
* obj4
= 0 ;
15932 PyObject
* obj5
= 0 ;
15933 PyObject
* obj6
= 0 ;
15934 char * kwnames
[] = {
15935 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15940 if (!SWIG_IsOK(res1
)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15945 if (!SWIG_IsOK(ecode2
)) {
15946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15948 arg2
= static_cast< int >(val2
);
15949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15950 if (!SWIG_IsOK(ecode3
)) {
15951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15953 arg3
= static_cast< int >(val3
);
15954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15955 if (!SWIG_IsOK(ecode4
)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15958 arg4
= static_cast< int >(val4
);
15959 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15960 if (!SWIG_IsOK(ecode5
)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15963 arg5
= static_cast< int >(val5
);
15964 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15965 if (!SWIG_IsOK(ecode6
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15968 arg6
= static_cast< double >(val6
);
15969 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15970 if (!SWIG_IsOK(ecode7
)) {
15971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15973 arg7
= static_cast< double >(val7
);
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15977 wxPyEndAllowThreads(__tstate
);
15978 if (PyErr_Occurred()) SWIG_fail
;
15980 resultobj
= SWIG_Py_Void();
15987 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= 0;
15989 wxDC
*arg1
= (wxDC
*) 0 ;
15990 wxPoint
*arg2
= 0 ;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 PyObject
* obj2
= 0 ;
16005 PyObject
* obj3
= 0 ;
16006 PyObject
* obj4
= 0 ;
16007 char * kwnames
[] = {
16008 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
16011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16013 if (!SWIG_IsOK(res1
)) {
16014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16023 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16025 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16026 if (!SWIG_IsOK(ecode4
)) {
16027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16029 arg4
= static_cast< double >(val4
);
16030 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16031 if (!SWIG_IsOK(ecode5
)) {
16032 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16034 arg5
= static_cast< double >(val5
);
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_Py_Void();
16048 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= 0;
16050 wxDC
*arg1
= (wxDC
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 PyObject
* obj2
= 0 ;
16062 char * kwnames
[] = {
16063 (char *) "self",(char *) "x",(char *) "y", NULL
16066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16068 if (!SWIG_IsOK(res1
)) {
16069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16073 if (!SWIG_IsOK(ecode2
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16076 arg2
= static_cast< int >(val2
);
16077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16078 if (!SWIG_IsOK(ecode3
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16081 arg3
= static_cast< int >(val3
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 (arg1
)->DrawPoint(arg2
,arg3
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_Py_Void();
16095 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= 0;
16097 wxDC
*arg1
= (wxDC
*) 0 ;
16098 wxPoint
*arg2
= 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 char * kwnames
[] = {
16105 (char *) "self",(char *) "pt", NULL
16108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16110 if (!SWIG_IsOK(res1
)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16121 wxPyEndAllowThreads(__tstate
);
16122 if (PyErr_Occurred()) SWIG_fail
;
16124 resultobj
= SWIG_Py_Void();
16131 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
= 0;
16133 wxDC
*arg1
= (wxDC
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 PyObject
* obj3
= 0 ;
16152 PyObject
* obj4
= 0 ;
16153 char * kwnames
[] = {
16154 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16164 if (!SWIG_IsOK(ecode2
)) {
16165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16167 arg2
= static_cast< int >(val2
);
16168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16169 if (!SWIG_IsOK(ecode3
)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16172 arg3
= static_cast< int >(val3
);
16173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16174 if (!SWIG_IsOK(ecode4
)) {
16175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16177 arg4
= static_cast< int >(val4
);
16178 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16179 if (!SWIG_IsOK(ecode5
)) {
16180 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16182 arg5
= static_cast< int >(val5
);
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_Py_Void();
16196 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
= 0;
16198 wxDC
*arg1
= (wxDC
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 PyObject
* obj1
= 0 ;
16205 char * kwnames
[] = {
16206 (char *) "self",(char *) "rect", NULL
16209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16211 if (!SWIG_IsOK(res1
)) {
16212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= SWIG_Py_Void();
16232 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
= 0;
16234 wxDC
*arg1
= (wxDC
*) 0 ;
16235 wxPoint
*arg2
= 0 ;
16241 PyObject
* obj0
= 0 ;
16242 PyObject
* obj1
= 0 ;
16243 PyObject
* obj2
= 0 ;
16244 char * kwnames
[] = {
16245 (char *) "self",(char *) "pt",(char *) "sz", NULL
16248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16260 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= SWIG_Py_Void();
16275 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
= 0;
16277 wxDC
*arg1
= (wxDC
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 PyObject
* obj1
= 0 ;
16297 PyObject
* obj2
= 0 ;
16298 PyObject
* obj3
= 0 ;
16299 PyObject
* obj4
= 0 ;
16300 PyObject
* obj5
= 0 ;
16301 char * kwnames
[] = {
16302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16307 if (!SWIG_IsOK(res1
)) {
16308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16312 if (!SWIG_IsOK(ecode2
)) {
16313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16315 arg2
= static_cast< int >(val2
);
16316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16317 if (!SWIG_IsOK(ecode3
)) {
16318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16320 arg3
= static_cast< int >(val3
);
16321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16322 if (!SWIG_IsOK(ecode4
)) {
16323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16325 arg4
= static_cast< int >(val4
);
16326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16327 if (!SWIG_IsOK(ecode5
)) {
16328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16330 arg5
= static_cast< int >(val5
);
16331 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16332 if (!SWIG_IsOK(ecode6
)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16335 arg6
= static_cast< double >(val6
);
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 resultobj
= SWIG_Py_Void();
16349 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16350 PyObject
*resultobj
= 0;
16351 wxDC
*arg1
= (wxDC
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 PyObject
* obj1
= 0 ;
16361 PyObject
* obj2
= 0 ;
16362 char * kwnames
[] = {
16363 (char *) "self",(char *) "r",(char *) "radius", NULL
16366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16376 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16377 if (!SWIG_IsOK(ecode3
)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16380 arg3
= static_cast< double >(val3
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_Py_Void();
16394 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= 0;
16396 wxDC
*arg1
= (wxDC
*) 0 ;
16397 wxPoint
*arg2
= 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 PyObject
* obj2
= 0 ;
16409 PyObject
* obj3
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16426 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16428 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16429 if (!SWIG_IsOK(ecode4
)) {
16430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16432 arg4
= static_cast< double >(val4
);
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_Py_Void();
16446 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
= 0;
16448 wxDC
*arg1
= (wxDC
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 PyObject
* obj2
= 0 ;
16463 PyObject
* obj3
= 0 ;
16464 char * kwnames
[] = {
16465 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16475 if (!SWIG_IsOK(ecode2
)) {
16476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16478 arg2
= static_cast< int >(val2
);
16479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16480 if (!SWIG_IsOK(ecode3
)) {
16481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16483 arg3
= static_cast< int >(val3
);
16484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16485 if (!SWIG_IsOK(ecode4
)) {
16486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16488 arg4
= static_cast< int >(val4
);
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= SWIG_Py_Void();
16502 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
= 0;
16504 wxDC
*arg1
= (wxDC
*) 0 ;
16505 wxPoint
*arg2
= 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 PyObject
* obj2
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "self",(char *) "pt",(char *) "radius", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16530 if (!SWIG_IsOK(ecode3
)) {
16531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16533 arg3
= static_cast< int >(val3
);
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= SWIG_Py_Void();
16547 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
= 0;
16549 wxDC
*arg1
= (wxDC
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 PyObject
* obj1
= 0 ;
16566 PyObject
* obj2
= 0 ;
16567 PyObject
* obj3
= 0 ;
16568 PyObject
* obj4
= 0 ;
16569 char * kwnames
[] = {
16570 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16575 if (!SWIG_IsOK(res1
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16580 if (!SWIG_IsOK(ecode2
)) {
16581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16583 arg2
= static_cast< int >(val2
);
16584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16585 if (!SWIG_IsOK(ecode3
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16588 arg3
= static_cast< int >(val3
);
16589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16590 if (!SWIG_IsOK(ecode4
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16593 arg4
= static_cast< int >(val4
);
16594 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16595 if (!SWIG_IsOK(ecode5
)) {
16596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16598 arg5
= static_cast< int >(val5
);
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_Py_Void();
16612 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
= 0;
16614 wxDC
*arg1
= (wxDC
*) 0 ;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char * kwnames
[] = {
16622 (char *) "self",(char *) "rect", NULL
16625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16627 if (!SWIG_IsOK(res1
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_Py_Void();
16648 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxDC
*arg1
= (wxDC
*) 0 ;
16651 wxPoint
*arg2
= 0 ;
16657 PyObject
* obj0
= 0 ;
16658 PyObject
* obj1
= 0 ;
16659 PyObject
* obj2
= 0 ;
16660 char * kwnames
[] = {
16661 (char *) "self",(char *) "pt",(char *) "sz", NULL
16664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16666 if (!SWIG_IsOK(res1
)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16676 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 resultobj
= SWIG_Py_Void();
16691 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
= 0;
16693 wxDC
*arg1
= (wxDC
*) 0 ;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 PyObject
* obj2
= 0 ;
16708 PyObject
* obj3
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16720 if (!SWIG_IsOK(res2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16726 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16728 if (!SWIG_IsOK(ecode3
)) {
16729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16731 arg3
= static_cast< int >(val3
);
16732 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16733 if (!SWIG_IsOK(ecode4
)) {
16734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16736 arg4
= static_cast< int >(val4
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_Py_Void();
16750 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= 0;
16752 wxDC
*arg1
= (wxDC
*) 0 ;
16754 wxPoint
*arg3
= 0 ;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 PyObject
* obj2
= 0 ;
16763 char * kwnames
[] = {
16764 (char *) "self",(char *) "icon",(char *) "pt", NULL
16767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16769 if (!SWIG_IsOK(res1
)) {
16770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16774 if (!SWIG_IsOK(res2
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16780 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16783 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_Py_Void();
16798 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
= 0;
16800 wxDC
*arg1
= (wxDC
*) 0 ;
16801 wxBitmap
*arg2
= 0 ;
16804 bool arg5
= (bool) false ;
16815 PyObject
* obj0
= 0 ;
16816 PyObject
* obj1
= 0 ;
16817 PyObject
* obj2
= 0 ;
16818 PyObject
* obj3
= 0 ;
16819 PyObject
* obj4
= 0 ;
16820 char * kwnames
[] = {
16821 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16831 if (!SWIG_IsOK(res2
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16837 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16839 if (!SWIG_IsOK(ecode3
)) {
16840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16842 arg3
= static_cast< int >(val3
);
16843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16844 if (!SWIG_IsOK(ecode4
)) {
16845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16847 arg4
= static_cast< int >(val4
);
16849 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16850 if (!SWIG_IsOK(ecode5
)) {
16851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16853 arg5
= static_cast< bool >(val5
);
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= SWIG_Py_Void();
16868 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
= 0;
16870 wxDC
*arg1
= (wxDC
*) 0 ;
16871 wxBitmap
*arg2
= 0 ;
16872 wxPoint
*arg3
= 0 ;
16873 bool arg4
= (bool) false ;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 PyObject
* obj2
= 0 ;
16884 PyObject
* obj3
= 0 ;
16885 char * kwnames
[] = {
16886 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16896 if (!SWIG_IsOK(res2
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16902 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16908 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16909 if (!SWIG_IsOK(ecode4
)) {
16910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16912 arg4
= static_cast< bool >(val4
);
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_Py_Void();
16927 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
= 0;
16929 wxDC
*arg1
= (wxDC
*) 0 ;
16930 wxString
*arg2
= 0 ;
16935 bool temp2
= false ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 PyObject
* obj2
= 0 ;
16943 PyObject
* obj3
= 0 ;
16944 char * kwnames
[] = {
16945 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16950 if (!SWIG_IsOK(res1
)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16955 arg2
= wxString_in_helper(obj1
);
16956 if (arg2
== NULL
) SWIG_fail
;
16959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16960 if (!SWIG_IsOK(ecode3
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16963 arg3
= static_cast< int >(val3
);
16964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16965 if (!SWIG_IsOK(ecode4
)) {
16966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16968 arg4
= static_cast< int >(val4
);
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= SWIG_Py_Void();
16990 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
= 0;
16992 wxDC
*arg1
= (wxDC
*) 0 ;
16993 wxString
*arg2
= 0 ;
16994 wxPoint
*arg3
= 0 ;
16997 bool temp2
= false ;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 PyObject
* obj2
= 0 ;
17002 char * kwnames
[] = {
17003 (char *) "self",(char *) "text",(char *) "pt", NULL
17006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17008 if (!SWIG_IsOK(res1
)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17013 arg2
= wxString_in_helper(obj1
);
17014 if (arg2
== NULL
) SWIG_fail
;
17019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17024 wxPyEndAllowThreads(__tstate
);
17025 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= SWIG_Py_Void();
17042 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
= 0;
17044 wxDC
*arg1
= (wxDC
*) 0 ;
17045 wxString
*arg2
= 0 ;
17051 bool temp2
= false ;
17058 PyObject
* obj0
= 0 ;
17059 PyObject
* obj1
= 0 ;
17060 PyObject
* obj2
= 0 ;
17061 PyObject
* obj3
= 0 ;
17062 PyObject
* obj4
= 0 ;
17063 char * kwnames
[] = {
17064 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17069 if (!SWIG_IsOK(res1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17074 arg2
= wxString_in_helper(obj1
);
17075 if (arg2
== NULL
) SWIG_fail
;
17078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17079 if (!SWIG_IsOK(ecode3
)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17082 arg3
= static_cast< int >(val3
);
17083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17084 if (!SWIG_IsOK(ecode4
)) {
17085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17087 arg4
= static_cast< int >(val4
);
17088 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17089 if (!SWIG_IsOK(ecode5
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17092 arg5
= static_cast< double >(val5
);
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= SWIG_Py_Void();
17114 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxDC
*arg1
= (wxDC
*) 0 ;
17117 wxString
*arg2
= 0 ;
17118 wxPoint
*arg3
= 0 ;
17122 bool temp2
= false ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 PyObject
* obj2
= 0 ;
17129 PyObject
* obj3
= 0 ;
17130 char * kwnames
[] = {
17131 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17136 if (!SWIG_IsOK(res1
)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17141 arg2
= wxString_in_helper(obj1
);
17142 if (arg2
== NULL
) SWIG_fail
;
17147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17149 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17150 if (!SWIG_IsOK(ecode4
)) {
17151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17153 arg4
= static_cast< double >(val4
);
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= SWIG_Py_Void();
17175 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
= 0;
17177 wxDC
*arg1
= (wxDC
*) 0 ;
17182 wxDC
*arg6
= (wxDC
*) 0 ;
17185 int arg9
= (int) wxCOPY
;
17186 bool arg10
= (bool) false ;
17187 int arg11
= (int) -1 ;
17188 int arg12
= (int) -1 ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 PyObject
* obj2
= 0 ;
17217 PyObject
* obj3
= 0 ;
17218 PyObject
* obj4
= 0 ;
17219 PyObject
* obj5
= 0 ;
17220 PyObject
* obj6
= 0 ;
17221 PyObject
* obj7
= 0 ;
17222 PyObject
* obj8
= 0 ;
17223 PyObject
* obj9
= 0 ;
17224 PyObject
* obj10
= 0 ;
17225 PyObject
* obj11
= 0 ;
17226 char * kwnames
[] = {
17227 (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
17230 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
;
17231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17232 if (!SWIG_IsOK(res1
)) {
17233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17237 if (!SWIG_IsOK(ecode2
)) {
17238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17240 arg2
= static_cast< int >(val2
);
17241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17242 if (!SWIG_IsOK(ecode3
)) {
17243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17245 arg3
= static_cast< int >(val3
);
17246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17247 if (!SWIG_IsOK(ecode4
)) {
17248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17250 arg4
= static_cast< int >(val4
);
17251 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17252 if (!SWIG_IsOK(ecode5
)) {
17253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17255 arg5
= static_cast< int >(val5
);
17256 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17257 if (!SWIG_IsOK(res6
)) {
17258 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17260 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17261 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17262 if (!SWIG_IsOK(ecode7
)) {
17263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17265 arg7
= static_cast< int >(val7
);
17266 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17267 if (!SWIG_IsOK(ecode8
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17270 arg8
= static_cast< int >(val8
);
17272 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17273 if (!SWIG_IsOK(ecode9
)) {
17274 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17276 arg9
= static_cast< int >(val9
);
17279 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17280 if (!SWIG_IsOK(ecode10
)) {
17281 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17283 arg10
= static_cast< bool >(val10
);
17286 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17287 if (!SWIG_IsOK(ecode11
)) {
17288 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17290 arg11
= static_cast< int >(val11
);
17293 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17294 if (!SWIG_IsOK(ecode12
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17297 arg12
= static_cast< int >(val12
);
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17314 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
= 0;
17316 wxDC
*arg1
= (wxDC
*) 0 ;
17317 wxPoint
*arg2
= 0 ;
17319 wxDC
*arg4
= (wxDC
*) 0 ;
17320 wxPoint
*arg5
= 0 ;
17321 int arg6
= (int) wxCOPY
;
17322 bool arg7
= (bool) false ;
17323 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17324 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 PyObject
* obj2
= 0 ;
17341 PyObject
* obj3
= 0 ;
17342 PyObject
* obj4
= 0 ;
17343 PyObject
* obj5
= 0 ;
17344 PyObject
* obj6
= 0 ;
17345 PyObject
* obj7
= 0 ;
17346 char * kwnames
[] = {
17347 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17352 if (!SWIG_IsOK(res1
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17362 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17364 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17365 if (!SWIG_IsOK(res4
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17368 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17371 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17374 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17375 if (!SWIG_IsOK(ecode6
)) {
17376 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17378 arg6
= static_cast< int >(val6
);
17381 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17382 if (!SWIG_IsOK(ecode7
)) {
17383 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17385 arg7
= static_cast< bool >(val7
);
17390 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17408 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17409 PyObject
*resultobj
= 0;
17410 wxDC
*arg1
= (wxDC
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 PyObject
* obj2
= 0 ;
17428 PyObject
* obj3
= 0 ;
17429 PyObject
* obj4
= 0 ;
17430 char * kwnames
[] = {
17431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17436 if (!SWIG_IsOK(res1
)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17441 if (!SWIG_IsOK(ecode2
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17444 arg2
= static_cast< int >(val2
);
17445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17446 if (!SWIG_IsOK(ecode3
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17449 arg3
= static_cast< int >(val3
);
17450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17451 if (!SWIG_IsOK(ecode4
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17454 arg4
= static_cast< int >(val4
);
17455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17456 if (!SWIG_IsOK(ecode5
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17459 arg5
= static_cast< int >(val5
);
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_Py_Void();
17473 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxDC
*arg1
= (wxDC
*) 0 ;
17476 wxPoint
*arg2
= 0 ;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 PyObject
* obj2
= 0 ;
17485 char * kwnames
[] = {
17486 (char *) "self",(char *) "pt",(char *) "sz", NULL
17489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17491 if (!SWIG_IsOK(res1
)) {
17492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17501 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17506 wxPyEndAllowThreads(__tstate
);
17507 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= SWIG_Py_Void();
17516 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
= 0;
17518 wxDC
*arg1
= (wxDC
*) 0 ;
17519 wxRegion
*arg2
= 0 ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char * kwnames
[] = {
17527 (char *) "self",(char *) "region", NULL
17530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17532 if (!SWIG_IsOK(res1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17537 if (!SWIG_IsOK(res2
)) {
17538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17543 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 resultobj
= SWIG_Py_Void();
17557 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
= 0;
17559 wxDC
*arg1
= (wxDC
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 char * kwnames
[] = {
17567 (char *) "self",(char *) "rect", NULL
17570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17578 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_Py_Void();
17593 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= 0;
17595 wxDC
*arg1
= (wxDC
*) 0 ;
17597 wxPoint
*arg3
= (wxPoint
*) 0 ;
17598 int arg4
= (int) 0 ;
17599 int arg5
= (int) 0 ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 PyObject
* obj2
= 0 ;
17609 PyObject
* obj3
= 0 ;
17610 char * kwnames
[] = {
17611 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17621 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17622 if (arg3
== NULL
) SWIG_fail
;
17625 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17626 if (!SWIG_IsOK(ecode4
)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17629 arg4
= static_cast< int >(val4
);
17632 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17633 if (!SWIG_IsOK(ecode5
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17636 arg5
= static_cast< int >(val5
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_Py_Void();
17646 if (arg3
) delete [] arg3
;
17651 if (arg3
) delete [] arg3
;
17657 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= 0;
17659 wxDC
*arg1
= (wxDC
*) 0 ;
17661 wxPoint
*arg3
= (wxPoint
*) 0 ;
17662 int arg4
= (int) 0 ;
17663 int arg5
= (int) 0 ;
17664 int arg6
= (int) wxODDEVEN_RULE
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 PyObject
* obj2
= 0 ;
17676 PyObject
* obj3
= 0 ;
17677 PyObject
* obj4
= 0 ;
17678 char * kwnames
[] = {
17679 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17684 if (!SWIG_IsOK(res1
)) {
17685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17689 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17690 if (arg3
== NULL
) SWIG_fail
;
17693 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17694 if (!SWIG_IsOK(ecode4
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17697 arg4
= static_cast< int >(val4
);
17700 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17701 if (!SWIG_IsOK(ecode5
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17704 arg5
= static_cast< int >(val5
);
17707 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17708 if (!SWIG_IsOK(ecode6
)) {
17709 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17711 arg6
= static_cast< int >(val6
);
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_Py_Void();
17721 if (arg3
) delete [] arg3
;
17726 if (arg3
) delete [] arg3
;
17732 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
= 0;
17734 wxDC
*arg1
= (wxDC
*) 0 ;
17735 wxString
*arg2
= 0 ;
17737 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17738 int arg5
= (int) -1 ;
17741 bool temp2
= false ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 PyObject
* obj2
= 0 ;
17750 PyObject
* obj3
= 0 ;
17751 PyObject
* obj4
= 0 ;
17752 char * kwnames
[] = {
17753 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17758 if (!SWIG_IsOK(res1
)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17763 arg2
= wxString_in_helper(obj1
);
17764 if (arg2
== NULL
) SWIG_fail
;
17769 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17772 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17773 if (!SWIG_IsOK(ecode4
)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17776 arg4
= static_cast< int >(val4
);
17779 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17780 if (!SWIG_IsOK(ecode5
)) {
17781 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17783 arg5
= static_cast< int >(val5
);
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17787 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= SWIG_Py_Void();
17806 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
= 0;
17808 wxDC
*arg1
= (wxDC
*) 0 ;
17809 wxString
*arg2
= 0 ;
17810 wxBitmap
*arg3
= 0 ;
17812 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17813 int arg6
= (int) -1 ;
17817 bool temp2
= false ;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 PyObject
* obj2
= 0 ;
17828 PyObject
* obj3
= 0 ;
17829 PyObject
* obj4
= 0 ;
17830 PyObject
* obj5
= 0 ;
17831 char * kwnames
[] = {
17832 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17837 if (!SWIG_IsOK(res1
)) {
17838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17842 arg2
= wxString_in_helper(obj1
);
17843 if (arg2
== NULL
) SWIG_fail
;
17846 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17847 if (!SWIG_IsOK(res3
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17853 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17856 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17859 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17860 if (!SWIG_IsOK(ecode5
)) {
17861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17863 arg5
= static_cast< int >(val5
);
17866 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17867 if (!SWIG_IsOK(ecode6
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17870 arg6
= static_cast< int >(val6
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17893 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
= 0;
17895 wxDC
*arg1
= (wxDC
*) 0 ;
17897 wxPoint
*arg3
= (wxPoint
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char * kwnames
[] = {
17903 (char *) "self",(char *) "points", NULL
17906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17908 if (!SWIG_IsOK(res1
)) {
17909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17913 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17914 if (arg3
== NULL
) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 (arg1
)->DrawSpline(arg2
,arg3
);
17919 wxPyEndAllowThreads(__tstate
);
17920 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= SWIG_Py_Void();
17924 if (arg3
) delete [] arg3
;
17929 if (arg3
) delete [] arg3
;
17935 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17936 PyObject
*resultobj
= 0;
17937 wxDC
*arg1
= (wxDC
*) 0 ;
17940 PyObject
*swig_obj
[1] ;
17942 if (!args
) SWIG_fail
;
17943 swig_obj
[0] = args
;
17944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17945 if (!SWIG_IsOK(res1
)) {
17946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= SWIG_Py_Void();
17962 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
= 0;
17964 wxDC
*arg1
= (wxDC
*) 0 ;
17965 wxString
*arg2
= 0 ;
17969 bool temp2
= false ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 char * kwnames
[] = {
17973 (char *) "self",(char *) "message", NULL
17976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17978 if (!SWIG_IsOK(res1
)) {
17979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17983 arg2
= wxString_in_helper(obj1
);
17984 if (arg2
== NULL
) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18010 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18011 PyObject
*resultobj
= 0;
18012 wxDC
*arg1
= (wxDC
*) 0 ;
18015 PyObject
*swig_obj
[1] ;
18017 if (!args
) SWIG_fail
;
18018 swig_obj
[0] = args
;
18019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18020 if (!SWIG_IsOK(res1
)) {
18021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 wxPyEndAllowThreads(__tstate
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= SWIG_Py_Void();
18037 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18038 PyObject
*resultobj
= 0;
18039 wxDC
*arg1
= (wxDC
*) 0 ;
18042 PyObject
*swig_obj
[1] ;
18044 if (!args
) SWIG_fail
;
18045 swig_obj
[0] = args
;
18046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->StartPage();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_Py_Void();
18064 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18065 PyObject
*resultobj
= 0;
18066 wxDC
*arg1
= (wxDC
*) 0 ;
18069 PyObject
*swig_obj
[1] ;
18071 if (!args
) SWIG_fail
;
18072 swig_obj
[0] = args
;
18073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_Py_Void();
18091 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
= 0;
18093 wxDC
*arg1
= (wxDC
*) 0 ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "self",(char *) "font", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18107 if (!SWIG_IsOK(res1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18112 if (!SWIG_IsOK(res2
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18118 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 (arg1
)->SetFont((wxFont
const &)*arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_Py_Void();
18132 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
= 0;
18134 wxDC
*arg1
= (wxDC
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "self",(char *) "pen", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18153 if (!SWIG_IsOK(res2
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18159 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18162 (arg1
)->SetPen((wxPen
const &)*arg2
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_Py_Void();
18173 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
= 0;
18175 wxDC
*arg1
= (wxDC
*) 0 ;
18176 wxBrush
*arg2
= 0 ;
18181 PyObject
* obj0
= 0 ;
18182 PyObject
* obj1
= 0 ;
18183 char * kwnames
[] = {
18184 (char *) "self",(char *) "brush", NULL
18187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18189 if (!SWIG_IsOK(res1
)) {
18190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18194 if (!SWIG_IsOK(res2
)) {
18195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18200 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_Py_Void();
18214 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
= 0;
18216 wxDC
*arg1
= (wxDC
*) 0 ;
18217 wxBrush
*arg2
= 0 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 char * kwnames
[] = {
18225 (char *) "self",(char *) "brush", NULL
18228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18235 if (!SWIG_IsOK(res2
)) {
18236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18241 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
= 0;
18257 wxDC
*arg1
= (wxDC
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 char * kwnames
[] = {
18266 (char *) "self",(char *) "mode", NULL
18269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18271 if (!SWIG_IsOK(res1
)) {
18272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18276 if (!SWIG_IsOK(ecode2
)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18279 arg2
= static_cast< int >(val2
);
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->SetBackgroundMode(arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_Py_Void();
18293 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= 0;
18295 wxDC
*arg1
= (wxDC
*) 0 ;
18296 wxPalette
*arg2
= 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char * kwnames
[] = {
18304 (char *) "self",(char *) "palette", NULL
18307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18314 if (!SWIG_IsOK(res2
)) {
18315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18320 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_Py_Void();
18334 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18335 PyObject
*resultobj
= 0;
18336 wxDC
*arg1
= (wxDC
*) 0 ;
18339 PyObject
*swig_obj
[1] ;
18341 if (!args
) SWIG_fail
;
18342 swig_obj
[0] = args
;
18343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18344 if (!SWIG_IsOK(res1
)) {
18345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->DestroyClippingRegion();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_Py_Void();
18361 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18362 PyObject
*resultobj
= 0;
18363 wxDC
*arg1
= (wxDC
*) 0 ;
18364 int *arg2
= (int *) 0 ;
18365 int *arg3
= (int *) 0 ;
18366 int *arg4
= (int *) 0 ;
18367 int *arg5
= (int *) 0 ;
18371 int res2
= SWIG_TMPOBJ
;
18373 int res3
= SWIG_TMPOBJ
;
18375 int res4
= SWIG_TMPOBJ
;
18377 int res5
= SWIG_TMPOBJ
;
18378 PyObject
*swig_obj
[1] ;
18384 if (!args
) SWIG_fail
;
18385 swig_obj
[0] = args
;
18386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18387 if (!SWIG_IsOK(res1
)) {
18388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_Py_Void();
18398 if (SWIG_IsTmpObj(res2
)) {
18399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18404 if (SWIG_IsTmpObj(res3
)) {
18405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18410 if (SWIG_IsTmpObj(res4
)) {
18411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18413 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18416 if (SWIG_IsTmpObj(res5
)) {
18417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18419 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18428 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18429 PyObject
*resultobj
= 0;
18430 wxDC
*arg1
= (wxDC
*) 0 ;
18434 PyObject
*swig_obj
[1] ;
18436 if (!args
) SWIG_fail
;
18437 swig_obj
[0] = args
;
18438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= wxDC_GetClippingRect(arg1
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18456 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18457 PyObject
*resultobj
= 0;
18458 wxDC
*arg1
= (wxDC
*) 0 ;
18462 PyObject
*swig_obj
[1] ;
18464 if (!args
) SWIG_fail
;
18465 swig_obj
[0] = args
;
18466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18467 if (!SWIG_IsOK(res1
)) {
18468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_From_int(static_cast< int >(result
));
18484 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18485 PyObject
*resultobj
= 0;
18486 wxDC
*arg1
= (wxDC
*) 0 ;
18490 PyObject
*swig_obj
[1] ;
18492 if (!args
) SWIG_fail
;
18493 swig_obj
[0] = args
;
18494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_From_int(static_cast< int >(result
));
18512 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
= 0;
18514 wxDC
*arg1
= (wxDC
*) 0 ;
18515 wxString
*arg2
= 0 ;
18516 int *arg3
= (int *) 0 ;
18517 int *arg4
= (int *) 0 ;
18520 bool temp2
= false ;
18522 int res3
= SWIG_TMPOBJ
;
18524 int res4
= SWIG_TMPOBJ
;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char * kwnames
[] = {
18528 (char *) "self",(char *) "string", NULL
18533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18540 arg2
= wxString_in_helper(obj1
);
18541 if (arg2
== NULL
) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_Py_Void();
18551 if (SWIG_IsTmpObj(res3
)) {
18552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18554 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18557 if (SWIG_IsTmpObj(res4
)) {
18558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18560 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18577 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
= 0;
18579 wxDC
*arg1
= (wxDC
*) 0 ;
18580 wxString
*arg2
= 0 ;
18581 int *arg3
= (int *) 0 ;
18582 int *arg4
= (int *) 0 ;
18583 int *arg5
= (int *) 0 ;
18584 int *arg6
= (int *) 0 ;
18585 wxFont
*arg7
= (wxFont
*) NULL
;
18588 bool temp2
= false ;
18590 int res3
= SWIG_TMPOBJ
;
18592 int res4
= SWIG_TMPOBJ
;
18594 int res5
= SWIG_TMPOBJ
;
18596 int res6
= SWIG_TMPOBJ
;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "string",(char *) "font", NULL
18610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18612 if (!SWIG_IsOK(res1
)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18617 arg2
= wxString_in_helper(obj1
);
18618 if (arg2
== NULL
) SWIG_fail
;
18622 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18623 if (!SWIG_IsOK(res7
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18626 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18634 resultobj
= SWIG_Py_Void();
18635 if (SWIG_IsTmpObj(res3
)) {
18636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18638 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18641 if (SWIG_IsTmpObj(res4
)) {
18642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18644 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18647 if (SWIG_IsTmpObj(res5
)) {
18648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18650 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18653 if (SWIG_IsTmpObj(res6
)) {
18654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18656 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18673 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
= 0;
18675 wxDC
*arg1
= (wxDC
*) 0 ;
18676 wxString
*arg2
= 0 ;
18677 int *arg3
= (int *) 0 ;
18678 int *arg4
= (int *) 0 ;
18679 int *arg5
= (int *) 0 ;
18680 wxFont
*arg6
= (wxFont
*) NULL
;
18683 bool temp2
= false ;
18685 int res3
= SWIG_TMPOBJ
;
18687 int res4
= SWIG_TMPOBJ
;
18689 int res5
= SWIG_TMPOBJ
;
18692 PyObject
* obj0
= 0 ;
18693 PyObject
* obj1
= 0 ;
18694 PyObject
* obj2
= 0 ;
18695 char * kwnames
[] = {
18696 (char *) "self",(char *) "text",(char *) "font", NULL
18702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18704 if (!SWIG_IsOK(res1
)) {
18705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18709 arg2
= wxString_in_helper(obj1
);
18710 if (arg2
== NULL
) SWIG_fail
;
18714 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18715 if (!SWIG_IsOK(res6
)) {
18716 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18718 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_Py_Void();
18727 if (SWIG_IsTmpObj(res3
)) {
18728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18730 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18733 if (SWIG_IsTmpObj(res4
)) {
18734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18736 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18739 if (SWIG_IsTmpObj(res5
)) {
18740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18742 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18759 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
= 0;
18761 wxDC
*arg1
= (wxDC
*) 0 ;
18762 wxString
*arg2
= 0 ;
18766 bool temp2
= false ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char * kwnames
[] = {
18770 (char *) "self",(char *) "text", NULL
18773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18775 if (!SWIG_IsOK(res1
)) {
18776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18780 arg2
= wxString_in_helper(obj1
);
18781 if (arg2
== NULL
) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= PyList_New(0);
18793 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18794 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18795 PyList_Append(resultobj
, val
);
18813 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18814 PyObject
*resultobj
= 0;
18815 wxDC
*arg1
= (wxDC
*) 0 ;
18819 PyObject
*swig_obj
[1] ;
18821 if (!args
) SWIG_fail
;
18822 swig_obj
[0] = args
;
18823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18824 if (!SWIG_IsOK(res1
)) {
18825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 result
= (arg1
)->GetSize();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18841 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18842 PyObject
*resultobj
= 0;
18843 wxDC
*arg1
= (wxDC
*) 0 ;
18844 int *arg2
= (int *) 0 ;
18845 int *arg3
= (int *) 0 ;
18849 int res2
= SWIG_TMPOBJ
;
18851 int res3
= SWIG_TMPOBJ
;
18852 PyObject
*swig_obj
[1] ;
18856 if (!args
) SWIG_fail
;
18857 swig_obj
[0] = args
;
18858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18859 if (!SWIG_IsOK(res1
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->GetSize(arg2
,arg3
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_Py_Void();
18870 if (SWIG_IsTmpObj(res2
)) {
18871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18873 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18876 if (SWIG_IsTmpObj(res3
)) {
18877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18879 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18888 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18889 PyObject
*resultobj
= 0;
18890 wxDC
*arg1
= (wxDC
*) 0 ;
18894 PyObject
*swig_obj
[1] ;
18896 if (!args
) SWIG_fail
;
18897 swig_obj
[0] = args
;
18898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18916 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18917 PyObject
*resultobj
= 0;
18918 wxDC
*arg1
= (wxDC
*) 0 ;
18919 int *arg2
= (int *) 0 ;
18920 int *arg3
= (int *) 0 ;
18924 int res2
= SWIG_TMPOBJ
;
18926 int res3
= SWIG_TMPOBJ
;
18927 PyObject
*swig_obj
[1] ;
18931 if (!args
) SWIG_fail
;
18932 swig_obj
[0] = args
;
18933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18934 if (!SWIG_IsOK(res1
)) {
18935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= SWIG_Py_Void();
18945 if (SWIG_IsTmpObj(res2
)) {
18946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18948 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18951 if (SWIG_IsTmpObj(res3
)) {
18952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18954 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18963 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
= 0;
18965 wxDC
*arg1
= (wxDC
*) 0 ;
18972 PyObject
* obj0
= 0 ;
18973 PyObject
* obj1
= 0 ;
18974 char * kwnames
[] = {
18975 (char *) "self",(char *) "x", NULL
18978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18980 if (!SWIG_IsOK(res1
)) {
18981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18985 if (!SWIG_IsOK(ecode2
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18988 arg2
= static_cast< int >(val2
);
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= SWIG_From_int(static_cast< int >(result
));
19002 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
= 0;
19004 wxDC
*arg1
= (wxDC
*) 0 ;
19011 PyObject
* obj0
= 0 ;
19012 PyObject
* obj1
= 0 ;
19013 char * kwnames
[] = {
19014 (char *) "self",(char *) "y", NULL
19017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19019 if (!SWIG_IsOK(res1
)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19024 if (!SWIG_IsOK(ecode2
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19027 arg2
= static_cast< int >(val2
);
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_From_int(static_cast< int >(result
));
19041 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
= 0;
19043 wxDC
*arg1
= (wxDC
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char * kwnames
[] = {
19053 (char *) "self",(char *) "x", NULL
19056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19058 if (!SWIG_IsOK(res1
)) {
19059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19063 if (!SWIG_IsOK(ecode2
)) {
19064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19066 arg2
= static_cast< int >(val2
);
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_From_int(static_cast< int >(result
));
19080 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
= 0;
19082 wxDC
*arg1
= (wxDC
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 char * kwnames
[] = {
19092 (char *) "self",(char *) "y", NULL
19095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19097 if (!SWIG_IsOK(res1
)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19102 if (!SWIG_IsOK(ecode2
)) {
19103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19105 arg2
= static_cast< int >(val2
);
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_From_int(static_cast< int >(result
));
19119 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
= 0;
19121 wxDC
*arg1
= (wxDC
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char * kwnames
[] = {
19131 (char *) "self",(char *) "x", NULL
19134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19136 if (!SWIG_IsOK(res1
)) {
19137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19141 if (!SWIG_IsOK(ecode2
)) {
19142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19144 arg2
= static_cast< int >(val2
);
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_From_int(static_cast< int >(result
));
19158 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19159 PyObject
*resultobj
= 0;
19160 wxDC
*arg1
= (wxDC
*) 0 ;
19167 PyObject
* obj0
= 0 ;
19168 PyObject
* obj1
= 0 ;
19169 char * kwnames
[] = {
19170 (char *) "self",(char *) "y", NULL
19173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19175 if (!SWIG_IsOK(res1
)) {
19176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19180 if (!SWIG_IsOK(ecode2
)) {
19181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19183 arg2
= static_cast< int >(val2
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_From_int(static_cast< int >(result
));
19197 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxDC
*arg1
= (wxDC
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "x", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19219 if (!SWIG_IsOK(ecode2
)) {
19220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19222 arg2
= static_cast< int >(val2
);
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= SWIG_From_int(static_cast< int >(result
));
19236 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
= 0;
19238 wxDC
*arg1
= (wxDC
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char * kwnames
[] = {
19248 (char *) "self",(char *) "y", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19258 if (!SWIG_IsOK(ecode2
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19261 arg2
= static_cast< int >(val2
);
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= SWIG_From_int(static_cast< int >(result
));
19275 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19276 PyObject
*resultobj
= 0;
19277 wxDC
*arg1
= (wxDC
*) 0 ;
19281 PyObject
*swig_obj
[1] ;
19283 if (!args
) SWIG_fail
;
19284 swig_obj
[0] = args
;
19285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19286 if (!SWIG_IsOK(res1
)) {
19287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19305 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19306 PyObject
*resultobj
= 0;
19307 wxDC
*arg1
= (wxDC
*) 0 ;
19311 PyObject
*swig_obj
[1] ;
19313 if (!args
) SWIG_fail
;
19314 swig_obj
[0] = args
;
19315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19335 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 PyObject
*resultobj
= 0;
19337 wxDC
*arg1
= (wxDC
*) 0 ;
19341 PyObject
*swig_obj
[1] ;
19343 if (!args
) SWIG_fail
;
19344 swig_obj
[0] = args
;
19345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_From_int(static_cast< int >(result
));
19363 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19364 PyObject
*resultobj
= 0;
19365 wxDC
*arg1
= (wxDC
*) 0 ;
19369 PyObject
*swig_obj
[1] ;
19371 if (!args
) SWIG_fail
;
19372 swig_obj
[0] = args
;
19373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19374 if (!SWIG_IsOK(res1
)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= ((wxDC
const *)arg1
)->GetPPI();
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19391 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19392 PyObject
*resultobj
= 0;
19393 wxDC
*arg1
= (wxDC
*) 0 ;
19397 PyObject
*swig_obj
[1] ;
19399 if (!args
) SWIG_fail
;
19400 swig_obj
[0] = args
;
19401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19402 if (!SWIG_IsOK(res1
)) {
19403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= (bool)((wxDC
const *)arg1
)->Ok();
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19421 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19422 PyObject
*resultobj
= 0;
19423 wxDC
*arg1
= (wxDC
*) 0 ;
19427 PyObject
*swig_obj
[1] ;
19429 if (!args
) SWIG_fail
;
19430 swig_obj
[0] = args
;
19431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19432 if (!SWIG_IsOK(res1
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= SWIG_From_int(static_cast< int >(result
));
19449 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19450 PyObject
*resultobj
= 0;
19451 wxDC
*arg1
= (wxDC
*) 0 ;
19452 wxBrush
*result
= 0 ;
19455 PyObject
*swig_obj
[1] ;
19457 if (!args
) SWIG_fail
;
19458 swig_obj
[0] = args
;
19459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19468 result
= (wxBrush
*) &_result_ref
;
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19474 wxBrush
* resultptr
= new wxBrush(*result
);
19475 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19483 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19484 PyObject
*resultobj
= 0;
19485 wxDC
*arg1
= (wxDC
*) 0 ;
19486 wxBrush
*result
= 0 ;
19489 PyObject
*swig_obj
[1] ;
19491 if (!args
) SWIG_fail
;
19492 swig_obj
[0] = args
;
19493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19502 result
= (wxBrush
*) &_result_ref
;
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19508 wxBrush
* resultptr
= new wxBrush(*result
);
19509 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19517 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19518 PyObject
*resultobj
= 0;
19519 wxDC
*arg1
= (wxDC
*) 0 ;
19520 wxFont
*result
= 0 ;
19523 PyObject
*swig_obj
[1] ;
19525 if (!args
) SWIG_fail
;
19526 swig_obj
[0] = args
;
19527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19536 result
= (wxFont
*) &_result_ref
;
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19542 wxFont
* resultptr
= new wxFont(*result
);
19543 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19551 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19552 PyObject
*resultobj
= 0;
19553 wxDC
*arg1
= (wxDC
*) 0 ;
19554 wxPen
*result
= 0 ;
19557 PyObject
*swig_obj
[1] ;
19559 if (!args
) SWIG_fail
;
19560 swig_obj
[0] = args
;
19561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19562 if (!SWIG_IsOK(res1
)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19570 result
= (wxPen
*) &_result_ref
;
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 wxPen
* resultptr
= new wxPen(*result
);
19577 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19585 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19586 PyObject
*resultobj
= 0;
19587 wxDC
*arg1
= (wxDC
*) 0 ;
19588 wxColour
*result
= 0 ;
19591 PyObject
*swig_obj
[1] ;
19593 if (!args
) SWIG_fail
;
19594 swig_obj
[0] = args
;
19595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19596 if (!SWIG_IsOK(res1
)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19604 result
= (wxColour
*) &_result_ref
;
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19616 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19617 PyObject
*resultobj
= 0;
19618 wxDC
*arg1
= (wxDC
*) 0 ;
19619 wxColour
*result
= 0 ;
19622 PyObject
*swig_obj
[1] ;
19624 if (!args
) SWIG_fail
;
19625 swig_obj
[0] = args
;
19626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19627 if (!SWIG_IsOK(res1
)) {
19628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19635 result
= (wxColour
*) &_result_ref
;
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19647 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
= 0;
19649 wxDC
*arg1
= (wxDC
*) 0 ;
19650 wxColour
*arg2
= 0 ;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char * kwnames
[] = {
19657 (char *) "self",(char *) "colour", NULL
19660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19668 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_Py_Void();
19683 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
= 0;
19685 wxDC
*arg1
= (wxDC
*) 0 ;
19686 wxColour
*arg2
= 0 ;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char * kwnames
[] = {
19693 (char *) "self",(char *) "colour", NULL
19696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19698 if (!SWIG_IsOK(res1
)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19704 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19708 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_Py_Void();
19719 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19720 PyObject
*resultobj
= 0;
19721 wxDC
*arg1
= (wxDC
*) 0 ;
19725 PyObject
*swig_obj
[1] ;
19727 if (!args
) SWIG_fail
;
19728 swig_obj
[0] = args
;
19729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19730 if (!SWIG_IsOK(res1
)) {
19731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19736 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 resultobj
= SWIG_From_int(static_cast< int >(result
));
19747 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= 0;
19749 wxDC
*arg1
= (wxDC
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "mode", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19768 if (!SWIG_IsOK(ecode2
)) {
19769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19771 arg2
= static_cast< int >(val2
);
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 (arg1
)->SetMapMode(arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_Py_Void();
19785 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19786 PyObject
*resultobj
= 0;
19787 wxDC
*arg1
= (wxDC
*) 0 ;
19788 double *arg2
= (double *) 0 ;
19789 double *arg3
= (double *) 0 ;
19793 int res2
= SWIG_TMPOBJ
;
19795 int res3
= SWIG_TMPOBJ
;
19796 PyObject
*swig_obj
[1] ;
19800 if (!args
) SWIG_fail
;
19801 swig_obj
[0] = args
;
19802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19803 if (!SWIG_IsOK(res1
)) {
19804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_Py_Void();
19814 if (SWIG_IsTmpObj(res2
)) {
19815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19817 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19820 if (SWIG_IsTmpObj(res3
)) {
19821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19823 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19832 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
= 0;
19834 wxDC
*arg1
= (wxDC
*) 0 ;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 PyObject
* obj2
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "x",(char *) "y", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19856 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19857 if (!SWIG_IsOK(ecode2
)) {
19858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19860 arg2
= static_cast< double >(val2
);
19861 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19862 if (!SWIG_IsOK(ecode3
)) {
19863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19865 arg3
= static_cast< double >(val3
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->SetUserScale(arg2
,arg3
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_Py_Void();
19879 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19880 PyObject
*resultobj
= 0;
19881 wxDC
*arg1
= (wxDC
*) 0 ;
19882 double *arg2
= (double *) 0 ;
19883 double *arg3
= (double *) 0 ;
19887 int res2
= SWIG_TMPOBJ
;
19889 int res3
= SWIG_TMPOBJ
;
19890 PyObject
*swig_obj
[1] ;
19894 if (!args
) SWIG_fail
;
19895 swig_obj
[0] = args
;
19896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19897 if (!SWIG_IsOK(res1
)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 (arg1
)->GetLogicalScale(arg2
,arg3
);
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_Py_Void();
19908 if (SWIG_IsTmpObj(res2
)) {
19909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19911 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19914 if (SWIG_IsTmpObj(res3
)) {
19915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19917 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19926 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
= 0;
19928 wxDC
*arg1
= (wxDC
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 PyObject
* obj2
= 0 ;
19940 char * kwnames
[] = {
19941 (char *) "self",(char *) "x",(char *) "y", NULL
19944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19946 if (!SWIG_IsOK(res1
)) {
19947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19950 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19951 if (!SWIG_IsOK(ecode2
)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19954 arg2
= static_cast< double >(val2
);
19955 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19956 if (!SWIG_IsOK(ecode3
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19959 arg3
= static_cast< double >(val3
);
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->SetLogicalScale(arg2
,arg3
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= SWIG_Py_Void();
19973 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19974 PyObject
*resultobj
= 0;
19975 wxDC
*arg1
= (wxDC
*) 0 ;
19979 PyObject
*swig_obj
[1] ;
19981 if (!args
) SWIG_fail
;
19982 swig_obj
[0] = args
;
19983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19984 if (!SWIG_IsOK(res1
)) {
19985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20001 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20002 PyObject
*resultobj
= 0;
20003 wxDC
*arg1
= (wxDC
*) 0 ;
20004 int *arg2
= (int *) 0 ;
20005 int *arg3
= (int *) 0 ;
20009 int res2
= SWIG_TMPOBJ
;
20011 int res3
= SWIG_TMPOBJ
;
20012 PyObject
*swig_obj
[1] ;
20016 if (!args
) SWIG_fail
;
20017 swig_obj
[0] = args
;
20018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20019 if (!SWIG_IsOK(res1
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_Py_Void();
20030 if (SWIG_IsTmpObj(res2
)) {
20031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20033 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20036 if (SWIG_IsTmpObj(res3
)) {
20037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20039 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20048 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
= 0;
20050 wxDC
*arg1
= (wxDC
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 PyObject
* obj2
= 0 ;
20062 char * kwnames
[] = {
20063 (char *) "self",(char *) "x",(char *) "y", NULL
20066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20068 if (!SWIG_IsOK(res1
)) {
20069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20073 if (!SWIG_IsOK(ecode2
)) {
20074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20076 arg2
= static_cast< int >(val2
);
20077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20078 if (!SWIG_IsOK(ecode3
)) {
20079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20081 arg3
= static_cast< int >(val3
);
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_Py_Void();
20095 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
= 0;
20097 wxDC
*arg1
= (wxDC
*) 0 ;
20098 wxPoint
*arg2
= 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "point", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_Py_Void();
20131 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20132 PyObject
*resultobj
= 0;
20133 wxDC
*arg1
= (wxDC
*) 0 ;
20137 PyObject
*swig_obj
[1] ;
20139 if (!args
) SWIG_fail
;
20140 swig_obj
[0] = args
;
20141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20142 if (!SWIG_IsOK(res1
)) {
20143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20159 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20160 PyObject
*resultobj
= 0;
20161 wxDC
*arg1
= (wxDC
*) 0 ;
20162 int *arg2
= (int *) 0 ;
20163 int *arg3
= (int *) 0 ;
20167 int res2
= SWIG_TMPOBJ
;
20169 int res3
= SWIG_TMPOBJ
;
20170 PyObject
*swig_obj
[1] ;
20174 if (!args
) SWIG_fail
;
20175 swig_obj
[0] = args
;
20176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20177 if (!SWIG_IsOK(res1
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_Py_Void();
20188 if (SWIG_IsTmpObj(res2
)) {
20189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20191 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20194 if (SWIG_IsTmpObj(res3
)) {
20195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20197 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20206 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
= 0;
20208 wxDC
*arg1
= (wxDC
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 PyObject
* obj2
= 0 ;
20220 char * kwnames
[] = {
20221 (char *) "self",(char *) "x",(char *) "y", NULL
20224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20226 if (!SWIG_IsOK(res1
)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20231 if (!SWIG_IsOK(ecode2
)) {
20232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20234 arg2
= static_cast< int >(val2
);
20235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20236 if (!SWIG_IsOK(ecode3
)) {
20237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20239 arg3
= static_cast< int >(val3
);
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_Py_Void();
20253 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
= 0;
20255 wxDC
*arg1
= (wxDC
*) 0 ;
20256 wxPoint
*arg2
= 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char * kwnames
[] = {
20263 (char *) "self",(char *) "point", NULL
20266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20268 if (!SWIG_IsOK(res1
)) {
20269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= SWIG_Py_Void();
20289 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
= 0;
20291 wxDC
*arg1
= (wxDC
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 PyObject
* obj2
= 0 ;
20303 char * kwnames
[] = {
20304 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20309 if (!SWIG_IsOK(res1
)) {
20310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20313 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20314 if (!SWIG_IsOK(ecode2
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20317 arg2
= static_cast< bool >(val2
);
20318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20319 if (!SWIG_IsOK(ecode3
)) {
20320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20322 arg3
= static_cast< bool >(val3
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_Py_Void();
20336 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20342 PyObject
*swig_obj
[1] ;
20344 if (!args
) SWIG_fail
;
20345 swig_obj
[0] = args
;
20346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20347 if (!SWIG_IsOK(res1
)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_From_int(static_cast< int >(result
));
20364 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= 0;
20366 wxDC
*arg1
= (wxDC
*) 0 ;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 char * kwnames
[] = {
20375 (char *) "self",(char *) "function", NULL
20378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20380 if (!SWIG_IsOK(res1
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20385 if (!SWIG_IsOK(ecode2
)) {
20386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20388 arg2
= static_cast< int >(val2
);
20390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20391 (arg1
)->SetLogicalFunction(arg2
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= SWIG_Py_Void();
20402 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20403 PyObject
*resultobj
= 0;
20404 wxDC
*arg1
= (wxDC
*) 0 ;
20407 PyObject
*swig_obj
[1] ;
20409 if (!args
) SWIG_fail
;
20410 swig_obj
[0] = args
;
20411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20412 if (!SWIG_IsOK(res1
)) {
20413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 (arg1
)->ComputeScaleAndOrigin();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 resultobj
= SWIG_Py_Void();
20429 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
= 0;
20431 wxDC
*arg1
= (wxDC
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 PyObject
* obj2
= 0 ;
20443 char * kwnames
[] = {
20444 (char *) "self",(char *) "x",(char *) "y", NULL
20447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20449 if (!SWIG_IsOK(res1
)) {
20450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20454 if (!SWIG_IsOK(ecode2
)) {
20455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20457 arg2
= static_cast< int >(val2
);
20458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20459 if (!SWIG_IsOK(ecode3
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20462 arg3
= static_cast< int >(val3
);
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_Py_Void();
20476 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
= 0;
20478 wxDC
*arg1
= (wxDC
*) 0 ;
20479 wxPoint
*arg2
= 0 ;
20483 PyObject
* obj0
= 0 ;
20484 PyObject
* obj1
= 0 ;
20485 char * kwnames
[] = {
20486 (char *) "self",(char *) "point", NULL
20489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20491 if (!SWIG_IsOK(res1
)) {
20492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20497 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_Py_Void();
20512 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20513 PyObject
*resultobj
= 0;
20514 wxDC
*arg1
= (wxDC
*) 0 ;
20517 PyObject
*swig_obj
[1] ;
20519 if (!args
) SWIG_fail
;
20520 swig_obj
[0] = args
;
20521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20522 if (!SWIG_IsOK(res1
)) {
20523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->ResetBoundingBox();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_Py_Void();
20539 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20540 PyObject
*resultobj
= 0;
20541 wxDC
*arg1
= (wxDC
*) 0 ;
20545 PyObject
*swig_obj
[1] ;
20547 if (!args
) SWIG_fail
;
20548 swig_obj
[0] = args
;
20549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (int)((wxDC
const *)arg1
)->MinX();
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20560 resultobj
= SWIG_From_int(static_cast< int >(result
));
20567 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20568 PyObject
*resultobj
= 0;
20569 wxDC
*arg1
= (wxDC
*) 0 ;
20573 PyObject
*swig_obj
[1] ;
20575 if (!args
) SWIG_fail
;
20576 swig_obj
[0] = args
;
20577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (int)((wxDC
const *)arg1
)->MaxX();
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_From_int(static_cast< int >(result
));
20595 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20596 PyObject
*resultobj
= 0;
20597 wxDC
*arg1
= (wxDC
*) 0 ;
20601 PyObject
*swig_obj
[1] ;
20603 if (!args
) SWIG_fail
;
20604 swig_obj
[0] = args
;
20605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20606 if (!SWIG_IsOK(res1
)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (int)((wxDC
const *)arg1
)->MinY();
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_From_int(static_cast< int >(result
));
20623 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20624 PyObject
*resultobj
= 0;
20625 wxDC
*arg1
= (wxDC
*) 0 ;
20629 PyObject
*swig_obj
[1] ;
20631 if (!args
) SWIG_fail
;
20632 swig_obj
[0] = args
;
20633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20637 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (int)((wxDC
const *)arg1
)->MaxY();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_From_int(static_cast< int >(result
));
20651 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20652 PyObject
*resultobj
= 0;
20653 wxDC
*arg1
= (wxDC
*) 0 ;
20654 int *arg2
= (int *) 0 ;
20655 int *arg3
= (int *) 0 ;
20656 int *arg4
= (int *) 0 ;
20657 int *arg5
= (int *) 0 ;
20661 int res2
= SWIG_TMPOBJ
;
20663 int res3
= SWIG_TMPOBJ
;
20665 int res4
= SWIG_TMPOBJ
;
20667 int res5
= SWIG_TMPOBJ
;
20668 PyObject
*swig_obj
[1] ;
20674 if (!args
) SWIG_fail
;
20675 swig_obj
[0] = args
;
20676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_Py_Void();
20688 if (SWIG_IsTmpObj(res2
)) {
20689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20691 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20694 if (SWIG_IsTmpObj(res3
)) {
20695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20697 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20700 if (SWIG_IsTmpObj(res4
)) {
20701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20703 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20706 if (SWIG_IsTmpObj(res5
)) {
20707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20709 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20718 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20719 PyObject
*resultobj
= 0;
20720 wxDC
*arg1
= (wxDC
*) 0 ;
20724 PyObject
*swig_obj
[1] ;
20726 if (!args
) SWIG_fail
;
20727 swig_obj
[0] = args
;
20728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20729 if (!SWIG_IsOK(res1
)) {
20730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (long)(arg1
)->GetHDC();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_From_long(static_cast< long >(result
));
20746 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
= 0;
20748 wxDC
*arg1
= (wxDC
*) 0 ;
20749 PyObject
*arg2
= (PyObject
*) 0 ;
20750 PyObject
*arg3
= (PyObject
*) 0 ;
20751 PyObject
*arg4
= (PyObject
*) 0 ;
20752 PyObject
*result
= 0 ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 PyObject
* obj2
= 0 ;
20758 PyObject
* obj3
= 0 ;
20759 char * kwnames
[] = {
20760 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20765 if (!SWIG_IsOK(res1
)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= result
;
20785 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
= 0;
20787 wxDC
*arg1
= (wxDC
*) 0 ;
20788 PyObject
*arg2
= (PyObject
*) 0 ;
20789 PyObject
*arg3
= (PyObject
*) 0 ;
20790 PyObject
*arg4
= (PyObject
*) 0 ;
20791 PyObject
*result
= 0 ;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 PyObject
* obj2
= 0 ;
20797 PyObject
* obj3
= 0 ;
20798 char * kwnames
[] = {
20799 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
;
20824 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxDC
*arg1
= (wxDC
*) 0 ;
20827 PyObject
*arg2
= (PyObject
*) 0 ;
20828 PyObject
*arg3
= (PyObject
*) 0 ;
20829 PyObject
*arg4
= (PyObject
*) 0 ;
20830 PyObject
*result
= 0 ;
20833 PyObject
* obj0
= 0 ;
20834 PyObject
* obj1
= 0 ;
20835 PyObject
* obj2
= 0 ;
20836 PyObject
* obj3
= 0 ;
20837 char * kwnames
[] = {
20838 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20843 if (!SWIG_IsOK(res1
)) {
20844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= result
;
20863 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
= 0;
20865 wxDC
*arg1
= (wxDC
*) 0 ;
20866 PyObject
*arg2
= (PyObject
*) 0 ;
20867 PyObject
*arg3
= (PyObject
*) 0 ;
20868 PyObject
*arg4
= (PyObject
*) 0 ;
20869 PyObject
*result
= 0 ;
20872 PyObject
* obj0
= 0 ;
20873 PyObject
* obj1
= 0 ;
20874 PyObject
* obj2
= 0 ;
20875 PyObject
* obj3
= 0 ;
20876 char * kwnames
[] = {
20877 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= result
;
20902 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= 0;
20904 wxDC
*arg1
= (wxDC
*) 0 ;
20905 PyObject
*arg2
= (PyObject
*) 0 ;
20906 PyObject
*arg3
= (PyObject
*) 0 ;
20907 PyObject
*arg4
= (PyObject
*) 0 ;
20908 PyObject
*result
= 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 PyObject
* obj2
= 0 ;
20914 PyObject
* obj3
= 0 ;
20915 char * kwnames
[] = {
20916 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= result
;
20941 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
= 0;
20943 wxDC
*arg1
= (wxDC
*) 0 ;
20944 PyObject
*arg2
= (PyObject
*) 0 ;
20945 PyObject
*arg3
= (PyObject
*) 0 ;
20946 PyObject
*arg4
= (PyObject
*) 0 ;
20947 PyObject
*arg5
= (PyObject
*) 0 ;
20948 PyObject
*result
= 0 ;
20951 PyObject
* obj0
= 0 ;
20952 PyObject
* obj1
= 0 ;
20953 PyObject
* obj2
= 0 ;
20954 PyObject
* obj3
= 0 ;
20955 PyObject
* obj4
= 0 ;
20956 char * kwnames
[] = {
20957 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= result
;
20983 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20986 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20987 return SWIG_Py_Void();
20990 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20991 PyObject
*resultobj
= 0;
20992 wxMemoryDC
*result
= 0 ;
20994 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20996 if (!wxPyCheckForApp()) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (wxMemoryDC
*)new wxMemoryDC();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
21009 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
= 0;
21011 wxDC
*arg1
= (wxDC
*) 0 ;
21012 wxMemoryDC
*result
= 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char * kwnames
[] = {
21017 (char *) "oldDC", NULL
21020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21022 if (!SWIG_IsOK(res1
)) {
21023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21027 if (!wxPyCheckForApp()) SWIG_fail
;
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21040 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
= 0;
21042 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21043 wxBitmap
*arg2
= 0 ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 char * kwnames
[] = {
21051 (char *) "self",(char *) "bitmap", NULL
21054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21056 if (!SWIG_IsOK(res1
)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21059 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21061 if (!SWIG_IsOK(res2
)) {
21062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_Py_Void();
21081 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21084 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21085 return SWIG_Py_Void();
21088 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 return SWIG_Python_InitShadowInstance(args
);
21092 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21093 PyObject
*resultobj
= 0;
21094 wxDC
*arg1
= (wxDC
*) 0 ;
21095 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21096 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21097 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21098 wxBufferedDC
*result
= 0 ;
21106 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21108 if (!SWIG_IsOK(res1
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21113 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21114 if (!SWIG_IsOK(res2
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21120 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21123 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21124 if (!SWIG_IsOK(ecode3
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21127 arg3
= static_cast< int >(val3
);
21130 if (!wxPyCheckForApp()) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21143 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21144 PyObject
*resultobj
= 0;
21145 wxDC
*arg1
= (wxDC
*) 0 ;
21147 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21148 wxBufferedDC
*result
= 0 ;
21155 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21157 if (!SWIG_IsOK(res1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21163 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21166 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21167 if (!SWIG_IsOK(ecode3
)) {
21168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21170 arg3
= static_cast< int >(val3
);
21173 if (!wxPyCheckForApp()) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21186 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21190 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21192 if ((argc
>= 1) && (argc
<= 3)) {
21196 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21197 _v
= SWIG_CheckState(res
);
21199 if (!_v
) goto check_1
;
21201 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21205 if ((argc
>= 2) && (argc
<= 3)) {
21206 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21210 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21215 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21216 PyObject
*resultobj
= 0;
21217 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21220 PyObject
*swig_obj
[1] ;
21222 if (!args
) SWIG_fail
;
21223 swig_obj
[0] = args
;
21224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21225 if (!SWIG_IsOK(res1
)) {
21226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21228 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_Py_Void();
21243 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21244 PyObject
*resultobj
= 0;
21245 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21248 PyObject
*swig_obj
[1] ;
21250 if (!args
) SWIG_fail
;
21251 swig_obj
[0] = args
;
21252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21253 if (!SWIG_IsOK(res1
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21256 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 resultobj
= SWIG_Py_Void();
21270 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21273 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21274 return SWIG_Py_Void();
21277 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 return SWIG_Python_InitShadowInstance(args
);
21281 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
= 0;
21283 wxWindow
*arg1
= (wxWindow
*) 0 ;
21284 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21285 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21286 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21287 wxBufferedPaintDC
*result
= 0 ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 PyObject
* obj2
= 0 ;
21297 char * kwnames
[] = {
21298 (char *) "window",(char *) "buffer",(char *) "style", NULL
21301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21306 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21309 if (!SWIG_IsOK(res2
)) {
21310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21315 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21319 if (!SWIG_IsOK(ecode3
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21322 arg3
= static_cast< int >(val3
);
21325 if (!wxPyCheckForApp()) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21328 wxPyEndAllowThreads(__tstate
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21338 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21341 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21342 return SWIG_Py_Void();
21345 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21346 return SWIG_Python_InitShadowInstance(args
);
21349 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 PyObject
*resultobj
= 0;
21351 wxScreenDC
*result
= 0 ;
21353 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21355 if (!wxPyCheckForApp()) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (wxScreenDC
*)new wxScreenDC();
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21368 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
= 0;
21370 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21371 wxWindow
*arg2
= (wxWindow
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char * kwnames
[] = {
21380 (char *) "self",(char *) "window", NULL
21383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21385 if (!SWIG_IsOK(res1
)) {
21386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21388 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21390 if (!SWIG_IsOK(res2
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21409 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
= 0;
21411 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21412 wxRect
*arg2
= (wxRect
*) NULL
;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char * kwnames
[] = {
21421 (char *) "self",(char *) "rect", NULL
21424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21426 if (!SWIG_IsOK(res1
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21429 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21432 if (!SWIG_IsOK(res2
)) {
21433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21435 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21452 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 PyObject
*resultobj
= 0;
21454 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21458 PyObject
*swig_obj
[1] ;
21460 if (!args
) SWIG_fail
;
21461 swig_obj
[0] = args
;
21462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21463 if (!SWIG_IsOK(res1
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21466 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (bool)(arg1
)->EndDrawingOnTop();
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21482 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21485 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21486 return SWIG_Py_Void();
21489 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21490 return SWIG_Python_InitShadowInstance(args
);
21493 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
= 0;
21495 wxWindow
*arg1
= (wxWindow
*) 0 ;
21496 wxClientDC
*result
= 0 ;
21499 PyObject
* obj0
= 0 ;
21500 char * kwnames
[] = {
21501 (char *) "win", NULL
21504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21506 if (!SWIG_IsOK(res1
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21509 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21511 if (!wxPyCheckForApp()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (wxClientDC
*)new wxClientDC(arg1
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21524 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21527 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21528 return SWIG_Py_Void();
21531 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21532 return SWIG_Python_InitShadowInstance(args
);
21535 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
= 0;
21537 wxWindow
*arg1
= (wxWindow
*) 0 ;
21538 wxPaintDC
*result
= 0 ;
21541 PyObject
* obj0
= 0 ;
21542 char * kwnames
[] = {
21543 (char *) "win", NULL
21546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21548 if (!SWIG_IsOK(res1
)) {
21549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21551 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21553 if (!wxPyCheckForApp()) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21566 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21569 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21570 return SWIG_Py_Void();
21573 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 return SWIG_Python_InitShadowInstance(args
);
21577 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
= 0;
21579 wxWindow
*arg1
= (wxWindow
*) 0 ;
21580 wxWindowDC
*result
= 0 ;
21583 PyObject
* obj0
= 0 ;
21584 char * kwnames
[] = {
21585 (char *) "win", NULL
21588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21590 if (!SWIG_IsOK(res1
)) {
21591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21595 if (!wxPyCheckForApp()) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21608 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21611 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21612 return SWIG_Py_Void();
21615 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21616 return SWIG_Python_InitShadowInstance(args
);
21619 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
= 0;
21623 wxMirrorDC
*result
= 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char * kwnames
[] = {
21631 (char *) "dc",(char *) "mirror", NULL
21634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21635 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21644 if (!SWIG_IsOK(ecode2
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21647 arg2
= static_cast< bool >(val2
);
21649 if (!wxPyCheckForApp()) SWIG_fail
;
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21662 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21665 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21666 return SWIG_Py_Void();
21669 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21670 return SWIG_Python_InitShadowInstance(args
);
21673 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxPrintData
*arg1
= 0 ;
21676 wxPostScriptDC
*result
= 0 ;
21679 PyObject
* obj0
= 0 ;
21680 char * kwnames
[] = {
21681 (char *) "printData", NULL
21684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21685 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21686 if (!SWIG_IsOK(res1
)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21692 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21694 if (!wxPyCheckForApp()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21707 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21708 PyObject
*resultobj
= 0;
21709 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21710 wxPrintData
*result
= 0 ;
21713 PyObject
*swig_obj
[1] ;
21715 if (!args
) SWIG_fail
;
21716 swig_obj
[0] = args
;
21717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21721 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21726 result
= (wxPrintData
*) &_result_ref
;
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21738 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
= 0;
21740 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21741 wxPrintData
*arg2
= 0 ;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 char * kwnames
[] = {
21749 (char *) "self",(char *) "data", NULL
21752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21754 if (!SWIG_IsOK(res1
)) {
21755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21757 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21759 if (!SWIG_IsOK(res2
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21765 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_Py_Void();
21779 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
= 0;
21784 PyObject
* obj0
= 0 ;
21785 char * kwnames
[] = {
21786 (char *) "ppi", NULL
21789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21791 if (!SWIG_IsOK(ecode1
)) {
21792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21794 arg1
= static_cast< int >(val1
);
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 wxPostScriptDC::SetResolution(arg1
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= SWIG_Py_Void();
21808 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21809 PyObject
*resultobj
= 0;
21812 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (int)wxPostScriptDC::GetResolution();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int(static_cast< int >(result
));
21826 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21829 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21830 return SWIG_Py_Void();
21833 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 return SWIG_Python_InitShadowInstance(args
);
21837 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
= 0;
21839 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21840 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21841 wxMetaFile
*result
= 0 ;
21842 bool temp1
= false ;
21843 PyObject
* obj0
= 0 ;
21844 char * kwnames
[] = {
21845 (char *) "filename", NULL
21848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21851 arg1
= wxString_in_helper(obj0
);
21852 if (arg1
== NULL
) SWIG_fail
;
21857 if (!wxPyCheckForApp()) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21878 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21879 PyObject
*resultobj
= 0;
21880 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21883 PyObject
*swig_obj
[1] ;
21885 if (!args
) SWIG_fail
;
21886 swig_obj
[0] = args
;
21887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21888 if (!SWIG_IsOK(res1
)) {
21889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21891 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= SWIG_Py_Void();
21906 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 PyObject
*resultobj
= 0;
21908 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21912 PyObject
*swig_obj
[1] ;
21914 if (!args
) SWIG_fail
;
21915 swig_obj
[0] = args
;
21916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21920 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->Ok();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
= 0;
21938 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21939 int arg2
= (int) 0 ;
21940 int arg3
= (int) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 PyObject
* obj2
= 0 ;
21951 char * kwnames
[] = {
21952 (char *) "self",(char *) "width",(char *) "height", NULL
21955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21960 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21963 if (!SWIG_IsOK(ecode2
)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21966 arg2
= static_cast< int >(val2
);
21969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21970 if (!SWIG_IsOK(ecode3
)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21973 arg3
= static_cast< int >(val3
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21990 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21991 PyObject
*resultobj
= 0;
21992 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21996 PyObject
*swig_obj
[1] ;
21998 if (!args
) SWIG_fail
;
21999 swig_obj
[0] = args
;
22000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22004 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (arg1
)->GetSize();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22018 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22019 PyObject
*resultobj
= 0;
22020 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22024 PyObject
*swig_obj
[1] ;
22026 if (!args
) SWIG_fail
;
22027 swig_obj
[0] = args
;
22028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22029 if (!SWIG_IsOK(res1
)) {
22030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22032 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (int)(arg1
)->GetWidth();
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= SWIG_From_int(static_cast< int >(result
));
22046 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22047 PyObject
*resultobj
= 0;
22048 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22052 PyObject
*swig_obj
[1] ;
22054 if (!args
) SWIG_fail
;
22055 swig_obj
[0] = args
;
22056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22060 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (int)(arg1
)->GetHeight();
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= SWIG_From_int(static_cast< int >(result
));
22074 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22075 PyObject
*resultobj
= 0;
22076 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22077 wxString
*result
= 0 ;
22080 PyObject
*swig_obj
[1] ;
22082 if (!args
) SWIG_fail
;
22083 swig_obj
[0] = args
;
22084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22085 if (!SWIG_IsOK(res1
)) {
22086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22088 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22093 result
= (wxString
*) &_result_ref
;
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22102 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22111 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22114 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22115 return SWIG_Py_Void();
22118 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22119 return SWIG_Python_InitShadowInstance(args
);
22122 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= 0;
22124 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22125 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22126 int arg2
= (int) 0 ;
22127 int arg3
= (int) 0 ;
22128 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22130 wxMetaFileDC
*result
= 0 ;
22131 bool temp1
= false ;
22136 bool temp4
= false ;
22137 PyObject
* obj0
= 0 ;
22138 PyObject
* obj1
= 0 ;
22139 PyObject
* obj2
= 0 ;
22140 PyObject
* obj3
= 0 ;
22141 char * kwnames
[] = {
22142 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22148 arg1
= wxString_in_helper(obj0
);
22149 if (arg1
== NULL
) SWIG_fail
;
22154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22155 if (!SWIG_IsOK(ecode2
)) {
22156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22158 arg2
= static_cast< int >(val2
);
22161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22162 if (!SWIG_IsOK(ecode3
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22165 arg3
= static_cast< int >(val3
);
22169 arg4
= wxString_in_helper(obj3
);
22170 if (arg4
== NULL
) SWIG_fail
;
22175 if (!wxPyCheckForApp()) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22204 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22205 PyObject
*resultobj
= 0;
22206 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22207 wxMetaFile
*result
= 0 ;
22210 PyObject
*swig_obj
[1] ;
22212 if (!args
) SWIG_fail
;
22213 swig_obj
[0] = args
;
22214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22215 if (!SWIG_IsOK(res1
)) {
22216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22218 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= (wxMetaFile
*)(arg1
)->Close();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22232 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22235 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22236 return SWIG_Py_Void();
22239 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22240 return SWIG_Python_InitShadowInstance(args
);
22243 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
= 0;
22245 wxPrintData
*arg1
= 0 ;
22246 wxPrinterDC
*result
= 0 ;
22249 PyObject
* obj0
= 0 ;
22250 char * kwnames
[] = {
22251 (char *) "printData", NULL
22254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22255 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22262 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22264 if (!wxPyCheckForApp()) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22277 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22280 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22281 return SWIG_Py_Void();
22284 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22285 return SWIG_Python_InitShadowInstance(args
);
22288 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
= 0;
22292 int arg3
= (int) true ;
22293 int arg4
= (int) 1 ;
22294 wxImageList
*result
= 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 PyObject
* obj2
= 0 ;
22306 PyObject
* obj3
= 0 ;
22307 char * kwnames
[] = {
22308 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22313 if (!SWIG_IsOK(ecode1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22316 arg1
= static_cast< int >(val1
);
22317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22318 if (!SWIG_IsOK(ecode2
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22321 arg2
= static_cast< int >(val2
);
22323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22324 if (!SWIG_IsOK(ecode3
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22327 arg3
= static_cast< int >(val3
);
22330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22331 if (!SWIG_IsOK(ecode4
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22334 arg4
= static_cast< int >(val4
);
22337 if (!wxPyCheckForApp()) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22352 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 PyObject
*resultobj
= 0;
22354 wxImageList
*arg1
= (wxImageList
*) 0 ;
22357 PyObject
*swig_obj
[1] ;
22359 if (!args
) SWIG_fail
;
22360 swig_obj
[0] = args
;
22361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22362 if (!SWIG_IsOK(res1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22365 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_Py_Void();
22380 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
= 0;
22382 wxImageList
*arg1
= (wxImageList
*) 0 ;
22383 wxBitmap
*arg2
= 0 ;
22384 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22385 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 PyObject
* obj2
= 0 ;
22396 char * kwnames
[] = {
22397 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22405 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22407 if (!SWIG_IsOK(res2
)) {
22408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22413 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22415 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22416 if (!SWIG_IsOK(res3
)) {
22417 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22422 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_From_int(static_cast< int >(result
));
22437 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
= 0;
22439 wxImageList
*arg1
= (wxImageList
*) 0 ;
22440 wxBitmap
*arg2
= 0 ;
22441 wxColour
*arg3
= 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 PyObject
* obj2
= 0 ;
22451 char * kwnames
[] = {
22452 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22457 if (!SWIG_IsOK(res1
)) {
22458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22460 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22462 if (!SWIG_IsOK(res2
)) {
22463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22468 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22471 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_From_int(static_cast< int >(result
));
22486 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22488 wxImageList
*arg1
= (wxImageList
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 PyObject
* obj1
= 0 ;
22497 char * kwnames
[] = {
22498 (char *) "self",(char *) "icon", NULL
22501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22503 if (!SWIG_IsOK(res1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22506 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22508 if (!SWIG_IsOK(res2
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22514 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= SWIG_From_int(static_cast< int >(result
));
22528 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
= 0;
22530 wxImageList
*arg1
= (wxImageList
*) 0 ;
22532 SwigValueWrapper
<wxBitmap
> result
;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char * kwnames
[] = {
22540 (char *) "self",(char *) "index", NULL
22543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22545 if (!SWIG_IsOK(res1
)) {
22546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22548 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22550 if (!SWIG_IsOK(ecode2
)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22553 arg2
= static_cast< int >(val2
);
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22567 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
= 0;
22569 wxImageList
*arg1
= (wxImageList
*) 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char * kwnames
[] = {
22579 (char *) "self",(char *) "index", NULL
22582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22587 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22589 if (!SWIG_IsOK(ecode2
)) {
22590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22592 arg2
= static_cast< int >(val2
);
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22606 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
= 0;
22608 wxImageList
*arg1
= (wxImageList
*) 0 ;
22610 wxBitmap
*arg3
= 0 ;
22611 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22612 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 PyObject
* obj3
= 0 ;
22626 char * kwnames
[] = {
22627 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22635 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22637 if (!SWIG_IsOK(ecode2
)) {
22638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22640 arg2
= static_cast< int >(val2
);
22641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22642 if (!SWIG_IsOK(res3
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22648 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22650 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22651 if (!SWIG_IsOK(res4
)) {
22652 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22657 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22674 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
= 0;
22676 wxImageList
*arg1
= (wxImageList
*) 0 ;
22681 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22682 bool arg7
= (bool) (bool)false ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 PyObject
* obj2
= 0 ;
22701 PyObject
* obj3
= 0 ;
22702 PyObject
* obj4
= 0 ;
22703 PyObject
* obj5
= 0 ;
22704 PyObject
* obj6
= 0 ;
22705 char * kwnames
[] = {
22706 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22711 if (!SWIG_IsOK(res1
)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22714 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22716 if (!SWIG_IsOK(ecode2
)) {
22717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22719 arg2
= static_cast< int >(val2
);
22720 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22721 if (!SWIG_IsOK(res3
)) {
22722 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22727 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22729 if (!SWIG_IsOK(ecode4
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22732 arg4
= static_cast< int >(val4
);
22733 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22734 if (!SWIG_IsOK(ecode5
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22737 arg5
= static_cast< int >(val5
);
22739 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22740 if (!SWIG_IsOK(ecode6
)) {
22741 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22743 arg6
= static_cast< int >(val6
);
22746 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22747 if (!SWIG_IsOK(ecode7
)) {
22748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22750 arg7
= static_cast< bool >(val7
);
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22767 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22768 PyObject
*resultobj
= 0;
22769 wxImageList
*arg1
= (wxImageList
*) 0 ;
22773 PyObject
*swig_obj
[1] ;
22775 if (!args
) SWIG_fail
;
22776 swig_obj
[0] = args
;
22777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22781 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (int)(arg1
)->GetImageCount();
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 resultobj
= SWIG_From_int(static_cast< int >(result
));
22795 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
= 0;
22797 wxImageList
*arg1
= (wxImageList
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 char * kwnames
[] = {
22807 (char *) "self",(char *) "index", NULL
22810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22815 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22817 if (!SWIG_IsOK(ecode2
)) {
22818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22820 arg2
= static_cast< int >(val2
);
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 result
= (bool)(arg1
)->Remove(arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22836 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 PyObject
*resultobj
= 0;
22838 wxImageList
*arg1
= (wxImageList
*) 0 ;
22842 PyObject
*swig_obj
[1] ;
22844 if (!args
) SWIG_fail
;
22845 swig_obj
[0] = args
;
22846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22847 if (!SWIG_IsOK(res1
)) {
22848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22850 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (bool)(arg1
)->RemoveAll();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22866 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
= 0;
22868 wxImageList
*arg1
= (wxImageList
*) 0 ;
22877 int res3
= SWIG_TMPOBJ
;
22879 int res4
= SWIG_TMPOBJ
;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char * kwnames
[] = {
22883 (char *) "self",(char *) "index", NULL
22888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22890 if (!SWIG_IsOK(res1
)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22893 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22895 if (!SWIG_IsOK(ecode2
)) {
22896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22898 arg2
= static_cast< int >(val2
);
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= SWIG_Py_Void();
22906 if (SWIG_IsTmpObj(res3
)) {
22907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22909 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22912 if (SWIG_IsTmpObj(res4
)) {
22913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22915 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22924 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22927 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22928 return SWIG_Py_Void();
22931 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22932 return SWIG_Python_InitShadowInstance(args
);
22935 SWIGINTERN
int NORMAL_FONT_set(PyObject
*) {
22936 SWIG_Error(SWIG_AttributeError
,"Variable NORMAL_FONT is read-only.");
22941 SWIGINTERN PyObject
*NORMAL_FONT_get(void) {
22942 PyObject
*pyobj
= 0;
22944 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxNORMAL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22949 SWIGINTERN
int SMALL_FONT_set(PyObject
*) {
22950 SWIG_Error(SWIG_AttributeError
,"Variable SMALL_FONT is read-only.");
22955 SWIGINTERN PyObject
*SMALL_FONT_get(void) {
22956 PyObject
*pyobj
= 0;
22958 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSMALL_FONT
), SWIGTYPE_p_wxFont
, 0 );
22963 SWIGINTERN
int ITALIC_FONT_set(PyObject
*) {
22964 SWIG_Error(SWIG_AttributeError
,"Variable ITALIC_FONT is read-only.");
22969 SWIGINTERN PyObject
*ITALIC_FONT_get(void) {
22970 PyObject
*pyobj
= 0;
22972 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxITALIC_FONT
), SWIGTYPE_p_wxFont
, 0 );
22977 SWIGINTERN
int SWISS_FONT_set(PyObject
*) {
22978 SWIG_Error(SWIG_AttributeError
,"Variable SWISS_FONT is read-only.");
22983 SWIGINTERN PyObject
*SWISS_FONT_get(void) {
22984 PyObject
*pyobj
= 0;
22986 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSWISS_FONT
), SWIGTYPE_p_wxFont
, 0 );
22991 SWIGINTERN
int RED_PEN_set(PyObject
*) {
22992 SWIG_Error(SWIG_AttributeError
,"Variable RED_PEN is read-only.");
22997 SWIGINTERN PyObject
*RED_PEN_get(void) {
22998 PyObject
*pyobj
= 0;
23000 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_PEN
), SWIGTYPE_p_wxPen
, 0 );
23005 SWIGINTERN
int CYAN_PEN_set(PyObject
*) {
23006 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_PEN is read-only.");
23011 SWIGINTERN PyObject
*CYAN_PEN_get(void) {
23012 PyObject
*pyobj
= 0;
23014 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_PEN
), SWIGTYPE_p_wxPen
, 0 );
23019 SWIGINTERN
int GREEN_PEN_set(PyObject
*) {
23020 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_PEN is read-only.");
23025 SWIGINTERN PyObject
*GREEN_PEN_get(void) {
23026 PyObject
*pyobj
= 0;
23028 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_PEN
), SWIGTYPE_p_wxPen
, 0 );
23033 SWIGINTERN
int BLACK_PEN_set(PyObject
*) {
23034 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_PEN is read-only.");
23039 SWIGINTERN PyObject
*BLACK_PEN_get(void) {
23040 PyObject
*pyobj
= 0;
23042 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_PEN
), SWIGTYPE_p_wxPen
, 0 );
23047 SWIGINTERN
int WHITE_PEN_set(PyObject
*) {
23048 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_PEN is read-only.");
23053 SWIGINTERN PyObject
*WHITE_PEN_get(void) {
23054 PyObject
*pyobj
= 0;
23056 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_PEN
), SWIGTYPE_p_wxPen
, 0 );
23061 SWIGINTERN
int TRANSPARENT_PEN_set(PyObject
*) {
23062 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_PEN is read-only.");
23067 SWIGINTERN PyObject
*TRANSPARENT_PEN_get(void) {
23068 PyObject
*pyobj
= 0;
23070 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_PEN
), SWIGTYPE_p_wxPen
, 0 );
23075 SWIGINTERN
int BLACK_DASHED_PEN_set(PyObject
*) {
23076 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_DASHED_PEN is read-only.");
23081 SWIGINTERN PyObject
*BLACK_DASHED_PEN_get(void) {
23082 PyObject
*pyobj
= 0;
23084 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_DASHED_PEN
), SWIGTYPE_p_wxPen
, 0 );
23089 SWIGINTERN
int GREY_PEN_set(PyObject
*) {
23090 SWIG_Error(SWIG_AttributeError
,"Variable GREY_PEN is read-only.");
23095 SWIGINTERN PyObject
*GREY_PEN_get(void) {
23096 PyObject
*pyobj
= 0;
23098 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
23103 SWIGINTERN
int MEDIUM_GREY_PEN_set(PyObject
*) {
23104 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_PEN is read-only.");
23109 SWIGINTERN PyObject
*MEDIUM_GREY_PEN_get(void) {
23110 PyObject
*pyobj
= 0;
23112 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
23117 SWIGINTERN
int LIGHT_GREY_PEN_set(PyObject
*) {
23118 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_PEN is read-only.");
23123 SWIGINTERN PyObject
*LIGHT_GREY_PEN_get(void) {
23124 PyObject
*pyobj
= 0;
23126 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_PEN
), SWIGTYPE_p_wxPen
, 0 );
23131 SWIGINTERN
int BLUE_BRUSH_set(PyObject
*) {
23132 SWIG_Error(SWIG_AttributeError
,"Variable BLUE_BRUSH is read-only.");
23137 SWIGINTERN PyObject
*BLUE_BRUSH_get(void) {
23138 PyObject
*pyobj
= 0;
23140 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23145 SWIGINTERN
int GREEN_BRUSH_set(PyObject
*) {
23146 SWIG_Error(SWIG_AttributeError
,"Variable GREEN_BRUSH is read-only.");
23151 SWIGINTERN PyObject
*GREEN_BRUSH_get(void) {
23152 PyObject
*pyobj
= 0;
23154 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23159 SWIGINTERN
int WHITE_BRUSH_set(PyObject
*) {
23160 SWIG_Error(SWIG_AttributeError
,"Variable WHITE_BRUSH is read-only.");
23165 SWIGINTERN PyObject
*WHITE_BRUSH_get(void) {
23166 PyObject
*pyobj
= 0;
23168 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23173 SWIGINTERN
int BLACK_BRUSH_set(PyObject
*) {
23174 SWIG_Error(SWIG_AttributeError
,"Variable BLACK_BRUSH is read-only.");
23179 SWIGINTERN PyObject
*BLACK_BRUSH_get(void) {
23180 PyObject
*pyobj
= 0;
23182 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23187 SWIGINTERN
int TRANSPARENT_BRUSH_set(PyObject
*) {
23188 SWIG_Error(SWIG_AttributeError
,"Variable TRANSPARENT_BRUSH is read-only.");
23193 SWIGINTERN PyObject
*TRANSPARENT_BRUSH_get(void) {
23194 PyObject
*pyobj
= 0;
23196 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTRANSPARENT_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23201 SWIGINTERN
int CYAN_BRUSH_set(PyObject
*) {
23202 SWIG_Error(SWIG_AttributeError
,"Variable CYAN_BRUSH is read-only.");
23207 SWIGINTERN PyObject
*CYAN_BRUSH_get(void) {
23208 PyObject
*pyobj
= 0;
23210 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23215 SWIGINTERN
int RED_BRUSH_set(PyObject
*) {
23216 SWIG_Error(SWIG_AttributeError
,"Variable RED_BRUSH is read-only.");
23221 SWIGINTERN PyObject
*RED_BRUSH_get(void) {
23222 PyObject
*pyobj
= 0;
23224 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23229 SWIGINTERN
int GREY_BRUSH_set(PyObject
*) {
23230 SWIG_Error(SWIG_AttributeError
,"Variable GREY_BRUSH is read-only.");
23235 SWIGINTERN PyObject
*GREY_BRUSH_get(void) {
23236 PyObject
*pyobj
= 0;
23238 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23243 SWIGINTERN
int MEDIUM_GREY_BRUSH_set(PyObject
*) {
23244 SWIG_Error(SWIG_AttributeError
,"Variable MEDIUM_GREY_BRUSH is read-only.");
23249 SWIGINTERN PyObject
*MEDIUM_GREY_BRUSH_get(void) {
23250 PyObject
*pyobj
= 0;
23252 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxMEDIUM_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23257 SWIGINTERN
int LIGHT_GREY_BRUSH_set(PyObject
*) {
23258 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY_BRUSH is read-only.");
23263 SWIGINTERN PyObject
*LIGHT_GREY_BRUSH_get(void) {
23264 PyObject
*pyobj
= 0;
23266 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY_BRUSH
), SWIGTYPE_p_wxBrush
, 0 );
23271 SWIGINTERN
int BLACK_set(PyObject
*) {
23272 SWIG_Error(SWIG_AttributeError
,"Variable BLACK is read-only.");
23277 SWIGINTERN PyObject
*BLACK_get(void) {
23278 PyObject
*pyobj
= 0;
23280 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLACK
), SWIGTYPE_p_wxColour
, 0 );
23285 SWIGINTERN
int WHITE_set(PyObject
*) {
23286 SWIG_Error(SWIG_AttributeError
,"Variable WHITE is read-only.");
23291 SWIGINTERN PyObject
*WHITE_get(void) {
23292 PyObject
*pyobj
= 0;
23294 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxWHITE
), SWIGTYPE_p_wxColour
, 0 );
23299 SWIGINTERN
int RED_set(PyObject
*) {
23300 SWIG_Error(SWIG_AttributeError
,"Variable RED is read-only.");
23305 SWIGINTERN PyObject
*RED_get(void) {
23306 PyObject
*pyobj
= 0;
23308 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxRED
), SWIGTYPE_p_wxColour
, 0 );
23313 SWIGINTERN
int BLUE_set(PyObject
*) {
23314 SWIG_Error(SWIG_AttributeError
,"Variable BLUE is read-only.");
23319 SWIGINTERN PyObject
*BLUE_get(void) {
23320 PyObject
*pyobj
= 0;
23322 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxBLUE
), SWIGTYPE_p_wxColour
, 0 );
23327 SWIGINTERN
int GREEN_set(PyObject
*) {
23328 SWIG_Error(SWIG_AttributeError
,"Variable GREEN is read-only.");
23333 SWIGINTERN PyObject
*GREEN_get(void) {
23334 PyObject
*pyobj
= 0;
23336 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxGREEN
), SWIGTYPE_p_wxColour
, 0 );
23341 SWIGINTERN
int CYAN_set(PyObject
*) {
23342 SWIG_Error(SWIG_AttributeError
,"Variable CYAN is read-only.");
23347 SWIGINTERN PyObject
*CYAN_get(void) {
23348 PyObject
*pyobj
= 0;
23350 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCYAN
), SWIGTYPE_p_wxColour
, 0 );
23355 SWIGINTERN
int LIGHT_GREY_set(PyObject
*) {
23356 SWIG_Error(SWIG_AttributeError
,"Variable LIGHT_GREY is read-only.");
23361 SWIGINTERN PyObject
*LIGHT_GREY_get(void) {
23362 PyObject
*pyobj
= 0;
23364 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxLIGHT_GREY
), SWIGTYPE_p_wxColour
, 0 );
23369 SWIGINTERN
int STANDARD_CURSOR_set(PyObject
*) {
23370 SWIG_Error(SWIG_AttributeError
,"Variable STANDARD_CURSOR is read-only.");
23375 SWIGINTERN PyObject
*STANDARD_CURSOR_get(void) {
23376 PyObject
*pyobj
= 0;
23378 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxSTANDARD_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
23383 SWIGINTERN
int HOURGLASS_CURSOR_set(PyObject
*) {
23384 SWIG_Error(SWIG_AttributeError
,"Variable HOURGLASS_CURSOR is read-only.");
23389 SWIGINTERN PyObject
*HOURGLASS_CURSOR_get(void) {
23390 PyObject
*pyobj
= 0;
23392 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxHOURGLASS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
23397 SWIGINTERN
int CROSS_CURSOR_set(PyObject
*) {
23398 SWIG_Error(SWIG_AttributeError
,"Variable CROSS_CURSOR is read-only.");
23403 SWIGINTERN PyObject
*CROSS_CURSOR_get(void) {
23404 PyObject
*pyobj
= 0;
23406 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxCROSS_CURSOR
), SWIGTYPE_p_wxCursor
, 0 );
23411 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23412 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23417 SWIGINTERN PyObject
*NullBitmap_get(void) {
23418 PyObject
*pyobj
= 0;
23420 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23425 SWIGINTERN
int NullIcon_set(PyObject
*) {
23426 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23431 SWIGINTERN PyObject
*NullIcon_get(void) {
23432 PyObject
*pyobj
= 0;
23434 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23439 SWIGINTERN
int NullCursor_set(PyObject
*) {
23440 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23445 SWIGINTERN PyObject
*NullCursor_get(void) {
23446 PyObject
*pyobj
= 0;
23448 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23453 SWIGINTERN
int NullPen_set(PyObject
*) {
23454 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23459 SWIGINTERN PyObject
*NullPen_get(void) {
23460 PyObject
*pyobj
= 0;
23462 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23467 SWIGINTERN
int NullBrush_set(PyObject
*) {
23468 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23473 SWIGINTERN PyObject
*NullBrush_get(void) {
23474 PyObject
*pyobj
= 0;
23476 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23481 SWIGINTERN
int NullPalette_set(PyObject
*) {
23482 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23487 SWIGINTERN PyObject
*NullPalette_get(void) {
23488 PyObject
*pyobj
= 0;
23490 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23495 SWIGINTERN
int NullFont_set(PyObject
*) {
23496 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23501 SWIGINTERN PyObject
*NullFont_get(void) {
23502 PyObject
*pyobj
= 0;
23504 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23509 SWIGINTERN
int NullColour_set(PyObject
*) {
23510 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23515 SWIGINTERN PyObject
*NullColour_get(void) {
23516 PyObject
*pyobj
= 0;
23518 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23523 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= 0;
23525 wxPenList
*arg1
= (wxPenList
*) 0 ;
23526 wxPen
*arg2
= (wxPen
*) 0 ;
23531 PyObject
* obj0
= 0 ;
23532 PyObject
* obj1
= 0 ;
23533 char * kwnames
[] = {
23534 (char *) "self",(char *) "pen", NULL
23537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23539 if (!SWIG_IsOK(res1
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23542 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23544 if (!SWIG_IsOK(res2
)) {
23545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23547 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 (arg1
)->AddPen(arg2
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_Py_Void();
23561 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
= 0;
23563 wxPenList
*arg1
= (wxPenList
*) 0 ;
23564 wxColour
*arg2
= 0 ;
23567 wxPen
*result
= 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 PyObject
* obj2
= 0 ;
23578 PyObject
* obj3
= 0 ;
23579 char * kwnames
[] = {
23580 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23585 if (!SWIG_IsOK(res1
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23588 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23594 if (!SWIG_IsOK(ecode3
)) {
23595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23597 arg3
= static_cast< int >(val3
);
23598 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23599 if (!SWIG_IsOK(ecode4
)) {
23600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23602 arg4
= static_cast< int >(val4
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23616 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= 0;
23618 wxPenList
*arg1
= (wxPenList
*) 0 ;
23619 wxPen
*arg2
= (wxPen
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char * kwnames
[] = {
23627 (char *) "self",(char *) "pen", NULL
23630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23632 if (!SWIG_IsOK(res1
)) {
23633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23635 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23637 if (!SWIG_IsOK(res2
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23640 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 (arg1
)->RemovePen(arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_Py_Void();
23654 SWIGINTERN PyObject
*_wrap_PenList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23655 PyObject
*resultobj
= 0;
23656 wxPenList
*arg1
= (wxPenList
*) 0 ;
23660 PyObject
*swig_obj
[1] ;
23662 if (!args
) SWIG_fail
;
23663 swig_obj
[0] = args
;
23664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_GetCount" "', expected argument " "1"" of type '" "wxPenList *""'");
23668 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (int)(arg1
)->GetCount();
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_From_int(static_cast< int >(result
));
23682 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23686 return SWIG_Py_Void();
23689 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
= 0;
23691 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23692 wxBrush
*arg2
= (wxBrush
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char * kwnames
[] = {
23700 (char *) "self",(char *) "brush", NULL
23703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23708 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23710 if (!SWIG_IsOK(res2
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23713 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->AddBrush(arg2
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_Py_Void();
23727 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= 0;
23729 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23730 wxColour
*arg2
= 0 ;
23731 int arg3
= (int) wxSOLID
;
23732 wxBrush
*result
= 0 ;
23738 PyObject
* obj0
= 0 ;
23739 PyObject
* obj1
= 0 ;
23740 PyObject
* obj2
= 0 ;
23741 char * kwnames
[] = {
23742 (char *) "self",(char *) "colour",(char *) "style", NULL
23745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23747 if (!SWIG_IsOK(res1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23750 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23757 if (!SWIG_IsOK(ecode3
)) {
23758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23760 arg3
= static_cast< int >(val3
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23775 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
= 0;
23777 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23778 wxBrush
*arg2
= (wxBrush
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 PyObject
* obj1
= 0 ;
23785 char * kwnames
[] = {
23786 (char *) "self",(char *) "brush", NULL
23789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23791 if (!SWIG_IsOK(res1
)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23794 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23796 if (!SWIG_IsOK(res2
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23799 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->RemoveBrush(arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_Py_Void();
23813 SWIGINTERN PyObject
*_wrap_BrushList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23814 PyObject
*resultobj
= 0;
23815 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23819 PyObject
*swig_obj
[1] ;
23821 if (!args
) SWIG_fail
;
23822 swig_obj
[0] = args
;
23823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23824 if (!SWIG_IsOK(res1
)) {
23825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_GetCount" "', expected argument " "1"" of type '" "wxBrushList *""'");
23827 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (int)(arg1
)->GetCount();
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= SWIG_From_int(static_cast< int >(result
));
23841 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23844 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23845 return SWIG_Py_Void();
23848 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23849 PyObject
*resultobj
= 0;
23850 wxColourDatabase
*result
= 0 ;
23852 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23854 if (!wxPyCheckForApp()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxColourDatabase
*)new wxColourDatabase();
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23867 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 PyObject
*resultobj
= 0;
23869 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23872 PyObject
*swig_obj
[1] ;
23874 if (!args
) SWIG_fail
;
23875 swig_obj
[0] = args
;
23876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23880 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_Py_Void();
23895 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
= 0;
23897 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23898 wxString
*arg2
= 0 ;
23902 bool temp2
= false ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23905 char * kwnames
[] = {
23906 (char *) "self",(char *) "name", NULL
23909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23911 if (!SWIG_IsOK(res1
)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23914 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23916 arg2
= wxString_in_helper(obj1
);
23917 if (arg2
== NULL
) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23941 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
= 0;
23943 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23944 wxColour
*arg2
= 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char * kwnames
[] = {
23952 (char *) "self",(char *) "colour", NULL
23955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23957 if (!SWIG_IsOK(res1
)) {
23958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23960 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23984 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23986 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23987 wxString
*arg2
= 0 ;
23988 wxColour
*arg3
= 0 ;
23991 bool temp2
= false ;
23993 PyObject
* obj0
= 0 ;
23994 PyObject
* obj1
= 0 ;
23995 PyObject
* obj2
= 0 ;
23996 char * kwnames
[] = {
23997 (char *) "self",(char *) "name",(char *) "colour", NULL
24000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24002 if (!SWIG_IsOK(res1
)) {
24003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24005 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24007 arg2
= wxString_in_helper(obj1
);
24008 if (arg2
== NULL
) SWIG_fail
;
24013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= SWIG_Py_Void();
24036 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
= 0;
24038 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
24039 wxString
*arg2
= 0 ;
24045 bool temp2
= false ;
24052 PyObject
* obj0
= 0 ;
24053 PyObject
* obj1
= 0 ;
24054 PyObject
* obj2
= 0 ;
24055 PyObject
* obj3
= 0 ;
24056 PyObject
* obj4
= 0 ;
24057 char * kwnames
[] = {
24058 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24066 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24068 arg2
= wxString_in_helper(obj1
);
24069 if (arg2
== NULL
) SWIG_fail
;
24072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24073 if (!SWIG_IsOK(ecode3
)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24076 arg3
= static_cast< int >(val3
);
24077 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24078 if (!SWIG_IsOK(ecode4
)) {
24079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24081 arg4
= static_cast< int >(val4
);
24082 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24083 if (!SWIG_IsOK(ecode5
)) {
24084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24086 arg5
= static_cast< int >(val5
);
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24093 resultobj
= SWIG_Py_Void();
24108 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24111 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24112 return SWIG_Py_Void();
24115 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 return SWIG_Python_InitShadowInstance(args
);
24119 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24121 wxFontList
*arg1
= (wxFontList
*) 0 ;
24122 wxFont
*arg2
= (wxFont
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char * kwnames
[] = {
24130 (char *) "self",(char *) "font", NULL
24133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24135 if (!SWIG_IsOK(res1
)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
24138 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
24140 if (!SWIG_IsOK(res2
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
24143 arg2
= reinterpret_cast< wxFont
* >(argp2
);
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 (arg1
)->AddFont(arg2
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= SWIG_Py_Void();
24157 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
= 0;
24159 wxFontList
*arg1
= (wxFontList
*) 0 ;
24164 bool arg6
= (bool) false ;
24165 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24167 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
24168 wxFont
*result
= 0 ;
24181 bool temp7
= false ;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 PyObject
* obj2
= 0 ;
24187 PyObject
* obj3
= 0 ;
24188 PyObject
* obj4
= 0 ;
24189 PyObject
* obj5
= 0 ;
24190 PyObject
* obj6
= 0 ;
24191 PyObject
* obj7
= 0 ;
24192 char * kwnames
[] = {
24193 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
24196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24198 if (!SWIG_IsOK(res1
)) {
24199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
24201 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24203 if (!SWIG_IsOK(ecode2
)) {
24204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
24206 arg2
= static_cast< int >(val2
);
24207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24208 if (!SWIG_IsOK(ecode3
)) {
24209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
24211 arg3
= static_cast< int >(val3
);
24212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24213 if (!SWIG_IsOK(ecode4
)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
24216 arg4
= static_cast< int >(val4
);
24217 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24218 if (!SWIG_IsOK(ecode5
)) {
24219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
24221 arg5
= static_cast< int >(val5
);
24223 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
24224 if (!SWIG_IsOK(ecode6
)) {
24225 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
24227 arg6
= static_cast< bool >(val6
);
24231 arg7
= wxString_in_helper(obj6
);
24232 if (arg7
== NULL
) SWIG_fail
;
24237 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24238 if (!SWIG_IsOK(ecode8
)) {
24239 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
24241 arg8
= static_cast< wxFontEncoding
>(val8
);
24244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24264 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxFontList
*arg1
= (wxFontList
*) 0 ;
24267 wxFont
*arg2
= (wxFont
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "font", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
24283 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
24285 if (!SWIG_IsOK(res2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
24288 arg2
= reinterpret_cast< wxFont
* >(argp2
);
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 (arg1
)->RemoveFont(arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_Py_Void();
24302 SWIGINTERN PyObject
*_wrap_FontList_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24303 PyObject
*resultobj
= 0;
24304 wxFontList
*arg1
= (wxFontList
*) 0 ;
24308 PyObject
*swig_obj
[1] ;
24310 if (!args
) SWIG_fail
;
24311 swig_obj
[0] = args
;
24312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_GetCount" "', expected argument " "1"" of type '" "wxFontList *""'");
24316 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (int)(arg1
)->GetCount();
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_From_int(static_cast< int >(result
));
24330 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24333 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
24334 return SWIG_Py_Void();
24337 SWIGINTERN
int TheFontList_set(PyObject
*) {
24338 SWIG_Error(SWIG_AttributeError
,"Variable TheFontList is read-only.");
24343 SWIGINTERN PyObject
*TheFontList_get(void) {
24344 PyObject
*pyobj
= 0;
24346 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheFontList
), SWIGTYPE_p_wxFontList
, 0 );
24351 SWIGINTERN
int ThePenList_set(PyObject
*) {
24352 SWIG_Error(SWIG_AttributeError
,"Variable ThePenList is read-only.");
24357 SWIGINTERN PyObject
*ThePenList_get(void) {
24358 PyObject
*pyobj
= 0;
24360 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxThePenList
), SWIGTYPE_p_wxPenList
, 0 );
24365 SWIGINTERN
int TheBrushList_set(PyObject
*) {
24366 SWIG_Error(SWIG_AttributeError
,"Variable TheBrushList is read-only.");
24371 SWIGINTERN PyObject
*TheBrushList_get(void) {
24372 PyObject
*pyobj
= 0;
24374 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheBrushList
), SWIGTYPE_p_wxBrushList
, 0 );
24379 SWIGINTERN
int TheColourDatabase_set(PyObject
*) {
24380 SWIG_Error(SWIG_AttributeError
,"Variable TheColourDatabase is read-only.");
24385 SWIGINTERN PyObject
*TheColourDatabase_get(void) {
24386 PyObject
*pyobj
= 0;
24388 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheColourDatabase
), SWIGTYPE_p_wxColourDatabase
, 0 );
24393 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24394 PyObject
*resultobj
= 0;
24395 wxEffects
*result
= 0 ;
24397 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (wxEffects
*)new wxEffects();
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24411 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24412 PyObject
*resultobj
= 0;
24413 wxEffects
*arg1
= (wxEffects
*) 0 ;
24417 PyObject
*swig_obj
[1] ;
24419 if (!args
) SWIG_fail
;
24420 swig_obj
[0] = args
;
24421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24425 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24439 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24440 PyObject
*resultobj
= 0;
24441 wxEffects
*arg1
= (wxEffects
*) 0 ;
24445 PyObject
*swig_obj
[1] ;
24447 if (!args
) SWIG_fail
;
24448 swig_obj
[0] = args
;
24449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24453 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24467 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24468 PyObject
*resultobj
= 0;
24469 wxEffects
*arg1
= (wxEffects
*) 0 ;
24473 PyObject
*swig_obj
[1] ;
24475 if (!args
) SWIG_fail
;
24476 swig_obj
[0] = args
;
24477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24478 if (!SWIG_IsOK(res1
)) {
24479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24481 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24495 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24496 PyObject
*resultobj
= 0;
24497 wxEffects
*arg1
= (wxEffects
*) 0 ;
24501 PyObject
*swig_obj
[1] ;
24503 if (!args
) SWIG_fail
;
24504 swig_obj
[0] = args
;
24505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24506 if (!SWIG_IsOK(res1
)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24509 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24523 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24524 PyObject
*resultobj
= 0;
24525 wxEffects
*arg1
= (wxEffects
*) 0 ;
24529 PyObject
*swig_obj
[1] ;
24531 if (!args
) SWIG_fail
;
24532 swig_obj
[0] = args
;
24533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24537 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24551 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
= 0;
24553 wxEffects
*arg1
= (wxEffects
*) 0 ;
24554 wxColour
*arg2
= 0 ;
24558 PyObject
* obj0
= 0 ;
24559 PyObject
* obj1
= 0 ;
24560 char * kwnames
[] = {
24561 (char *) "self",(char *) "c", NULL
24564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24566 if (!SWIG_IsOK(res1
)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24569 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24572 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_Py_Void();
24587 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
= 0;
24589 wxEffects
*arg1
= (wxEffects
*) 0 ;
24590 wxColour
*arg2
= 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 char * kwnames
[] = {
24597 (char *) "self",(char *) "c", NULL
24600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24602 if (!SWIG_IsOK(res1
)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24605 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24608 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_Py_Void();
24623 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
= 0;
24625 wxEffects
*arg1
= (wxEffects
*) 0 ;
24626 wxColour
*arg2
= 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char * kwnames
[] = {
24633 (char *) "self",(char *) "c", NULL
24636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24641 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24644 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= SWIG_Py_Void();
24659 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
= 0;
24661 wxEffects
*arg1
= (wxEffects
*) 0 ;
24662 wxColour
*arg2
= 0 ;
24666 PyObject
* obj0
= 0 ;
24667 PyObject
* obj1
= 0 ;
24668 char * kwnames
[] = {
24669 (char *) "self",(char *) "c", NULL
24672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24674 if (!SWIG_IsOK(res1
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24677 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24680 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_Py_Void();
24695 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxEffects
*arg1
= (wxEffects
*) 0 ;
24698 wxColour
*arg2
= 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "self",(char *) "c", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24713 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24716 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_Py_Void();
24731 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
= 0;
24733 wxEffects
*arg1
= (wxEffects
*) 0 ;
24734 wxColour
*arg2
= 0 ;
24735 wxColour
*arg3
= 0 ;
24736 wxColour
*arg4
= 0 ;
24737 wxColour
*arg5
= 0 ;
24738 wxColour
*arg6
= 0 ;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 PyObject
* obj2
= 0 ;
24749 PyObject
* obj3
= 0 ;
24750 PyObject
* obj4
= 0 ;
24751 PyObject
* obj5
= 0 ;
24752 char * kwnames
[] = {
24753 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24758 if (!SWIG_IsOK(res1
)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24761 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24768 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24772 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24776 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24780 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= SWIG_Py_Void();
24795 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
= 0;
24797 wxEffects
*arg1
= (wxEffects
*) 0 ;
24800 int arg4
= (int) 1 ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 PyObject
* obj2
= 0 ;
24811 PyObject
* obj3
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24821 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24823 if (!SWIG_IsOK(res2
)) {
24824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24829 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24832 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24836 if (!SWIG_IsOK(ecode4
)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24839 arg4
= static_cast< int >(val4
);
24842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24843 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24844 wxPyEndAllowThreads(__tstate
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 resultobj
= SWIG_Py_Void();
24854 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
= 0;
24856 wxEffects
*arg1
= (wxEffects
*) 0 ;
24859 wxBitmap
*arg4
= 0 ;
24868 PyObject
* obj0
= 0 ;
24869 PyObject
* obj1
= 0 ;
24870 PyObject
* obj2
= 0 ;
24871 PyObject
* obj3
= 0 ;
24872 char * kwnames
[] = {
24873 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24878 if (!SWIG_IsOK(res1
)) {
24879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24881 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24884 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24886 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24887 if (!SWIG_IsOK(res3
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24893 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24894 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24895 if (!SWIG_IsOK(res4
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24901 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24917 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24920 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24921 return SWIG_Py_Void();
24924 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24925 return SWIG_Python_InitShadowInstance(args
);
24928 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
= 0;
24933 wxSplitterRenderParams
*result
= 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 PyObject
* obj2
= 0 ;
24943 char * kwnames
[] = {
24944 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24949 if (!SWIG_IsOK(ecode1
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24952 arg1
= static_cast< int >(val1
);
24953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24954 if (!SWIG_IsOK(ecode2
)) {
24955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24957 arg2
= static_cast< int >(val2
);
24958 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24959 if (!SWIG_IsOK(ecode3
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24962 arg3
= static_cast< bool >(val3
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24976 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24977 PyObject
*resultobj
= 0;
24978 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24981 PyObject
*swig_obj
[1] ;
24983 if (!args
) SWIG_fail
;
24984 swig_obj
[0] = args
;
24985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24989 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 PyObject
*resultobj
= 0;
25006 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
25010 PyObject
*swig_obj
[1] ;
25012 if (!args
) SWIG_fail
;
25013 swig_obj
[0] = args
;
25014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
25018 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
25019 result
= (int)(int) ((arg1
)->widthSash
);
25020 resultobj
= SWIG_From_int(static_cast< int >(result
));
25027 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25028 PyObject
*resultobj
= 0;
25029 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
25033 PyObject
*swig_obj
[1] ;
25035 if (!args
) SWIG_fail
;
25036 swig_obj
[0] = args
;
25037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
25041 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
25042 result
= (int)(int) ((arg1
)->border
);
25043 resultobj
= SWIG_From_int(static_cast< int >(result
));
25050 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25051 PyObject
*resultobj
= 0;
25052 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
25056 PyObject
*swig_obj
[1] ;
25058 if (!args
) SWIG_fail
;
25059 swig_obj
[0] = args
;
25060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
25064 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
25065 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
25066 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
25073 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25076 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
25077 return SWIG_Py_Void();
25080 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25081 return SWIG_Python_InitShadowInstance(args
);
25084 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= 0;
25088 wxRendererVersion
*result
= 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char * kwnames
[] = {
25096 (char *) "version_",(char *) "age_", NULL
25099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25101 if (!SWIG_IsOK(ecode1
)) {
25102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
25104 arg1
= static_cast< int >(val1
);
25105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25106 if (!SWIG_IsOK(ecode2
)) {
25107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
25109 arg2
= static_cast< int >(val2
);
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
25123 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25124 PyObject
*resultobj
= 0;
25125 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25128 PyObject
*swig_obj
[1] ;
25130 if (!args
) SWIG_fail
;
25131 swig_obj
[0] = args
;
25132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
25133 if (!SWIG_IsOK(res1
)) {
25134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25136 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_Py_Void();
25151 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
= 0;
25153 wxRendererVersion
*arg1
= 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char * kwnames
[] = {
25159 (char *) "ver", NULL
25162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
25163 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
25168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
25170 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 PyObject
*resultobj
= 0;
25188 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25192 PyObject
*swig_obj
[1] ;
25194 if (!args
) SWIG_fail
;
25195 swig_obj
[0] = args
;
25196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25200 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25201 result
= (int)(int) ((arg1
)->version
);
25202 resultobj
= SWIG_From_int(static_cast< int >(result
));
25209 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25210 PyObject
*resultobj
= 0;
25211 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
25215 PyObject
*swig_obj
[1] ;
25217 if (!args
) SWIG_fail
;
25218 swig_obj
[0] = args
;
25219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
25223 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
25224 result
= (int)(int) ((arg1
)->age
);
25225 resultobj
= SWIG_From_int(static_cast< int >(result
));
25232 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25235 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
25236 return SWIG_Py_Void();
25239 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25240 return SWIG_Python_InitShadowInstance(args
);
25243 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
= 0;
25245 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25246 wxWindow
*arg2
= (wxWindow
*) 0 ;
25249 int arg5
= (int) 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 PyObject
* obj2
= 0 ;
25262 PyObject
* obj3
= 0 ;
25263 PyObject
* obj4
= 0 ;
25264 char * kwnames
[] = {
25265 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25270 if (!SWIG_IsOK(res1
)) {
25271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25273 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25275 if (!SWIG_IsOK(res2
)) {
25276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25279 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25280 if (!SWIG_IsOK(res3
)) {
25281 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25286 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25289 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25292 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25293 if (!SWIG_IsOK(ecode5
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25296 arg5
= static_cast< int >(val5
);
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= SWIG_Py_Void();
25311 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
= 0;
25313 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25314 wxWindow
*arg2
= (wxWindow
*) 0 ;
25317 int arg5
= (int) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 PyObject
* obj2
= 0 ;
25330 PyObject
* obj3
= 0 ;
25331 PyObject
* obj4
= 0 ;
25332 char * kwnames
[] = {
25333 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25338 if (!SWIG_IsOK(res1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25341 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25343 if (!SWIG_IsOK(res2
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25346 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25347 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25348 if (!SWIG_IsOK(res3
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25354 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25357 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25361 if (!SWIG_IsOK(ecode5
)) {
25362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25364 arg5
= static_cast< int >(val5
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_Py_Void();
25379 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
= 0;
25381 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25382 wxWindow
*arg2
= (wxWindow
*) 0 ;
25385 int arg5
= (int) 0 ;
25395 PyObject
* obj0
= 0 ;
25396 PyObject
* obj1
= 0 ;
25397 PyObject
* obj2
= 0 ;
25398 PyObject
* obj3
= 0 ;
25399 PyObject
* obj4
= 0 ;
25400 char * kwnames
[] = {
25401 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25406 if (!SWIG_IsOK(res1
)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25409 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25411 if (!SWIG_IsOK(res2
)) {
25412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25415 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25416 if (!SWIG_IsOK(res3
)) {
25417 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25422 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25425 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25429 if (!SWIG_IsOK(ecode5
)) {
25430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25432 arg5
= static_cast< int >(val5
);
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25437 wxPyEndAllowThreads(__tstate
);
25438 if (PyErr_Occurred()) SWIG_fail
;
25440 resultobj
= SWIG_Py_Void();
25447 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= 0;
25449 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25450 wxWindow
*arg2
= (wxWindow
*) 0 ;
25454 wxOrientation arg6
;
25455 int arg7
= (int) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 PyObject
* obj2
= 0 ;
25472 PyObject
* obj3
= 0 ;
25473 PyObject
* obj4
= 0 ;
25474 PyObject
* obj5
= 0 ;
25475 PyObject
* obj6
= 0 ;
25476 char * kwnames
[] = {
25477 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25485 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25486 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25487 if (!SWIG_IsOK(res2
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25490 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25491 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25492 if (!SWIG_IsOK(res3
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25498 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25503 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25504 if (!SWIG_IsOK(ecode5
)) {
25505 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25507 arg5
= static_cast< int >(val5
);
25508 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25509 if (!SWIG_IsOK(ecode6
)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25512 arg6
= static_cast< wxOrientation
>(val6
);
25514 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25515 if (!SWIG_IsOK(ecode7
)) {
25516 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25518 arg7
= static_cast< int >(val7
);
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= SWIG_Py_Void();
25533 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
= 0;
25535 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25536 wxWindow
*arg2
= (wxWindow
*) 0 ;
25539 int arg5
= (int) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 PyObject
* obj2
= 0 ;
25552 PyObject
* obj3
= 0 ;
25553 PyObject
* obj4
= 0 ;
25554 char * kwnames
[] = {
25555 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25560 if (!SWIG_IsOK(res1
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25563 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25565 if (!SWIG_IsOK(res2
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25568 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25569 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25570 if (!SWIG_IsOK(res3
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25576 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25579 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25583 if (!SWIG_IsOK(ecode5
)) {
25584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25586 arg5
= static_cast< int >(val5
);
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_Py_Void();
25601 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
= 0;
25603 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25604 wxWindow
*arg2
= (wxWindow
*) 0 ;
25607 int arg5
= (int) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 PyObject
* obj1
= 0 ;
25619 PyObject
* obj2
= 0 ;
25620 PyObject
* obj3
= 0 ;
25621 PyObject
* obj4
= 0 ;
25622 char * kwnames
[] = {
25623 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25631 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25633 if (!SWIG_IsOK(res2
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25636 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25637 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25638 if (!SWIG_IsOK(res3
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25644 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25647 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25650 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25651 if (!SWIG_IsOK(ecode5
)) {
25652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25654 arg5
= static_cast< int >(val5
);
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_Py_Void();
25669 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
= 0;
25671 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25672 wxWindow
*arg2
= (wxWindow
*) 0 ;
25673 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 char * kwnames
[] = {
25681 (char *) "self",(char *) "win", NULL
25684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25689 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25691 if (!SWIG_IsOK(res2
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25694 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25708 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxRendererNative
*result
= 0 ;
25712 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25717 result
= (wxRendererNative
*) &_result_ref
;
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25729 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25730 PyObject
*resultobj
= 0;
25731 wxRendererNative
*result
= 0 ;
25733 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25738 result
= (wxRendererNative
*) &_result_ref
;
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25750 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25751 PyObject
*resultobj
= 0;
25752 wxRendererNative
*result
= 0 ;
25754 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25759 result
= (wxRendererNative
*) &_result_ref
;
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25771 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25774 wxRendererNative
*result
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 char * kwnames
[] = {
25779 (char *) "renderer", NULL
25782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25787 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25801 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25802 PyObject
*resultobj
= 0;
25803 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25804 SwigValueWrapper
<wxRendererVersion
> result
;
25807 PyObject
*swig_obj
[1] ;
25809 if (!args
) SWIG_fail
;
25810 swig_obj
[0] = args
;
25811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25815 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25829 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25832 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25833 return SWIG_Py_Void();
25836 static PyMethodDef SwigMethods
[] = {
25837 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25838 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25839 { (char *)"GDIObject_GetVisible", (PyCFunction
)_wrap_GDIObject_GetVisible
, METH_O
, NULL
},
25840 { (char *)"GDIObject_SetVisible", (PyCFunction
) _wrap_GDIObject_SetVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25842 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25843 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25844 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25848 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25849 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25850 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25851 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25852 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25856 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25859 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25860 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25861 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25862 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25864 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25867 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25868 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25869 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25870 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25872 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25873 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25874 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25875 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25876 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25877 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25878 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25885 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
25887 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
25888 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25892 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25893 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25896 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25900 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25901 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25902 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25903 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25904 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25905 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25906 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25908 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
25914 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25916 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25917 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25918 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25919 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25920 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25921 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25922 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25928 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25938 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25939 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25941 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25942 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25943 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25945 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25946 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
25951 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25953 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25954 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25955 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25956 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25962 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25963 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25965 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25966 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25968 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25970 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25971 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25972 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25973 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25976 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25980 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25981 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25983 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
25986 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25988 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
25989 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
25990 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
25991 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25994 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25996 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25997 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
26002 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
26003 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
26009 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
26013 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
26023 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26025 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
26026 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
26027 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
26029 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
26030 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
26031 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
26032 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
26033 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
26034 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
26035 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
26036 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
26037 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
26038 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
26039 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
26040 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
26041 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
26042 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
26043 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
26044 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
26045 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
26047 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
26048 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
26049 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
26050 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
26051 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
26052 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
26053 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
26054 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26055 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26056 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26059 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
26064 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
26065 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
26067 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
26068 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
26069 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
26070 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
26071 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
26072 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
26073 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
26074 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
26075 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
26077 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
26078 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
26079 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
26082 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
26083 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
26084 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
26087 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26092 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
26093 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26094 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26096 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26097 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
26098 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
26099 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26100 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
26101 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26102 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26106 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
26107 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26108 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26109 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
26110 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
26111 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
26112 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
26113 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
26114 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
26115 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
26116 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
26117 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
26118 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
26119 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
26120 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
26121 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
26122 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26123 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26124 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26125 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26126 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26127 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26128 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26129 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26130 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
26134 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
26135 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
26136 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26137 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
26138 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
26139 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26140 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
26141 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
26142 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
26143 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
26144 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26145 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26146 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
26148 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
26149 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
26150 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
26151 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
26152 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
26153 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
26154 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
26155 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
26156 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
26157 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
26158 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
26160 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
26163 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
26164 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
26165 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
26166 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
26167 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
26168 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
26169 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
26170 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26171 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26172 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26173 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26174 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26177 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
26179 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
26180 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
26181 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
26182 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
26183 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
26184 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
26185 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
26191 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
26192 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
26193 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26200 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26202 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26203 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26204 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26208 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26210 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26211 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26212 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26213 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26214 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26215 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26220 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26221 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26222 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26223 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26226 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26230 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26231 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26232 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26233 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26234 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26235 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26236 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26237 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26238 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26239 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26240 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26241 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
26242 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26243 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
26244 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
26245 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
26246 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26247 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26248 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26249 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26250 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26251 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26252 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
26253 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
26254 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
26255 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
26256 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
26257 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26260 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26261 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
26262 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
26263 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
26264 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
26265 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26266 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26267 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26268 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26269 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26270 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26271 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26272 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26273 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
26274 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
26275 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
26276 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
26277 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
26278 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
26279 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
26280 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
26281 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
26282 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
26283 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
26284 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
26285 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26286 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26287 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
26288 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26289 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
26290 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26291 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
26292 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26293 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
26294 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
26295 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26296 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26297 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
26298 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
26299 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26300 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26301 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26302 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
26303 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26304 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
26305 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26306 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26307 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
26308 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
26309 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
26310 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
26311 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
26312 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
26313 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
26314 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26315 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26316 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26317 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26318 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26319 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26320 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
26321 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
26322 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26323 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26324 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
26325 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
26326 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
26327 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
26328 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
26329 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
26330 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
26331 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26332 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
26333 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
26334 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
26335 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26336 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26337 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
26338 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
26339 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
26340 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26341 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
26342 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
26343 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26344 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
26345 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
26346 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26347 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
26348 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
26349 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26350 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
26351 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
26352 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26353 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
26354 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26355 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26356 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
26357 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
26358 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
26359 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26360 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
26361 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
26362 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26363 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
26364 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
26365 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
26366 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
26367 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
26368 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
26369 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26370 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
26371 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
26372 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
26373 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26374 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
26375 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
26376 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26377 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
26378 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26379 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26380 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26381 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26382 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26383 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26384 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26385 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
26386 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26387 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
26388 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26389 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
26390 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
26391 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26392 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26393 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26394 { (char *)"PenList_GetCount", (PyCFunction
)_wrap_PenList_GetCount
, METH_O
, NULL
},
26395 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
26396 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26397 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26398 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26399 { (char *)"BrushList_GetCount", (PyCFunction
)_wrap_BrushList_GetCount
, METH_O
, NULL
},
26400 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
26401 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
26402 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
26403 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26404 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26405 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26406 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26407 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
26408 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
26409 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26410 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26411 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26412 { (char *)"FontList_GetCount", (PyCFunction
)_wrap_FontList_GetCount
, METH_O
, NULL
},
26413 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
26414 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
26415 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
26416 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
26417 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
26418 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
26419 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
26420 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26421 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26422 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26423 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26424 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26425 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26426 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26427 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26428 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
26429 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
26430 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26431 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
26432 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
26433 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
26434 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
26435 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
26436 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
26437 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26438 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
26439 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26440 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
26441 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
26442 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
26443 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
26444 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26445 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26446 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26447 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26448 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26449 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26450 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26451 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
26452 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
26453 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
26454 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26455 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
26456 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
26457 { NULL
, NULL
, 0, NULL
}
26461 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26463 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
26464 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
26466 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
26467 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26469 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
26470 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
26472 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
26473 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
26475 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
26476 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
26478 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
26479 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
26481 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
26482 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
26484 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
26485 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
26487 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
26488 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
26490 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
26491 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
26493 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
26494 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
26496 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
26497 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
26499 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
26500 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
26502 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
26503 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
26505 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
26506 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
26508 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
26509 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
26511 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
26512 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26514 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
26515 return (void *)((wxDC
*) ((wxClientDC
*) x
));
26517 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
26518 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
26520 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
26521 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
26523 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
26524 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
26526 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
26527 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26529 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26530 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26532 static void *_p_wxPenTo_p_wxObject(void *x
) {
26533 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
26535 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
26536 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
26538 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26539 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26541 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26542 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26544 static void *_p_wxColourDatabaseTo_p_wxObject(void *x
) {
26545 return (void *)((wxObject
*) ((wxColourDatabase
*) x
));
26547 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26550 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26551 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26553 static void *_p_wxIconTo_p_wxObject(void *x
) {
26554 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
26556 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26557 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26559 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26560 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26562 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26563 return (void *)((wxObject
*) ((wxSizer
*) x
));
26565 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26566 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26568 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26571 static void *_p_wxPenListTo_p_wxObject(void *x
) {
26572 return (void *)((wxObject
*) ((wxPenList
*) x
));
26574 static void *_p_wxEventTo_p_wxObject(void *x
) {
26575 return (void *)((wxObject
*) ((wxEvent
*) x
));
26577 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26578 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26580 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26581 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26583 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26584 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26586 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26587 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26589 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26590 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26592 static void *_p_wxDCTo_p_wxObject(void *x
) {
26593 return (void *)((wxObject
*) ((wxDC
*) x
));
26595 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26596 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26598 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26599 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26601 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26602 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26604 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26605 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26607 static void *_p_wxControlTo_p_wxObject(void *x
) {
26608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26610 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26611 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26613 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
26614 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
26616 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26617 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26619 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
26620 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
26622 static void *_p_wxRegionTo_p_wxObject(void *x
) {
26623 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
26625 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26626 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26628 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
26629 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
26631 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
26632 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
26634 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
26635 return (void *)((wxObject
*) ((wxEffects
*) x
));
26637 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26638 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26640 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26643 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
26644 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
26646 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26647 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26649 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26650 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26652 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
26653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
26655 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26656 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26658 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26659 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26661 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26662 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26664 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26665 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26667 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26668 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26670 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26671 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26673 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26674 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26676 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26677 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26679 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26682 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26683 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26685 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26686 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26688 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26689 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26691 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26694 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26695 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26697 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26698 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26700 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26701 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26703 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26706 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
26707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
26709 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26710 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26712 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26715 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26718 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26719 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26721 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
26722 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26724 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
26725 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
26727 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
26728 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
26730 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
26731 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
26733 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
26734 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
26736 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26737 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26739 static void *_p_wxImageTo_p_wxObject(void *x
) {
26740 return (void *)((wxObject
*) ((wxImage
*) x
));
26742 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26743 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26745 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
26746 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
26748 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
26749 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
26751 static void *_p_wxImageListTo_p_wxObject(void *x
) {
26752 return (void *)((wxObject
*) ((wxImageList
*) x
));
26754 static void *_p_wxCursorTo_p_wxObject(void *x
) {
26755 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
26757 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
26758 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
26760 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
26761 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
26763 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26764 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26766 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26767 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26769 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26770 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26772 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26773 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26775 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26776 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26778 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26781 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
26782 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
26784 static void *_p_wxBrushListTo_p_wxObject(void *x
) {
26785 return (void *)((wxObject
*) ((wxBrushList
*) x
));
26787 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26788 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26790 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26791 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26793 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26794 return (void *)((wxObject
*) ((wxMask
*) x
));
26796 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26799 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26800 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26802 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26803 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26805 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26806 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26808 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26809 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26811 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26812 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26814 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26817 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26818 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26820 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26821 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26823 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26824 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26826 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26829 static void *_p_wxFontTo_p_wxObject(void *x
) {
26830 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26832 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26833 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26835 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26836 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26838 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26841 static void *_p_wxColourTo_p_wxObject(void *x
) {
26842 return (void *)((wxObject
*) ((wxColour
*) x
));
26844 static void *_p_wxFontListTo_p_wxObject(void *x
) {
26845 return (void *)((wxObject
*) ((wxFontList
*) x
));
26847 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26850 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26851 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26853 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26854 return (void *)((wxWindow
*) ((wxControl
*) x
));
26856 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26857 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26859 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26860 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26862 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26863 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26864 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};
26865 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26866 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26867 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26868 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26869 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26870 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26871 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26872 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26873 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26874 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26875 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26876 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26877 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26878 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26879 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26880 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26881 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26882 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26883 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26884 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26885 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26886 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26887 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26888 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26889 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26890 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26891 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26892 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26893 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26894 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26895 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26896 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26897 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26898 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26899 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26900 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26901 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26902 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26903 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26904 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26905 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26906 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26907 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26908 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26909 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26910 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26911 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26912 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26913 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26914 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26915 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26916 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26917 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26918 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26919 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26920 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26921 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26922 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26923 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26924 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26925 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26926 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26927 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26928 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26929 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26930 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26931 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26932 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26933 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26934 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26935 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26936 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26937 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26938 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26939 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26940 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26941 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26942 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26943 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26944 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26945 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26946 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26947 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26948 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26949 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26950 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26951 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26952 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26953 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26954 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26955 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26956 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26957 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26958 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26959 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26960 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26961 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26962 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26963 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26964 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26965 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26966 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26967 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26968 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26969 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26970 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26971 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26972 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26973 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26974 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26975 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26976 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26977 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26978 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26979 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26980 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26981 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26982 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26983 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26984 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26985 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26986 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26987 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26988 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26989 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26990 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26991 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26992 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26993 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26994 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26995 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26996 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26998 static swig_type_info
*swig_type_initial
[] = {
27001 &_swigt__p_form_ops_t
,
27003 &_swigt__p_unsigned_char
,
27004 &_swigt__p_unsigned_int
,
27005 &_swigt__p_unsigned_long
,
27006 &_swigt__p_wxANIHandler
,
27007 &_swigt__p_wxAcceleratorTable
,
27008 &_swigt__p_wxActivateEvent
,
27009 &_swigt__p_wxBMPHandler
,
27010 &_swigt__p_wxBitmap
,
27011 &_swigt__p_wxBoxSizer
,
27012 &_swigt__p_wxBrush
,
27013 &_swigt__p_wxBrushList
,
27014 &_swigt__p_wxBufferedDC
,
27015 &_swigt__p_wxBufferedPaintDC
,
27016 &_swigt__p_wxCURHandler
,
27017 &_swigt__p_wxChildFocusEvent
,
27018 &_swigt__p_wxClientDC
,
27019 &_swigt__p_wxCloseEvent
,
27020 &_swigt__p_wxColour
,
27021 &_swigt__p_wxColourDatabase
,
27022 &_swigt__p_wxCommandEvent
,
27023 &_swigt__p_wxContextMenuEvent
,
27024 &_swigt__p_wxControl
,
27025 &_swigt__p_wxControlWithItems
,
27026 &_swigt__p_wxCursor
,
27029 &_swigt__p_wxDateEvent
,
27030 &_swigt__p_wxDisplayChangedEvent
,
27031 &_swigt__p_wxDropFilesEvent
,
27032 &_swigt__p_wxDuplexMode
,
27033 &_swigt__p_wxEffects
,
27034 &_swigt__p_wxEncodingConverter
,
27035 &_swigt__p_wxEraseEvent
,
27036 &_swigt__p_wxEvent
,
27037 &_swigt__p_wxEvtHandler
,
27038 &_swigt__p_wxFSFile
,
27039 &_swigt__p_wxFileSystem
,
27040 &_swigt__p_wxFlexGridSizer
,
27041 &_swigt__p_wxFocusEvent
,
27043 &_swigt__p_wxFontList
,
27044 &_swigt__p_wxFontMapper
,
27045 &_swigt__p_wxGBSizerItem
,
27046 &_swigt__p_wxGDIObject
,
27047 &_swigt__p_wxGIFHandler
,
27048 &_swigt__p_wxGridBagSizer
,
27049 &_swigt__p_wxGridSizer
,
27050 &_swigt__p_wxICOHandler
,
27052 &_swigt__p_wxIconBundle
,
27053 &_swigt__p_wxIconLocation
,
27054 &_swigt__p_wxIconizeEvent
,
27055 &_swigt__p_wxIdleEvent
,
27056 &_swigt__p_wxImage
,
27057 &_swigt__p_wxImageHandler
,
27058 &_swigt__p_wxImageList
,
27059 &_swigt__p_wxIndividualLayoutConstraint
,
27060 &_swigt__p_wxInitDialogEvent
,
27061 &_swigt__p_wxJPEGHandler
,
27062 &_swigt__p_wxKeyEvent
,
27063 &_swigt__p_wxLanguageInfo
,
27064 &_swigt__p_wxLayoutConstraints
,
27065 &_swigt__p_wxLocale
,
27067 &_swigt__p_wxMaximizeEvent
,
27068 &_swigt__p_wxMemoryDC
,
27070 &_swigt__p_wxMenuBar
,
27071 &_swigt__p_wxMenuEvent
,
27072 &_swigt__p_wxMenuItem
,
27073 &_swigt__p_wxMetaFile
,
27074 &_swigt__p_wxMetaFileDC
,
27075 &_swigt__p_wxMirrorDC
,
27076 &_swigt__p_wxMouseCaptureChangedEvent
,
27077 &_swigt__p_wxMouseEvent
,
27078 &_swigt__p_wxMoveEvent
,
27079 &_swigt__p_wxNativeEncodingInfo
,
27080 &_swigt__p_wxNativeFontInfo
,
27081 &_swigt__p_wxNavigationKeyEvent
,
27082 &_swigt__p_wxNcPaintEvent
,
27083 &_swigt__p_wxNotifyEvent
,
27084 &_swigt__p_wxObject
,
27085 &_swigt__p_wxPCXHandler
,
27086 &_swigt__p_wxPNGHandler
,
27087 &_swigt__p_wxPNMHandler
,
27088 &_swigt__p_wxPaintDC
,
27089 &_swigt__p_wxPaintEvent
,
27090 &_swigt__p_wxPalette
,
27091 &_swigt__p_wxPaletteChangedEvent
,
27092 &_swigt__p_wxPaperSize
,
27094 &_swigt__p_wxPenList
,
27095 &_swigt__p_wxPoint
,
27096 &_swigt__p_wxPostScriptDC
,
27097 &_swigt__p_wxPrintData
,
27098 &_swigt__p_wxPrinterDC
,
27099 &_swigt__p_wxPyApp
,
27100 &_swigt__p_wxPyCommandEvent
,
27101 &_swigt__p_wxPyEvent
,
27102 &_swigt__p_wxPyFontEnumerator
,
27103 &_swigt__p_wxPyImageHandler
,
27104 &_swigt__p_wxPySizer
,
27105 &_swigt__p_wxPyValidator
,
27106 &_swigt__p_wxQueryNewPaletteEvent
,
27108 &_swigt__p_wxRegion
,
27109 &_swigt__p_wxRegionIterator
,
27110 &_swigt__p_wxRendererNative
,
27111 &_swigt__p_wxRendererVersion
,
27112 &_swigt__p_wxScreenDC
,
27113 &_swigt__p_wxScrollEvent
,
27114 &_swigt__p_wxScrollWinEvent
,
27115 &_swigt__p_wxSetCursorEvent
,
27116 &_swigt__p_wxShowEvent
,
27118 &_swigt__p_wxSizeEvent
,
27119 &_swigt__p_wxSizer
,
27120 &_swigt__p_wxSizerItem
,
27121 &_swigt__p_wxSplitterRenderParams
,
27122 &_swigt__p_wxStaticBoxSizer
,
27123 &_swigt__p_wxStdDialogButtonSizer
,
27124 &_swigt__p_wxString
,
27125 &_swigt__p_wxSysColourChangedEvent
,
27126 &_swigt__p_wxTIFFHandler
,
27127 &_swigt__p_wxUpdateUIEvent
,
27128 &_swigt__p_wxValidator
,
27129 &_swigt__p_wxWindow
,
27130 &_swigt__p_wxWindowCreateEvent
,
27131 &_swigt__p_wxWindowDC
,
27132 &_swigt__p_wxWindowDestroyEvent
,
27133 &_swigt__p_wxXPMHandler
,
27136 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
27137 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
27138 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
27139 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
27140 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
27141 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
27142 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
27143 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
27144 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
27145 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
27146 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}};
27147 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27148 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
27149 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
27150 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
27151 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
27152 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}};
27153 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
27154 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
27155 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
27156 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
27157 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
27158 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
27159 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
27160 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}};
27161 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
27162 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
27163 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
27164 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
27165 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
27166 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
27167 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
27168 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
27169 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}};
27170 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
27171 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
27172 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
27173 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
27174 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
27175 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
27176 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27177 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27178 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
27179 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
27180 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27181 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27182 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27183 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
27184 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
27185 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
27186 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
27187 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27188 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27189 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
27190 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27191 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27192 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27193 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27194 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27195 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27196 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
27197 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
27198 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
27199 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
27200 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27201 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27202 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
27203 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
27204 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27205 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
27206 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27207 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
27208 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27209 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27210 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27211 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
27212 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27213 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
27214 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
27215 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
27216 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
27217 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27218 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27219 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27220 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27221 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
27222 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27223 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27224 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
27225 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27226 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27227 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
27228 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
27229 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
27230 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27231 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27232 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27233 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
27234 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
27235 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27236 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27237 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
27238 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27239 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27240 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27241 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27242 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27243 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
27244 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27245 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27246 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
27247 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
27248 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
27249 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_wxColourDatabase
, _p_wxColourDatabaseTo_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_wxPenList
, _p_wxPenListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxPNGHandler
, _p_wxPNGHandlerTo_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_wxBrushList
, _p_wxBrushListTo_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_wxFontList
, _p_wxFontListTo_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}};
27250 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27251 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
27252 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
27253 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
27254 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
27255 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
27256 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
27257 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
27258 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
27259 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
27260 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
27261 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
27262 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
27263 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
27264 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
27265 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
27266 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
27267 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
27268 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
27269 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}};
27270 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
27272 static swig_cast_info
*swig_cast_initial
[] = {
27275 _swigc__p_form_ops_t
,
27277 _swigc__p_unsigned_char
,
27278 _swigc__p_unsigned_int
,
27279 _swigc__p_unsigned_long
,
27280 _swigc__p_wxANIHandler
,
27281 _swigc__p_wxAcceleratorTable
,
27282 _swigc__p_wxActivateEvent
,
27283 _swigc__p_wxBMPHandler
,
27284 _swigc__p_wxBitmap
,
27285 _swigc__p_wxBoxSizer
,
27287 _swigc__p_wxBrushList
,
27288 _swigc__p_wxBufferedDC
,
27289 _swigc__p_wxBufferedPaintDC
,
27290 _swigc__p_wxCURHandler
,
27291 _swigc__p_wxChildFocusEvent
,
27292 _swigc__p_wxClientDC
,
27293 _swigc__p_wxCloseEvent
,
27294 _swigc__p_wxColour
,
27295 _swigc__p_wxColourDatabase
,
27296 _swigc__p_wxCommandEvent
,
27297 _swigc__p_wxContextMenuEvent
,
27298 _swigc__p_wxControl
,
27299 _swigc__p_wxControlWithItems
,
27300 _swigc__p_wxCursor
,
27303 _swigc__p_wxDateEvent
,
27304 _swigc__p_wxDisplayChangedEvent
,
27305 _swigc__p_wxDropFilesEvent
,
27306 _swigc__p_wxDuplexMode
,
27307 _swigc__p_wxEffects
,
27308 _swigc__p_wxEncodingConverter
,
27309 _swigc__p_wxEraseEvent
,
27311 _swigc__p_wxEvtHandler
,
27312 _swigc__p_wxFSFile
,
27313 _swigc__p_wxFileSystem
,
27314 _swigc__p_wxFlexGridSizer
,
27315 _swigc__p_wxFocusEvent
,
27317 _swigc__p_wxFontList
,
27318 _swigc__p_wxFontMapper
,
27319 _swigc__p_wxGBSizerItem
,
27320 _swigc__p_wxGDIObject
,
27321 _swigc__p_wxGIFHandler
,
27322 _swigc__p_wxGridBagSizer
,
27323 _swigc__p_wxGridSizer
,
27324 _swigc__p_wxICOHandler
,
27326 _swigc__p_wxIconBundle
,
27327 _swigc__p_wxIconLocation
,
27328 _swigc__p_wxIconizeEvent
,
27329 _swigc__p_wxIdleEvent
,
27331 _swigc__p_wxImageHandler
,
27332 _swigc__p_wxImageList
,
27333 _swigc__p_wxIndividualLayoutConstraint
,
27334 _swigc__p_wxInitDialogEvent
,
27335 _swigc__p_wxJPEGHandler
,
27336 _swigc__p_wxKeyEvent
,
27337 _swigc__p_wxLanguageInfo
,
27338 _swigc__p_wxLayoutConstraints
,
27339 _swigc__p_wxLocale
,
27341 _swigc__p_wxMaximizeEvent
,
27342 _swigc__p_wxMemoryDC
,
27344 _swigc__p_wxMenuBar
,
27345 _swigc__p_wxMenuEvent
,
27346 _swigc__p_wxMenuItem
,
27347 _swigc__p_wxMetaFile
,
27348 _swigc__p_wxMetaFileDC
,
27349 _swigc__p_wxMirrorDC
,
27350 _swigc__p_wxMouseCaptureChangedEvent
,
27351 _swigc__p_wxMouseEvent
,
27352 _swigc__p_wxMoveEvent
,
27353 _swigc__p_wxNativeEncodingInfo
,
27354 _swigc__p_wxNativeFontInfo
,
27355 _swigc__p_wxNavigationKeyEvent
,
27356 _swigc__p_wxNcPaintEvent
,
27357 _swigc__p_wxNotifyEvent
,
27358 _swigc__p_wxObject
,
27359 _swigc__p_wxPCXHandler
,
27360 _swigc__p_wxPNGHandler
,
27361 _swigc__p_wxPNMHandler
,
27362 _swigc__p_wxPaintDC
,
27363 _swigc__p_wxPaintEvent
,
27364 _swigc__p_wxPalette
,
27365 _swigc__p_wxPaletteChangedEvent
,
27366 _swigc__p_wxPaperSize
,
27368 _swigc__p_wxPenList
,
27370 _swigc__p_wxPostScriptDC
,
27371 _swigc__p_wxPrintData
,
27372 _swigc__p_wxPrinterDC
,
27374 _swigc__p_wxPyCommandEvent
,
27375 _swigc__p_wxPyEvent
,
27376 _swigc__p_wxPyFontEnumerator
,
27377 _swigc__p_wxPyImageHandler
,
27378 _swigc__p_wxPySizer
,
27379 _swigc__p_wxPyValidator
,
27380 _swigc__p_wxQueryNewPaletteEvent
,
27382 _swigc__p_wxRegion
,
27383 _swigc__p_wxRegionIterator
,
27384 _swigc__p_wxRendererNative
,
27385 _swigc__p_wxRendererVersion
,
27386 _swigc__p_wxScreenDC
,
27387 _swigc__p_wxScrollEvent
,
27388 _swigc__p_wxScrollWinEvent
,
27389 _swigc__p_wxSetCursorEvent
,
27390 _swigc__p_wxShowEvent
,
27392 _swigc__p_wxSizeEvent
,
27394 _swigc__p_wxSizerItem
,
27395 _swigc__p_wxSplitterRenderParams
,
27396 _swigc__p_wxStaticBoxSizer
,
27397 _swigc__p_wxStdDialogButtonSizer
,
27398 _swigc__p_wxString
,
27399 _swigc__p_wxSysColourChangedEvent
,
27400 _swigc__p_wxTIFFHandler
,
27401 _swigc__p_wxUpdateUIEvent
,
27402 _swigc__p_wxValidator
,
27403 _swigc__p_wxWindow
,
27404 _swigc__p_wxWindowCreateEvent
,
27405 _swigc__p_wxWindowDC
,
27406 _swigc__p_wxWindowDestroyEvent
,
27407 _swigc__p_wxXPMHandler
,
27411 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27413 static swig_const_info swig_const_table
[] = {
27414 {0, 0, 0, 0.0, 0, 0}};
27419 /* -----------------------------------------------------------------------------
27420 * Type initialization:
27421 * This problem is tough by the requirement that no dynamic
27422 * memory is used. Also, since swig_type_info structures store pointers to
27423 * swig_cast_info structures and swig_cast_info structures store pointers back
27424 * to swig_type_info structures, we need some lookup code at initialization.
27425 * The idea is that swig generates all the structures that are needed.
27426 * The runtime then collects these partially filled structures.
27427 * The SWIG_InitializeModule function takes these initial arrays out of
27428 * swig_module, and does all the lookup, filling in the swig_module.types
27429 * array with the correct data and linking the correct swig_cast_info
27430 * structures together.
27432 * The generated swig_type_info structures are assigned staticly to an initial
27433 * array. We just loop though that array, and handle each type individually.
27434 * First we lookup if this type has been already loaded, and if so, use the
27435 * loaded structure instead of the generated one. Then we have to fill in the
27436 * cast linked list. The cast data is initially stored in something like a
27437 * two-dimensional array. Each row corresponds to a type (there are the same
27438 * number of rows as there are in the swig_type_initial array). Each entry in
27439 * a column is one of the swig_cast_info structures for that type.
27440 * The cast_initial array is actually an array of arrays, because each row has
27441 * a variable number of columns. So to actually build the cast linked list,
27442 * we find the array of casts associated with the type, and loop through it
27443 * adding the casts to the list. The one last trick we need to do is making
27444 * sure the type pointer in the swig_cast_info struct is correct.
27446 * First off, we lookup the cast->type name to see if it is already loaded.
27447 * There are three cases to handle:
27448 * 1) If the cast->type has already been loaded AND the type we are adding
27449 * casting info to has not been loaded (it is in this module), THEN we
27450 * replace the cast->type pointer with the type pointer that has already
27452 * 2) If BOTH types (the one we are adding casting info to, and the
27453 * cast->type) are loaded, THEN the cast info has already been loaded by
27454 * the previous module so we just ignore it.
27455 * 3) Finally, if cast->type has not already been loaded, then we add that
27456 * swig_cast_info to the linked list (because the cast->type) pointer will
27458 * ----------------------------------------------------------------------------- */
27468 #define SWIGRUNTIME_DEBUG
27472 SWIG_InitializeModule(void *clientdata
) {
27474 swig_module_info
*module_head
;
27475 static int init_run
= 0;
27477 clientdata
= clientdata
;
27479 if (init_run
) return;
27482 /* Initialize the swig_module */
27483 swig_module
.type_initial
= swig_type_initial
;
27484 swig_module
.cast_initial
= swig_cast_initial
;
27486 /* Try and load any already created modules */
27487 module_head
= SWIG_GetModule(clientdata
);
27489 swig_module
.next
= module_head
->next
;
27490 module_head
->next
= &swig_module
;
27492 /* This is the first module loaded */
27493 swig_module
.next
= &swig_module
;
27494 SWIG_SetModule(clientdata
, &swig_module
);
27497 /* Now work on filling in swig_module.types */
27498 #ifdef SWIGRUNTIME_DEBUG
27499 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
27501 for (i
= 0; i
< swig_module
.size
; ++i
) {
27502 swig_type_info
*type
= 0;
27503 swig_type_info
*ret
;
27504 swig_cast_info
*cast
;
27506 #ifdef SWIGRUNTIME_DEBUG
27507 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27510 /* if there is another module already loaded */
27511 if (swig_module
.next
!= &swig_module
) {
27512 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
27515 /* Overwrite clientdata field */
27516 #ifdef SWIGRUNTIME_DEBUG
27517 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
27519 if (swig_module
.type_initial
[i
]->clientdata
) {
27520 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
27521 #ifdef SWIGRUNTIME_DEBUG
27522 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
27526 type
= swig_module
.type_initial
[i
];
27529 /* Insert casting types */
27530 cast
= swig_module
.cast_initial
[i
];
27531 while (cast
->type
) {
27532 /* Don't need to add information already in the list */
27534 #ifdef SWIGRUNTIME_DEBUG
27535 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
27537 if (swig_module
.next
!= &swig_module
) {
27538 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
27539 #ifdef SWIGRUNTIME_DEBUG
27540 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
27544 if (type
== swig_module
.type_initial
[i
]) {
27545 #ifdef SWIGRUNTIME_DEBUG
27546 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
27551 /* Check for casting already in the list */
27552 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
27553 #ifdef SWIGRUNTIME_DEBUG
27554 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
27556 if (!ocast
) ret
= 0;
27561 #ifdef SWIGRUNTIME_DEBUG
27562 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
27565 type
->cast
->prev
= cast
;
27566 cast
->next
= type
->cast
;
27572 /* Set entry in modules->types array equal to the type */
27573 swig_module
.types
[i
] = type
;
27575 swig_module
.types
[i
] = 0;
27577 #ifdef SWIGRUNTIME_DEBUG
27578 printf("**** SWIG_InitializeModule: Cast List ******\n");
27579 for (i
= 0; i
< swig_module
.size
; ++i
) {
27581 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
27582 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27583 while (cast
->type
) {
27584 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
27588 printf("---- Total casts: %d\n",j
);
27590 printf("**** SWIG_InitializeModule: Cast List ******\n");
27594 /* This function will propagate the clientdata field of type to
27595 * any new swig_type_info structures that have been added into the list
27596 * of equivalent types. It is like calling
27597 * SWIG_TypeClientData(type, clientdata) a second time.
27600 SWIG_PropagateClientData(void) {
27602 swig_cast_info
*equiv
;
27603 static int init_run
= 0;
27605 if (init_run
) return;
27608 for (i
= 0; i
< swig_module
.size
; i
++) {
27609 if (swig_module
.types
[i
]->clientdata
) {
27610 equiv
= swig_module
.types
[i
]->cast
;
27612 if (!equiv
->converter
) {
27613 if (equiv
->type
&& !equiv
->type
->clientdata
)
27614 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
27616 equiv
= equiv
->next
;
27636 /* Python-specific SWIG API */
27637 #define SWIG_newvarlink() SWIG_Python_newvarlink()
27638 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
27639 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
27641 /* -----------------------------------------------------------------------------
27642 * global variable support code.
27643 * ----------------------------------------------------------------------------- */
27645 typedef struct swig_globalvar
{
27646 char *name
; /* Name of global variable */
27647 PyObject
*(*get_attr
)(void); /* Return the current value */
27648 int (*set_attr
)(PyObject
*); /* Set the value */
27649 struct swig_globalvar
*next
;
27652 typedef struct swig_varlinkobject
{
27654 swig_globalvar
*vars
;
27655 } swig_varlinkobject
;
27657 SWIGINTERN PyObject
*
27658 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
27659 return PyString_FromString("<Swig global variables>");
27662 SWIGINTERN PyObject
*
27663 swig_varlink_str(swig_varlinkobject
*v
) {
27664 PyObject
*str
= PyString_FromString("(");
27665 swig_globalvar
*var
;
27666 for (var
= v
->vars
; var
; var
=var
->next
) {
27667 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
27668 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
27670 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
27675 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
27676 PyObject
*str
= swig_varlink_str(v
);
27677 fprintf(fp
,"Swig global variables ");
27678 fprintf(fp
,"%s\n", PyString_AsString(str
));
27684 swig_varlink_dealloc(swig_varlinkobject
*v
) {
27685 swig_globalvar
*var
= v
->vars
;
27687 swig_globalvar
*n
= var
->next
;
27694 SWIGINTERN PyObject
*
27695 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
27696 PyObject
*res
= NULL
;
27697 swig_globalvar
*var
= v
->vars
;
27699 if (strcmp(var
->name
,n
) == 0) {
27700 res
= (*var
->get_attr
)();
27705 if (res
== NULL
&& !PyErr_Occurred()) {
27706 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27712 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
27714 swig_globalvar
*var
= v
->vars
;
27716 if (strcmp(var
->name
,n
) == 0) {
27717 res
= (*var
->set_attr
)(p
);
27722 if (res
== 1 && !PyErr_Occurred()) {
27723 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27728 SWIGINTERN PyTypeObject
*
27729 swig_varlink_type(void) {
27730 static char varlink__doc__
[] = "Swig var link object";
27731 static PyTypeObject varlink_type
;
27732 static int type_init
= 0;
27734 const PyTypeObject tmp
27736 PyObject_HEAD_INIT(NULL
)
27737 0, /* Number of items in variable part (ob_size) */
27738 (char *)"swigvarlink", /* Type name (tp_name) */
27739 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
27740 0, /* Itemsize (tp_itemsize) */
27741 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
27742 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
27743 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
27744 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
27745 0, /* tp_compare */
27746 (reprfunc
) swig_varlink_repr
, /* tp_repr */
27747 0, /* tp_as_number */
27748 0, /* tp_as_sequence */
27749 0, /* tp_as_mapping */
27752 (reprfunc
)swig_varlink_str
, /* tp_str */
27753 0, /* tp_getattro */
27754 0, /* tp_setattro */
27755 0, /* tp_as_buffer */
27757 varlink__doc__
, /* tp_doc */
27758 0, /* tp_traverse */
27760 0, /* tp_richcompare */
27761 0, /* tp_weaklistoffset */
27762 #if PY_VERSION_HEX >= 0x02020000
27763 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
27765 #if PY_VERSION_HEX >= 0x02030000
27768 #ifdef COUNT_ALLOCS
27769 0,0,0,0 /* tp_alloc -> tp_next */
27772 varlink_type
= tmp
;
27773 varlink_type
.ob_type
= &PyType_Type
;
27776 return &varlink_type
;
27779 /* Create a variable linking object for use later */
27780 SWIGINTERN PyObject
*
27781 SWIG_Python_newvarlink(void) {
27782 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27786 return ((PyObject
*) result
);
27790 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27791 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27792 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27794 size_t size
= strlen(name
)+1;
27795 gv
->name
= (char *)malloc(size
);
27797 strncpy(gv
->name
,name
,size
);
27798 gv
->get_attr
= get_attr
;
27799 gv
->set_attr
= set_attr
;
27800 gv
->next
= v
->vars
;
27806 SWIGINTERN PyObject
*
27808 static PyObject
*_SWIG_globals
= 0;
27809 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27810 return _SWIG_globals
;
27813 /* -----------------------------------------------------------------------------
27814 * constants/methods manipulation
27815 * ----------------------------------------------------------------------------- */
27817 /* Install Constants */
27819 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27822 for (i
= 0; constants
[i
].type
; ++i
) {
27823 switch(constants
[i
].type
) {
27824 case SWIG_PY_POINTER
:
27825 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27827 case SWIG_PY_BINARY
:
27828 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27835 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27841 /* -----------------------------------------------------------------------------*/
27842 /* Fix SwigMethods to carry the callback ptrs when needed */
27843 /* -----------------------------------------------------------------------------*/
27846 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27847 swig_const_info
*const_table
,
27848 swig_type_info
**types
,
27849 swig_type_info
**types_initial
) {
27851 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27852 char *c
= methods
[i
].ml_doc
;
27853 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27855 swig_const_info
*ci
= 0;
27856 char *name
= c
+ 10;
27857 for (j
= 0; const_table
[j
].type
; ++j
) {
27858 if (strncmp(const_table
[j
].name
, name
,
27859 strlen(const_table
[j
].name
)) == 0) {
27860 ci
= &(const_table
[j
]);
27865 size_t shift
= (ci
->ptype
) - types
;
27866 swig_type_info
*ty
= types_initial
[shift
];
27867 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27868 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27869 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27872 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27874 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27876 strncpy(buff
, "swig_ptr: ", 10);
27878 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27879 methods
[i
].ml_doc
= ndoc
;
27891 /* -----------------------------------------------------------------------------*
27892 * Partial Init method
27893 * -----------------------------------------------------------------------------*/
27898 SWIGEXPORT
void SWIG_init(void) {
27901 /* Fix SwigMethods to carry the callback ptrs when needed */
27902 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27904 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27905 d
= PyModule_GetDict(m
);
27907 SWIG_InitializeModule(0);
27908 SWIG_InstallConstants(d
,swig_const_table
);
27911 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27912 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27913 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27914 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27915 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27916 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27917 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27918 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27919 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27920 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27921 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27922 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27923 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27924 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27925 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27926 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27927 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27928 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27929 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27930 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27931 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27932 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27933 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27934 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27935 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27936 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27937 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27938 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27939 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27940 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27941 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27942 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27943 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27944 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27945 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27946 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27947 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27948 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27949 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27950 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27951 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27952 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27953 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27954 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27955 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27956 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27957 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27958 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27959 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27960 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27961 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27962 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27966 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27967 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27968 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27969 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27970 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27971 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27972 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27973 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27974 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27975 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27976 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27977 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27978 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27979 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27980 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27981 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27982 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27983 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27984 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27985 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27986 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27987 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27988 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
28000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
28001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
28002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
28003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
28004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
28005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
28006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
28007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
28008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
28009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
28010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
28011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
28012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
28013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
28014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
28015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
28016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
28017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
28018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
28019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
28020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
28021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
28022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
28023 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
28024 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
28025 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
28026 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
28027 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
28028 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
28029 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
28030 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
28031 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
28032 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
28033 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
28034 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
28035 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
28036 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
28037 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
28039 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
28041 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
28042 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
28043 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
28044 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
28045 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
28046 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
28047 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
28048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
28049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
28050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
28051 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
28052 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
28053 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
28054 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
28055 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
28056 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
28057 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
28058 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
28059 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
28060 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
28061 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
28062 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
28063 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
28064 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
28065 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
28066 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
28067 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
28068 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
28069 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
28070 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
28071 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
28072 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
28073 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
28074 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
28075 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
28076 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
28077 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
28078 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
28079 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
28080 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
28081 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
28082 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
28083 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
28084 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
28085 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
28086 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
28087 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
28088 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
28089 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
28090 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
28091 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
28092 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
28093 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
28094 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
28095 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
28096 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
28097 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
28098 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
28099 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
28100 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
28101 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
28102 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
28103 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
28104 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
28105 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
28106 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
28107 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
28108 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
28109 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
28110 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
28111 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
28112 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
28113 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
28114 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
28115 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
28116 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
28117 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
28118 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
28119 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
28120 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
28121 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
28122 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
28123 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
28124 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
28125 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
28126 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
28127 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
28128 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
28129 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
28130 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
28131 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
28132 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
28133 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
28134 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
28135 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
28136 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
28137 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
28138 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
28139 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
28140 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
28141 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
28142 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
28143 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
28144 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
28145 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
28146 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
28147 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
28148 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
28149 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
28150 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
28151 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
28152 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
28153 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
28154 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
28155 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
28156 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
28157 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
28158 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
28159 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
28160 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
28161 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
28162 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
28163 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
28164 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
28165 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
28166 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
28167 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
28168 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
28169 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
28170 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
28171 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
28172 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
28173 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
28174 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
28175 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
28176 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
28177 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
28178 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
28179 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
28180 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
28181 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
28182 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
28183 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
28184 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
28185 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
28186 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
28187 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
28188 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
28189 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
28190 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
28191 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
28192 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
28193 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
28194 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
28195 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
28196 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
28197 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
28198 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
28199 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
28200 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
28201 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
28202 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
28203 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
28204 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
28205 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
28206 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
28207 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
28208 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
28209 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
28210 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
28211 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
28212 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
28213 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
28214 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
28215 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
28216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
28217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
28218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
28219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
28220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
28221 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
28222 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
28223 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
28224 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
28225 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
28226 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
28227 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
28228 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
28229 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
28230 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
28231 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
28232 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
28233 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
28234 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
28235 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
28236 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
28237 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
28238 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
28239 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
28240 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
28241 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
28242 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
28243 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
28244 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
28245 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
28246 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
28247 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
28248 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
28249 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
28250 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
28251 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
28252 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
28253 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
28254 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
28255 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
28256 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
28257 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
28258 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
28259 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
28260 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
28261 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
28262 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
28263 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
28264 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
28265 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
28266 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
28267 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
28268 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
28269 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
28270 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
28271 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
28272 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
28273 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
28274 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
28275 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
28276 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
28277 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
28278 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
28279 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
28280 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
28281 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
28282 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
28283 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
28284 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
28285 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
28286 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
28287 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
28288 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
28289 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
28290 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
28291 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
28292 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
28293 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
28294 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
28295 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
28296 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
28297 SWIG_addvarlink(SWIG_globals(),(char*)"NORMAL_FONT",NORMAL_FONT_get
, NORMAL_FONT_set
);
28298 SWIG_addvarlink(SWIG_globals(),(char*)"SMALL_FONT",SMALL_FONT_get
, SMALL_FONT_set
);
28299 SWIG_addvarlink(SWIG_globals(),(char*)"ITALIC_FONT",ITALIC_FONT_get
, ITALIC_FONT_set
);
28300 SWIG_addvarlink(SWIG_globals(),(char*)"SWISS_FONT",SWISS_FONT_get
, SWISS_FONT_set
);
28301 SWIG_addvarlink(SWIG_globals(),(char*)"RED_PEN",RED_PEN_get
, RED_PEN_set
);
28302 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_PEN",CYAN_PEN_get
, CYAN_PEN_set
);
28303 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_PEN",GREEN_PEN_get
, GREEN_PEN_set
);
28304 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_PEN",BLACK_PEN_get
, BLACK_PEN_set
);
28305 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_PEN",WHITE_PEN_get
, WHITE_PEN_set
);
28306 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_PEN",TRANSPARENT_PEN_get
, TRANSPARENT_PEN_set
);
28307 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_DASHED_PEN",BLACK_DASHED_PEN_get
, BLACK_DASHED_PEN_set
);
28308 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_PEN",GREY_PEN_get
, GREY_PEN_set
);
28309 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_PEN",MEDIUM_GREY_PEN_get
, MEDIUM_GREY_PEN_set
);
28310 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_PEN",LIGHT_GREY_PEN_get
, LIGHT_GREY_PEN_set
);
28311 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE_BRUSH",BLUE_BRUSH_get
, BLUE_BRUSH_set
);
28312 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN_BRUSH",GREEN_BRUSH_get
, GREEN_BRUSH_set
);
28313 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE_BRUSH",WHITE_BRUSH_get
, WHITE_BRUSH_set
);
28314 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK_BRUSH",BLACK_BRUSH_get
, BLACK_BRUSH_set
);
28315 SWIG_addvarlink(SWIG_globals(),(char*)"TRANSPARENT_BRUSH",TRANSPARENT_BRUSH_get
, TRANSPARENT_BRUSH_set
);
28316 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN_BRUSH",CYAN_BRUSH_get
, CYAN_BRUSH_set
);
28317 SWIG_addvarlink(SWIG_globals(),(char*)"RED_BRUSH",RED_BRUSH_get
, RED_BRUSH_set
);
28318 SWIG_addvarlink(SWIG_globals(),(char*)"GREY_BRUSH",GREY_BRUSH_get
, GREY_BRUSH_set
);
28319 SWIG_addvarlink(SWIG_globals(),(char*)"MEDIUM_GREY_BRUSH",MEDIUM_GREY_BRUSH_get
, MEDIUM_GREY_BRUSH_set
);
28320 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY_BRUSH",LIGHT_GREY_BRUSH_get
, LIGHT_GREY_BRUSH_set
);
28321 SWIG_addvarlink(SWIG_globals(),(char*)"BLACK",BLACK_get
, BLACK_set
);
28322 SWIG_addvarlink(SWIG_globals(),(char*)"WHITE",WHITE_get
, WHITE_set
);
28323 SWIG_addvarlink(SWIG_globals(),(char*)"RED",RED_get
, RED_set
);
28324 SWIG_addvarlink(SWIG_globals(),(char*)"BLUE",BLUE_get
, BLUE_set
);
28325 SWIG_addvarlink(SWIG_globals(),(char*)"GREEN",GREEN_get
, GREEN_set
);
28326 SWIG_addvarlink(SWIG_globals(),(char*)"CYAN",CYAN_get
, CYAN_set
);
28327 SWIG_addvarlink(SWIG_globals(),(char*)"LIGHT_GREY",LIGHT_GREY_get
, LIGHT_GREY_set
);
28328 SWIG_addvarlink(SWIG_globals(),(char*)"STANDARD_CURSOR",STANDARD_CURSOR_get
, STANDARD_CURSOR_set
);
28329 SWIG_addvarlink(SWIG_globals(),(char*)"HOURGLASS_CURSOR",HOURGLASS_CURSOR_get
, HOURGLASS_CURSOR_set
);
28330 SWIG_addvarlink(SWIG_globals(),(char*)"CROSS_CURSOR",CROSS_CURSOR_get
, CROSS_CURSOR_set
);
28331 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
28332 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
28333 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
28334 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
28335 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
28336 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
28337 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
28338 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
28339 SWIG_addvarlink(SWIG_globals(),(char*)"TheFontList",TheFontList_get
, TheFontList_set
);
28340 SWIG_addvarlink(SWIG_globals(),(char*)"ThePenList",ThePenList_get
, ThePenList_set
);
28341 SWIG_addvarlink(SWIG_globals(),(char*)"TheBrushList",TheBrushList_get
, TheBrushList_set
);
28342 SWIG_addvarlink(SWIG_globals(),(char*)"TheColourDatabase",TheColourDatabase_get
, TheColourDatabase_set
);
28343 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
28344 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
28345 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
28346 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
28347 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
28348 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
28349 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
28350 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
28351 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
28352 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
28353 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
28354 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
28355 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
28356 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
28357 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
28359 // Work around a chicken/egg problem in drawlist.cpp
28360 wxPyDrawList_SetAPIPtr();