1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_double swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxBrush swig_types[13]
2476 #define SWIGTYPE_p_wxBrushList swig_types[14]
2477 #define SWIGTYPE_p_wxBufferedDC swig_types[15]
2478 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxChildFocusEvent swig_types[18]
2481 #define SWIGTYPE_p_wxClientDC swig_types[19]
2482 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxColourDatabase swig_types[23]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2488 #define SWIGTYPE_p_wxControl swig_types[26]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2490 #define SWIGTYPE_p_wxCursor swig_types[28]
2491 #define SWIGTYPE_p_wxDC swig_types[29]
2492 #define SWIGTYPE_p_wxDash swig_types[30]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2497 #define SWIGTYPE_p_wxEffects swig_types[35]
2498 #define SWIGTYPE_p_wxEncodingConverter swig_types[36]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[37]
2500 #define SWIGTYPE_p_wxEvent swig_types[38]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2502 #define SWIGTYPE_p_wxFSFile swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontList swig_types[45]
2508 #define SWIGTYPE_p_wxFontMapper swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGDIObjListBase swig_types[48]
2511 #define SWIGTYPE_p_wxGDIObject swig_types[49]
2512 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconLocation swig_types[56]
2519 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2520 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2521 #define SWIGTYPE_p_wxImage swig_types[59]
2522 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2523 #define SWIGTYPE_p_wxImageList swig_types[61]
2524 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2525 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2526 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2527 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2528 #define SWIGTYPE_p_wxLanguageInfo swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxLocale swig_types[68]
2531 #define SWIGTYPE_p_wxMask swig_types[69]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2533 #define SWIGTYPE_p_wxMemoryDC swig_types[71]
2534 #define SWIGTYPE_p_wxMenu swig_types[72]
2535 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2536 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2538 #define SWIGTYPE_p_wxMetaFile swig_types[76]
2539 #define SWIGTYPE_p_wxMetaFileDC swig_types[77]
2540 #define SWIGTYPE_p_wxMirrorDC swig_types[78]
2541 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2542 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2543 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[82]
2545 #define SWIGTYPE_p_wxNativeFontInfo swig_types[83]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2549 #define SWIGTYPE_p_wxObject swig_types[87]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2553 #define SWIGTYPE_p_wxPaintDC swig_types[91]
2554 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2555 #define SWIGTYPE_p_wxPalette swig_types[93]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPaperSize swig_types[95]
2558 #define SWIGTYPE_p_wxPen swig_types[96]
2559 #define SWIGTYPE_p_wxPenList swig_types[97]
2560 #define SWIGTYPE_p_wxPoint swig_types[98]
2561 #define SWIGTYPE_p_wxPostScriptDC swig_types[99]
2562 #define SWIGTYPE_p_wxPrintData swig_types[100]
2563 #define SWIGTYPE_p_wxPrinterDC swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPySizer swig_types[107]
2570 #define SWIGTYPE_p_wxPyValidator swig_types[108]
2571 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[109]
2572 #define SWIGTYPE_p_wxRect swig_types[110]
2573 #define SWIGTYPE_p_wxRegion swig_types[111]
2574 #define SWIGTYPE_p_wxRegionIterator swig_types[112]
2575 #define SWIGTYPE_p_wxRendererNative swig_types[113]
2576 #define SWIGTYPE_p_wxRendererVersion swig_types[114]
2577 #define SWIGTYPE_p_wxScreenDC swig_types[115]
2578 #define SWIGTYPE_p_wxScrollEvent swig_types[116]
2579 #define SWIGTYPE_p_wxScrollWinEvent swig_types[117]
2580 #define SWIGTYPE_p_wxSetCursorEvent swig_types[118]
2581 #define SWIGTYPE_p_wxShowEvent swig_types[119]
2582 #define SWIGTYPE_p_wxSize swig_types[120]
2583 #define SWIGTYPE_p_wxSizeEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSizer swig_types[122]
2585 #define SWIGTYPE_p_wxSizerItem swig_types[123]
2586 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[124]
2587 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[125]
2588 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[126]
2589 #define SWIGTYPE_p_wxStockGDI swig_types[127]
2590 #define SWIGTYPE_p_wxString swig_types[128]
2591 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[129]
2592 #define SWIGTYPE_p_wxTIFFHandler swig_types[130]
2593 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[131]
2594 #define SWIGTYPE_p_wxValidator swig_types[132]
2595 #define SWIGTYPE_p_wxWindow swig_types[133]
2596 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[134]
2597 #define SWIGTYPE_p_wxWindowDC swig_types[135]
2598 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[136]
2599 #define SWIGTYPE_p_wxXPMHandler swig_types[137]
2600 static swig_type_info
*swig_types
[139];
2601 static swig_module_info swig_module
= {swig_types
, 138, 0, 0, 0, 0};
2602 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2603 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2605 /* -------- TYPES TABLE (END) -------- */
2607 #if (PY_VERSION_HEX <= 0x02000000)
2608 # if !defined(SWIG_PYTHON_CLASSIC)
2609 # error "This python version requires to use swig with the '-classic' option"
2612 #if (PY_VERSION_HEX <= 0x02020000)
2613 # error "This python version requires to use swig with the '-nomodern' option"
2615 #if (PY_VERSION_HEX <= 0x02020000)
2616 # error "This python version requires to use swig with the '-nomodernargs' option"
2619 # error "This python version requires to use swig with the '-nofastunpack' option"
2622 /*-----------------------------------------------
2623 @(target):= _gdi_.so
2624 ------------------------------------------------*/
2625 #define SWIG_init init_gdi_
2627 #define SWIG_name "_gdi_"
2629 #define SWIGVERSION 0x010329
2632 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2633 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2636 #include <stdexcept>
2640 class PyObject_ptr
{
2645 PyObject_ptr() :_obj(0)
2649 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2654 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2656 if (initial_ref
) Py_XINCREF(_obj
);
2659 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2661 Py_XINCREF(item
._obj
);
2672 operator PyObject
*() const
2677 PyObject
*operator->() const
2686 struct PyObject_var
: PyObject_ptr
{
2687 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2689 PyObject_var
& operator = (PyObject
* obj
)
2699 #include "wx/wxPython/wxPython.h"
2700 #include "wx/wxPython/pyclasses.h"
2703 static const wxString
wxPyEmptyString(wxEmptyString
);
2705 #define SWIG_From_long PyInt_FromLong
2708 SWIGINTERNINLINE PyObject
*
2709 SWIG_From_int (int value
)
2711 return SWIG_From_long (value
);
2717 # define LLONG_MIN LONG_LONG_MIN
2720 # define LLONG_MAX LONG_LONG_MAX
2723 # define ULLONG_MAX ULONG_LONG_MAX
2728 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2730 if (PyNumber_Check(obj
)) {
2731 if (val
) *val
= PyInt_AsLong(obj
);
2734 return SWIG_TypeError
;
2739 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2742 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2743 return SWIG_TypeError
;
2746 *val
= (unsigned long)v
;
2752 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2755 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2756 if (SWIG_IsOK(res
)) {
2757 if ((v
> UCHAR_MAX
)) {
2758 return SWIG_OverflowError
;
2760 if (val
) *val
= static_cast< unsigned char >(v
);
2767 SWIGINTERNINLINE PyObject
*
2768 SWIG_From_unsigned_SS_long (unsigned long value
)
2770 return (value
> LONG_MAX
) ?
2771 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2775 SWIGINTERNINLINE PyObject
*
2776 SWIG_From_unsigned_SS_char (unsigned char value
)
2778 return SWIG_From_unsigned_SS_long (value
);
2781 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2782 wxColour temp
, *obj
= &temp
;
2783 if ( other
== Py_None
) return false;
2784 if ( ! wxColour_helper(other
, &obj
) ) {
2788 return self
->operator==(*obj
);
2790 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2791 wxColour temp
, *obj
= &temp
;
2792 if ( other
== Py_None
) return true;
2793 if ( ! wxColour_helper(other
, &obj
)) {
2797 return self
->operator!=(*obj
);
2799 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
){
2800 PyObject
* rv
= PyTuple_New(3);
2806 green
= self
->Green();
2807 blue
= self
->Blue();
2809 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2810 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2811 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2814 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2815 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2819 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2822 int res
= SWIG_AsVal_long (obj
, &v
);
2823 if (SWIG_IsOK(res
)) {
2824 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2825 return SWIG_OverflowError
;
2827 if (val
) *val
= static_cast< int >(v
);
2833 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2835 int count
= self
->GetDashes(&dashes
);
2836 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2837 PyObject
* retval
= PyList_New(0);
2838 for (int x
=0; x
<count
; x
++) {
2839 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2840 PyList_Append(retval
, pyint
);
2843 wxPyEndBlockThreads(blocked
);
2846 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2848 int size
= PyList_Size(pyDashes
);
2849 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2851 // black magic warning! The array of wxDashes needs to exist as
2852 // long as the pen does because wxPen does not copy the array. So
2853 // stick a copy in a Python string object and attach it to _self,
2854 // and then call SetDashes with a pointer to that array. Then
2855 // when the Python pen object is destroyed the array will be
2857 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2858 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2860 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2862 Py_DECREF(strDashes
);
2863 wxPyEndBlockThreads(blocked
);
2865 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2866 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2868 #include <wx/image.h>
2870 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2871 char** cArray
= NULL
;
2874 if (!PyList_Check(listOfStrings
)) {
2875 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2878 count
= PyList_Size(listOfStrings
);
2879 cArray
= new char*[count
];
2881 for(int x
=0; x
<count
; x
++) {
2882 // TODO: Need some validation and error checking here
2883 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2889 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2890 char** cArray
= NULL
;
2893 cArray
= ConvertListOfStrings(listOfStrings
);
2896 bmp
= new wxBitmap(cArray
);
2900 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2903 PyString_AsStringAndSize(bits
, &buf
, &length
);
2904 return new wxBitmap(buf
, width
, height
, depth
);
2906 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2907 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2908 wxSize
size(self
->GetWidth(), self
->GetHeight());
2911 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2912 wxMask
*mask
= new wxMask(*self
, colour
);
2913 self
->SetMask(mask
);
2915 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2916 self
->SetWidth(size
.x
);
2917 self
->SetHeight(size
.y
);
2919 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2920 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2921 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
2923 return new wxMask(bitmap
, *wxBLACK
);
2925 return new wxMask(bitmap
, colour
);
2928 #include <wx/iconbndl.h>
2930 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
2931 wxIcon
* icon
= new wxIcon();
2932 icon
->CopyFromBitmap(bmp
);
2935 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
2936 char** cArray
= NULL
;
2939 cArray
= ConvertListOfStrings(listOfStrings
);
2942 icon
= new wxIcon(cArray
);
2946 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2947 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
2949 return new wxIconLocation(*filename
, num
);
2954 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
2956 self
->SetIndex(num
);
2961 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
2963 return self
->GetIndex();
2968 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
2970 wxImage
img(cursorName
, type
);
2971 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
2972 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
2973 return new wxCursor(img
);
2975 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
2978 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2981 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
2984 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
2985 return self
->operator bool();
2988 #include <wx/fontutil.h>
2989 #include <wx/fontmap.h>
2990 #include <wx/fontenum.h>
2994 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2996 if (obj
== Py_True
) {
2997 if (val
) *val
= true;
2999 } else if (obj
== Py_False
) {
3000 if (val
) *val
= false;
3004 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3005 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3010 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3011 return self
->ToString();
3014 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3015 { wxPyRaiseNotImplemented(); return NULL
; }
3017 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3018 { wxPyRaiseNotImplemented(); return false; }
3021 SWIGINTERNINLINE PyObject
*
3022 SWIG_From_size_t (size_t value
)
3024 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3028 SWIGINTERNINLINE
int
3029 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3032 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3033 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3037 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3038 wxFontEncoding alt_enc
;
3039 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3040 return PyInt_FromLong(alt_enc
);
3046 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3047 wxNativeFontInfo nfi
;
3048 nfi
.FromString(info
);
3049 return new wxFont(nfi
);
3051 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3052 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3054 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3055 return wxFontBase::New(pixelSize
, family
,
3056 style
, weight
, underlined
,
3059 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3060 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3062 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3063 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3065 class wxPyFontEnumerator
: public wxFontEnumerator
{
3067 wxPyFontEnumerator() {}
3068 ~wxPyFontEnumerator() {}
3070 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3071 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3076 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3077 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3080 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
){
3082 wxArrayString
* arr
= self
->GetEncodings();
3083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3085 ret
= wxArrayString2PyList_helper(*arr
);
3087 ret
= PyList_New(0);
3088 wxPyEndBlockThreads(blocked
);
3091 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
){
3093 wxArrayString
* arr
= self
->GetFacenames();
3094 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3096 ret
= wxArrayString2PyList_helper(*arr
);
3098 ret
= PyList_New(0);
3099 wxPyEndBlockThreads(blocked
);
3105 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3108 loc
= new wxLocale();
3110 loc
= new wxLocale(language
, flags
);
3111 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3112 // for the floating point conversions and such to work right.
3113 #if PY_VERSION_HEX < 0x02040000
3114 setlocale(LC_NUMERIC
, "C");
3118 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3119 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3120 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3121 // for the floating point conversions and such to work right.
3122 #if PY_VERSION_HEX < 0x02040000
3123 setlocale(LC_NUMERIC
, "C");
3127 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3128 bool rc
= self
->Init(language
, flags
);
3129 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3130 // for the floating point conversions and such to work right.
3131 #if PY_VERSION_HEX < 0x02040000
3132 setlocale(LC_NUMERIC
, "C");
3137 #include "wx/wxPython/pydrawxxx.h"
3139 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3141 self
->GetPixel(x
, y
, &col
);
3144 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3146 self
->GetPixel(pt
, &col
);
3151 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3153 if (PyNumber_Check(obj
)) {
3154 if (val
) *val
= PyFloat_AsDouble(obj
);
3157 return SWIG_TypeError
;
3160 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3162 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3165 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3167 self
->GetClippingBox(rect
);
3170 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3172 self
->GetPartialTextExtents(text
, widths
);
3176 #define SWIG_From_double PyFloat_FromDouble
3178 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3179 self
->SetLogicalOrigin(point
.x
, point
.y
);
3181 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3182 self
->SetDeviceOrigin(point
.x
, point
.y
);
3184 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3185 self
->CalcBoundingBox(point
.x
, point
.y
);
3187 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3188 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3190 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3191 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3193 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3194 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3196 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3197 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3199 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3200 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3202 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3203 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3206 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3214 #include <wx/dcbuffer.h>
3217 #include <wx/dcps.h>
3220 #include <wx/metafile.h>
3224 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3225 self
->AddColour(name
, wxColour(red
, green
, blue
));
3228 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3229 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3230 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3231 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3234 #include <wx/effects.h>
3237 #include "wx/renderer.h"
3240 SWIGINTERNINLINE PyObject
*
3241 SWIG_From_bool (bool value
)
3243 return PyBool_FromLong(value
? 1 : 0);
3249 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3250 PyObject
*resultobj
= 0;
3251 wxGDIObject
*result
= 0 ;
3253 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3255 if (!wxPyCheckForApp()) SWIG_fail
;
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 result
= (wxGDIObject
*)new wxGDIObject();
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3268 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3269 PyObject
*resultobj
= 0;
3270 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3273 PyObject
*swig_obj
[1] ;
3275 if (!args
) SWIG_fail
;
3277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3278 if (!SWIG_IsOK(res1
)) {
3279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3281 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_Py_Void();
3296 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3297 PyObject
*resultobj
= 0;
3298 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3302 PyObject
*swig_obj
[1] ;
3304 if (!args
) SWIG_fail
;
3306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3307 if (!SWIG_IsOK(res1
)) {
3308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3310 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 result
= (bool)(arg1
)->IsNull();
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3326 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3329 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3330 return SWIG_Py_Void();
3333 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3334 return SWIG_Python_InitShadowInstance(args
);
3337 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
= 0;
3339 byte arg1
= (byte
) 0 ;
3340 byte arg2
= (byte
) 0 ;
3341 byte arg3
= (byte
) 0 ;
3342 wxColour
*result
= 0 ;
3343 unsigned char val1
;
3345 unsigned char val2
;
3347 unsigned char val3
;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3351 PyObject
* obj2
= 0 ;
3352 char * kwnames
[] = {
3353 (char *) "red",(char *) "green",(char *) "blue", NULL
3356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
3358 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3359 if (!SWIG_IsOK(ecode1
)) {
3360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3362 arg1
= static_cast< byte
>(val1
);
3365 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3366 if (!SWIG_IsOK(ecode2
)) {
3367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3369 arg2
= static_cast< byte
>(val2
);
3372 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3373 if (!SWIG_IsOK(ecode3
)) {
3374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3376 arg3
= static_cast< byte
>(val3
);
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3391 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
= 0;
3393 wxString
*arg1
= 0 ;
3394 wxColour
*result
= 0 ;
3395 bool temp1
= false ;
3396 PyObject
* obj0
= 0 ;
3397 char * kwnames
[] = {
3398 (char *) "colorName", NULL
3401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3403 arg1
= wxString_in_helper(obj0
);
3404 if (arg1
== NULL
) SWIG_fail
;
3408 if (!wxPyCheckForApp()) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3410 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3429 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
= 0;
3431 unsigned long arg1
;
3432 wxColour
*result
= 0 ;
3433 unsigned long val1
;
3435 PyObject
* obj0
= 0 ;
3436 char * kwnames
[] = {
3437 (char *) "colRGB", NULL
3440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3441 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3442 if (!SWIG_IsOK(ecode1
)) {
3443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3445 arg1
= static_cast< unsigned long >(val1
);
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 result
= (wxColour
*)new wxColour(arg1
);
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3459 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3460 PyObject
*resultobj
= 0;
3461 wxColour
*arg1
= (wxColour
*) 0 ;
3464 PyObject
*swig_obj
[1] ;
3466 if (!args
) SWIG_fail
;
3468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3469 if (!SWIG_IsOK(res1
)) {
3470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3472 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3480 resultobj
= SWIG_Py_Void();
3487 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3488 PyObject
*resultobj
= 0;
3489 wxColour
*arg1
= (wxColour
*) 0 ;
3493 PyObject
*swig_obj
[1] ;
3495 if (!args
) SWIG_fail
;
3497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3498 if (!SWIG_IsOK(res1
)) {
3499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3501 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (byte
)(arg1
)->Red();
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3515 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3516 PyObject
*resultobj
= 0;
3517 wxColour
*arg1
= (wxColour
*) 0 ;
3521 PyObject
*swig_obj
[1] ;
3523 if (!args
) SWIG_fail
;
3525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3526 if (!SWIG_IsOK(res1
)) {
3527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3529 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= (byte
)(arg1
)->Green();
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3543 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3544 PyObject
*resultobj
= 0;
3545 wxColour
*arg1
= (wxColour
*) 0 ;
3549 PyObject
*swig_obj
[1] ;
3551 if (!args
) SWIG_fail
;
3553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3554 if (!SWIG_IsOK(res1
)) {
3555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3557 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 result
= (byte
)(arg1
)->Blue();
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3571 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3572 PyObject
*resultobj
= 0;
3573 wxColour
*arg1
= (wxColour
*) 0 ;
3577 PyObject
*swig_obj
[1] ;
3579 if (!args
) SWIG_fail
;
3581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3582 if (!SWIG_IsOK(res1
)) {
3583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3585 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= (bool)(arg1
)->Ok();
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3601 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
*resultobj
= 0;
3603 wxColour
*arg1
= (wxColour
*) 0 ;
3609 unsigned char val2
;
3611 unsigned char val3
;
3613 unsigned char val4
;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3617 PyObject
* obj2
= 0 ;
3618 PyObject
* obj3
= 0 ;
3619 char * kwnames
[] = {
3620 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
3623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3625 if (!SWIG_IsOK(res1
)) {
3626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3628 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3629 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3630 if (!SWIG_IsOK(ecode2
)) {
3631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3633 arg2
= static_cast< byte
>(val2
);
3634 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3635 if (!SWIG_IsOK(ecode3
)) {
3636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3638 arg3
= static_cast< byte
>(val3
);
3639 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3640 if (!SWIG_IsOK(ecode4
)) {
3641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
3643 arg4
= static_cast< byte
>(val4
);
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->Set(arg2
,arg3
,arg4
);
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 resultobj
= SWIG_Py_Void();
3657 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
= 0;
3659 wxColour
*arg1
= (wxColour
*) 0 ;
3660 unsigned long arg2
;
3663 unsigned long val2
;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 char * kwnames
[] = {
3668 (char *) "self",(char *) "colRGB", NULL
3671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3673 if (!SWIG_IsOK(res1
)) {
3674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3676 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3677 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
3678 if (!SWIG_IsOK(ecode2
)) {
3679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
3681 arg2
= static_cast< unsigned long >(val2
);
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 resultobj
= SWIG_Py_Void();
3695 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
= 0;
3697 wxColour
*arg1
= (wxColour
*) 0 ;
3698 wxString
*arg2
= 0 ;
3701 bool temp2
= false ;
3702 PyObject
* obj0
= 0 ;
3703 PyObject
* obj1
= 0 ;
3704 char * kwnames
[] = {
3705 (char *) "self",(char *) "colourName", NULL
3708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3710 if (!SWIG_IsOK(res1
)) {
3711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
3713 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3715 arg2
= wxString_in_helper(obj1
);
3716 if (arg2
== NULL
) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 (arg1
)->InitFromName((wxString
const &)*arg2
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 resultobj
= SWIG_Py_Void();
3740 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxColour
*arg1
= (wxColour
*) 0 ;
3743 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
3749 PyObject
* obj0
= 0 ;
3750 PyObject
* obj1
= 0 ;
3751 char * kwnames
[] = {
3752 (char *) "self",(char *) "flags", NULL
3755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3757 if (!SWIG_IsOK(res1
)) {
3758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
3760 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3762 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
3763 if (!SWIG_IsOK(ecode2
)) {
3764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
3766 arg2
= static_cast< long >(val2
);
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3787 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3788 PyObject
*resultobj
= 0;
3789 wxColour
*arg1
= (wxColour
*) 0 ;
3793 PyObject
*swig_obj
[1] ;
3795 if (!args
) SWIG_fail
;
3797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3798 if (!SWIG_IsOK(res1
)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
3801 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (long)((wxColour
const *)arg1
)->GetPixel();
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 resultobj
= SWIG_From_long(static_cast< long >(result
));
3815 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
= 0;
3817 wxColour
*arg1
= (wxColour
*) 0 ;
3818 PyObject
*arg2
= (PyObject
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3824 char * kwnames
[] = {
3825 (char *) "self",(char *) "other", NULL
3828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3830 if (!SWIG_IsOK(res1
)) {
3831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
3833 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3836 result
= (bool)wxColour___eq__(arg1
,arg2
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3848 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
*resultobj
= 0;
3850 wxColour
*arg1
= (wxColour
*) 0 ;
3851 PyObject
*arg2
= (PyObject
*) 0 ;
3855 PyObject
* obj0
= 0 ;
3856 PyObject
* obj1
= 0 ;
3857 char * kwnames
[] = {
3858 (char *) "self",(char *) "other", NULL
3861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
3862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3863 if (!SWIG_IsOK(res1
)) {
3864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
3866 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3869 result
= (bool)wxColour___ne__(arg1
,arg2
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3881 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3882 PyObject
*resultobj
= 0;
3883 wxColour
*arg1
= (wxColour
*) 0 ;
3884 PyObject
*result
= 0 ;
3887 PyObject
*swig_obj
[1] ;
3889 if (!args
) SWIG_fail
;
3891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3892 if (!SWIG_IsOK(res1
)) {
3893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
3895 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3898 result
= (PyObject
*)wxColour_Get(arg1
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3909 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3910 PyObject
*resultobj
= 0;
3911 wxColour
*arg1
= (wxColour
*) 0 ;
3912 unsigned long result
;
3915 PyObject
*swig_obj
[1] ;
3917 if (!args
) SWIG_fail
;
3919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3920 if (!SWIG_IsOK(res1
)) {
3921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
3923 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (unsigned long)wxColour_GetRGB(arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
3937 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3940 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
3941 return SWIG_Py_Void();
3944 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 return SWIG_Python_InitShadowInstance(args
);
3948 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
= 0;
3951 unsigned char *arg2
= (unsigned char *) 0 ;
3952 unsigned char *arg3
= (unsigned char *) 0 ;
3953 unsigned char *arg4
= (unsigned char *) 0 ;
3954 wxPalette
*result
= 0 ;
3963 PyObject
* obj0
= 0 ;
3964 PyObject
* obj1
= 0 ;
3965 PyObject
* obj2
= 0 ;
3966 PyObject
* obj3
= 0 ;
3967 char * kwnames
[] = {
3968 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
3971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3973 if (!SWIG_IsOK(ecode1
)) {
3974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
3976 arg1
= static_cast< int >(val1
);
3977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3978 if (!SWIG_IsOK(res2
)) {
3979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
3981 arg2
= reinterpret_cast< unsigned char * >(argp2
);
3982 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3983 if (!SWIG_IsOK(res3
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
3986 arg3
= reinterpret_cast< unsigned char * >(argp3
);
3987 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
3988 if (!SWIG_IsOK(res4
)) {
3989 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
3991 arg4
= reinterpret_cast< unsigned char * >(argp4
);
3993 if (!wxPyCheckForApp()) SWIG_fail
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4006 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4007 PyObject
*resultobj
= 0;
4008 wxPalette
*arg1
= (wxPalette
*) 0 ;
4011 PyObject
*swig_obj
[1] ;
4013 if (!args
) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4019 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_Py_Void();
4034 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
= 0;
4036 wxPalette
*arg1
= (wxPalette
*) 0 ;
4043 unsigned char val2
;
4045 unsigned char val3
;
4047 unsigned char val4
;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4051 PyObject
* obj2
= 0 ;
4052 PyObject
* obj3
= 0 ;
4053 char * kwnames
[] = {
4054 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4062 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4063 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4064 if (!SWIG_IsOK(ecode2
)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4067 arg2
= static_cast< byte
>(val2
);
4068 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4069 if (!SWIG_IsOK(ecode3
)) {
4070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4072 arg3
= static_cast< byte
>(val3
);
4073 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4074 if (!SWIG_IsOK(ecode4
)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4077 arg4
= static_cast< byte
>(val4
);
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= SWIG_From_int(static_cast< int >(result
));
4091 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
= 0;
4093 wxPalette
*arg1
= (wxPalette
*) 0 ;
4095 byte
*arg3
= (byte
*) 0 ;
4096 byte
*arg4
= (byte
*) 0 ;
4097 byte
*arg5
= (byte
*) 0 ;
4104 int res3
= SWIG_TMPOBJ
;
4106 int res4
= SWIG_TMPOBJ
;
4108 int res5
= SWIG_TMPOBJ
;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4111 char * kwnames
[] = {
4112 (char *) "self",(char *) "pixel", NULL
4118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4120 if (!SWIG_IsOK(res1
)) {
4121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4123 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4125 if (!SWIG_IsOK(ecode2
)) {
4126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4128 arg2
= static_cast< int >(val2
);
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4138 if (SWIG_IsTmpObj(res3
)) {
4139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4141 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4144 if (SWIG_IsTmpObj(res4
)) {
4145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4147 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4150 if (SWIG_IsTmpObj(res5
)) {
4151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4153 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4162 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4163 PyObject
*resultobj
= 0;
4164 wxPalette
*arg1
= (wxPalette
*) 0 ;
4168 PyObject
*swig_obj
[1] ;
4170 if (!args
) SWIG_fail
;
4172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4173 if (!SWIG_IsOK(res1
)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4176 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_From_int(static_cast< int >(result
));
4190 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4191 PyObject
*resultobj
= 0;
4192 wxPalette
*arg1
= (wxPalette
*) 0 ;
4196 PyObject
*swig_obj
[1] ;
4198 if (!args
) SWIG_fail
;
4200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4201 if (!SWIG_IsOK(res1
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4204 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (bool)(arg1
)->Ok();
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4220 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4223 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4224 return SWIG_Py_Void();
4227 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4228 return SWIG_Python_InitShadowInstance(args
);
4231 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxColour
*arg1
= 0 ;
4234 int arg2
= (int) 1 ;
4235 int arg3
= (int) wxSOLID
;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 PyObject
* obj2
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "colour",(char *) "width",(char *) "style", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4252 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4256 if (!SWIG_IsOK(ecode2
)) {
4257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4259 arg2
= static_cast< int >(val2
);
4262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4263 if (!SWIG_IsOK(ecode3
)) {
4264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4266 arg3
= static_cast< int >(val3
);
4269 if (!wxPyCheckForApp()) SWIG_fail
;
4270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4271 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4272 wxPyEndAllowThreads(__tstate
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4282 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4283 PyObject
*resultobj
= 0;
4284 wxPen
*arg1
= (wxPen
*) 0 ;
4287 PyObject
*swig_obj
[1] ;
4289 if (!args
) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4295 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 resultobj
= SWIG_Py_Void();
4310 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4311 PyObject
*resultobj
= 0;
4312 wxPen
*arg1
= (wxPen
*) 0 ;
4316 PyObject
*swig_obj
[1] ;
4318 if (!args
) SWIG_fail
;
4320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4321 if (!SWIG_IsOK(res1
)) {
4322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4324 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (int)(arg1
)->GetCap();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 resultobj
= SWIG_From_int(static_cast< int >(result
));
4338 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4339 PyObject
*resultobj
= 0;
4340 wxPen
*arg1
= (wxPen
*) 0 ;
4344 PyObject
*swig_obj
[1] ;
4346 if (!args
) SWIG_fail
;
4348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4349 if (!SWIG_IsOK(res1
)) {
4350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4352 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (arg1
)->GetColour();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4366 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4367 PyObject
*resultobj
= 0;
4368 wxPen
*arg1
= (wxPen
*) 0 ;
4372 PyObject
*swig_obj
[1] ;
4374 if (!args
) SWIG_fail
;
4376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4377 if (!SWIG_IsOK(res1
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4380 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (int)(arg1
)->GetJoin();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_From_int(static_cast< int >(result
));
4394 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4395 PyObject
*resultobj
= 0;
4396 wxPen
*arg1
= (wxPen
*) 0 ;
4400 PyObject
*swig_obj
[1] ;
4402 if (!args
) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4408 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (int)(arg1
)->GetStyle();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_From_int(static_cast< int >(result
));
4422 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4423 PyObject
*resultobj
= 0;
4424 wxPen
*arg1
= (wxPen
*) 0 ;
4428 PyObject
*swig_obj
[1] ;
4430 if (!args
) SWIG_fail
;
4432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4433 if (!SWIG_IsOK(res1
)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4436 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= (int)(arg1
)->GetWidth();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_From_int(static_cast< int >(result
));
4450 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4451 PyObject
*resultobj
= 0;
4452 wxPen
*arg1
= (wxPen
*) 0 ;
4456 PyObject
*swig_obj
[1] ;
4458 if (!args
) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4464 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 result
= (bool)(arg1
)->Ok();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4480 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
= 0;
4482 wxPen
*arg1
= (wxPen
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "cap_style", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4499 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 (arg1
)->SetCap(arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_Py_Void();
4518 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= 0;
4520 wxPen
*arg1
= (wxPen
*) 0 ;
4521 wxColour
*arg2
= 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4527 char * kwnames
[] = {
4528 (char *) "self",(char *) "colour", NULL
4531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4533 if (!SWIG_IsOK(res1
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4536 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4539 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 (arg1
)->SetColour(*arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_Py_Void();
4554 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
= 0;
4556 wxPen
*arg1
= (wxPen
*) 0 ;
4562 PyObject
* obj0
= 0 ;
4563 PyObject
* obj1
= 0 ;
4564 char * kwnames
[] = {
4565 (char *) "self",(char *) "join_style", NULL
4568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4570 if (!SWIG_IsOK(res1
)) {
4571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4573 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4575 if (!SWIG_IsOK(ecode2
)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4578 arg2
= static_cast< int >(val2
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 (arg1
)->SetJoin(arg2
);
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= SWIG_Py_Void();
4592 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
= 0;
4594 wxPen
*arg1
= (wxPen
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 char * kwnames
[] = {
4603 (char *) "self",(char *) "style", NULL
4606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4608 if (!SWIG_IsOK(res1
)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4611 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4613 if (!SWIG_IsOK(ecode2
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4616 arg2
= static_cast< int >(val2
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 (arg1
)->SetStyle(arg2
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_Py_Void();
4630 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
= 0;
4632 wxPen
*arg1
= (wxPen
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4640 char * kwnames
[] = {
4641 (char *) "self",(char *) "width", NULL
4644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4646 if (!SWIG_IsOK(res1
)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4649 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4651 if (!SWIG_IsOK(ecode2
)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
4654 arg2
= static_cast< int >(val2
);
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 (arg1
)->SetWidth(arg2
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_Py_Void();
4668 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxPen
*arg1
= (wxPen
*) 0 ;
4672 wxDash
*arg3
= (wxDash
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 char * kwnames
[] = {
4678 (char *) "self",(char *) "dashes", NULL
4681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4683 if (!SWIG_IsOK(res1
)) {
4684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4686 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4688 arg2
= PyList_Size(obj1
);
4689 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
4690 if (arg3
== NULL
) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 (arg1
)->SetDashes(arg2
,arg3
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 resultobj
= SWIG_Py_Void();
4700 if (arg3
) delete [] arg3
;
4705 if (arg3
) delete [] arg3
;
4711 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4713 wxPen
*arg1
= (wxPen
*) 0 ;
4714 PyObject
*result
= 0 ;
4717 PyObject
*swig_obj
[1] ;
4719 if (!args
) SWIG_fail
;
4721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4722 if (!SWIG_IsOK(res1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4725 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (PyObject
*)wxPen_GetDashes(arg1
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4739 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
= 0;
4741 wxPen
*arg1
= (wxPen
*) 0 ;
4742 PyObject
*arg2
= (PyObject
*) 0 ;
4743 PyObject
*arg3
= (PyObject
*) 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4748 PyObject
* obj2
= 0 ;
4749 char * kwnames
[] = {
4750 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
4753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4755 if (!SWIG_IsOK(res1
)) {
4756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
4758 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 wxPen__SetDashes(arg1
,arg2
,arg3
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_Py_Void();
4774 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxPen
*arg1
= (wxPen
*) 0 ;
4780 PyObject
*swig_obj
[1] ;
4782 if (!args
) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
4788 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_From_int(static_cast< int >(result
));
4802 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4803 PyObject
*resultobj
= 0;
4804 wxPen
*arg1
= (wxPen
*) 0 ;
4805 wxBitmap
*result
= 0 ;
4808 PyObject
*swig_obj
[1] ;
4810 if (!args
) SWIG_fail
;
4812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4813 if (!SWIG_IsOK(res1
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4816 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 result
= (wxBitmap
*)(arg1
)->GetStipple();
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
4830 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
= 0;
4832 wxPen
*arg1
= (wxPen
*) 0 ;
4833 wxBitmap
*arg2
= 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 char * kwnames
[] = {
4841 (char *) "self",(char *) "stipple", NULL
4844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
4849 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
4851 if (!SWIG_IsOK(res2
)) {
4852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
4857 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 (arg1
)->SetStipple(*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_Py_Void();
4871 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
= 0;
4873 wxPen
*arg1
= (wxPen
*) 0 ;
4874 wxPen
*arg2
= (wxPen
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 char * kwnames
[] = {
4883 (char *) "self",(char *) "other", NULL
4886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
4891 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4892 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4893 if (!SWIG_IsOK(res2
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
4896 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4912 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
= 0;
4914 wxPen
*arg1
= (wxPen
*) 0 ;
4915 wxPen
*arg2
= (wxPen
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 char * kwnames
[] = {
4924 (char *) "self",(char *) "other", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
4932 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
4934 if (!SWIG_IsOK(res2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
4937 arg2
= reinterpret_cast< wxPen
* >(argp2
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4953 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
4957 return SWIG_Py_Void();
4960 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4961 return SWIG_Python_InitShadowInstance(args
);
4964 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
= 0;
4966 wxColour
*arg1
= 0 ;
4967 int arg2
= (int) wxSOLID
;
4968 wxBrush
*result
= 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4974 char * kwnames
[] = {
4975 (char *) "colour",(char *) "style", NULL
4978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4981 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4985 if (!SWIG_IsOK(ecode2
)) {
4986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
4988 arg2
= static_cast< int >(val2
);
4991 if (!wxPyCheckForApp()) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5004 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= 0;
5006 wxBitmap
*arg1
= 0 ;
5007 wxBrush
*result
= 0 ;
5010 PyObject
* obj0
= 0 ;
5011 char * kwnames
[] = {
5012 (char *) "stippleBitmap", NULL
5015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5016 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5017 if (!SWIG_IsOK(res1
)) {
5018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5023 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5025 if (!wxPyCheckForApp()) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5038 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 PyObject
*resultobj
= 0;
5040 wxBrush
*arg1
= (wxBrush
*) 0 ;
5043 PyObject
*swig_obj
[1] ;
5045 if (!args
) SWIG_fail
;
5047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5048 if (!SWIG_IsOK(res1
)) {
5049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5051 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5059 resultobj
= SWIG_Py_Void();
5066 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
= 0;
5068 wxBrush
*arg1
= (wxBrush
*) 0 ;
5069 wxColour
*arg2
= 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 char * kwnames
[] = {
5076 (char *) "self",(char *) "col", NULL
5079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5081 if (!SWIG_IsOK(res1
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5084 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetColour((wxColour
const &)*arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5102 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
*resultobj
= 0;
5104 wxBrush
*arg1
= (wxBrush
*) 0 ;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5112 char * kwnames
[] = {
5113 (char *) "self",(char *) "style", NULL
5116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5118 if (!SWIG_IsOK(res1
)) {
5119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5121 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5123 if (!SWIG_IsOK(ecode2
)) {
5124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5126 arg2
= static_cast< int >(val2
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 (arg1
)->SetStyle(arg2
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_Py_Void();
5140 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
= 0;
5142 wxBrush
*arg1
= (wxBrush
*) 0 ;
5143 wxBitmap
*arg2
= 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5150 char * kwnames
[] = {
5151 (char *) "self",(char *) "stipple", NULL
5154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5156 if (!SWIG_IsOK(res1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5159 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5161 if (!SWIG_IsOK(res2
)) {
5162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5167 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_Py_Void();
5181 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5182 PyObject
*resultobj
= 0;
5183 wxBrush
*arg1
= (wxBrush
*) 0 ;
5187 PyObject
*swig_obj
[1] ;
5189 if (!args
) SWIG_fail
;
5191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5192 if (!SWIG_IsOK(res1
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5195 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= ((wxBrush
const *)arg1
)->GetColour();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5209 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5210 PyObject
*resultobj
= 0;
5211 wxBrush
*arg1
= (wxBrush
*) 0 ;
5215 PyObject
*swig_obj
[1] ;
5217 if (!args
) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5223 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_From_int(static_cast< int >(result
));
5237 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5238 PyObject
*resultobj
= 0;
5239 wxBrush
*arg1
= (wxBrush
*) 0 ;
5240 wxBitmap
*result
= 0 ;
5243 PyObject
*swig_obj
[1] ;
5245 if (!args
) SWIG_fail
;
5247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5248 if (!SWIG_IsOK(res1
)) {
5249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5251 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5265 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5266 PyObject
*resultobj
= 0;
5267 wxBrush
*arg1
= (wxBrush
*) 0 ;
5271 PyObject
*swig_obj
[1] ;
5273 if (!args
) SWIG_fail
;
5275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5276 if (!SWIG_IsOK(res1
)) {
5277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5279 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5295 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5296 PyObject
*resultobj
= 0;
5297 wxBrush
*arg1
= (wxBrush
*) 0 ;
5301 PyObject
*swig_obj
[1] ;
5303 if (!args
) SWIG_fail
;
5305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5306 if (!SWIG_IsOK(res1
)) {
5307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5309 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (bool)(arg1
)->Ok();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5325 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5328 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5329 return SWIG_Py_Void();
5332 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5333 return SWIG_Python_InitShadowInstance(args
);
5336 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
= 0;
5338 wxString
*arg1
= 0 ;
5339 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5340 wxBitmap
*result
= 0 ;
5341 bool temp1
= false ;
5344 PyObject
* obj0
= 0 ;
5345 PyObject
* obj1
= 0 ;
5346 char * kwnames
[] = {
5347 (char *) "name",(char *) "type", NULL
5350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5352 arg1
= wxString_in_helper(obj0
);
5353 if (arg1
== NULL
) SWIG_fail
;
5357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5358 if (!SWIG_IsOK(ecode2
)) {
5359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5361 arg2
= static_cast< wxBitmapType
>(val2
);
5364 if (!wxPyCheckForApp()) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5385 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5386 PyObject
*resultobj
= 0;
5387 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5390 PyObject
*swig_obj
[1] ;
5392 if (!args
) SWIG_fail
;
5394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5395 if (!SWIG_IsOK(res1
)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= SWIG_Py_Void();
5413 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
= 0;
5417 int arg3
= (int) -1 ;
5418 wxBitmap
*result
= 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 PyObject
* obj2
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "width",(char *) "height",(char *) "depth", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5434 if (!SWIG_IsOK(ecode1
)) {
5435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5437 arg1
= static_cast< int >(val1
);
5438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5439 if (!SWIG_IsOK(ecode2
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5442 arg2
= static_cast< int >(val2
);
5444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5445 if (!SWIG_IsOK(ecode3
)) {
5446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5448 arg3
= static_cast< int >(val3
);
5451 if (!wxPyCheckForApp()) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5464 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
= 0;
5467 wxBitmap
*result
= 0 ;
5470 PyObject
* obj0
= 0 ;
5471 char * kwnames
[] = {
5472 (char *) "icon", NULL
5475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5483 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5485 if (!wxPyCheckForApp()) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5498 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
= 0;
5501 int arg2
= (int) -1 ;
5502 wxBitmap
*result
= 0 ;
5507 PyObject
* obj0
= 0 ;
5508 PyObject
* obj1
= 0 ;
5509 char * kwnames
[] = {
5510 (char *) "image",(char *) "depth", NULL
5513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5514 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5515 if (!SWIG_IsOK(res1
)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5521 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5524 if (!SWIG_IsOK(ecode2
)) {
5525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5527 arg2
= static_cast< int >(val2
);
5530 if (!wxPyCheckForApp()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5543 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
= 0;
5545 PyObject
*arg1
= (PyObject
*) 0 ;
5546 wxBitmap
*result
= 0 ;
5547 PyObject
* obj0
= 0 ;
5548 char * kwnames
[] = {
5549 (char *) "listOfStrings", NULL
5552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5555 if (!wxPyCheckForApp()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5568 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
= 0;
5570 PyObject
*arg1
= (PyObject
*) 0 ;
5573 int arg4
= (int) 1 ;
5574 wxBitmap
*result
= 0 ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 PyObject
* obj2
= 0 ;
5584 PyObject
* obj3
= 0 ;
5585 char * kwnames
[] = {
5586 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5592 if (!SWIG_IsOK(ecode2
)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5595 arg2
= static_cast< int >(val2
);
5596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5597 if (!SWIG_IsOK(ecode3
)) {
5598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5600 arg3
= static_cast< int >(val3
);
5602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5603 if (!SWIG_IsOK(ecode4
)) {
5604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5606 arg4
= static_cast< int >(val4
);
5609 if (!wxPyCheckForApp()) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5622 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5623 PyObject
*resultobj
= 0;
5624 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5628 PyObject
*swig_obj
[1] ;
5630 if (!args
) SWIG_fail
;
5632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5633 if (!SWIG_IsOK(res1
)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5636 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (long)(arg1
)->GetHandle();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_From_long(static_cast< long >(result
));
5650 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
= 0;
5652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5660 char * kwnames
[] = {
5661 (char *) "self",(char *) "handle", NULL
5664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5666 if (!SWIG_IsOK(res1
)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
5669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5670 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5671 if (!SWIG_IsOK(ecode2
)) {
5672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
5674 arg2
= static_cast< long >(val2
);
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 wxBitmap_SetHandle(arg1
,arg2
);
5678 wxPyEndAllowThreads(__tstate
);
5679 if (PyErr_Occurred()) SWIG_fail
;
5681 resultobj
= SWIG_Py_Void();
5688 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5689 PyObject
*resultobj
= 0;
5690 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5694 PyObject
*swig_obj
[1] ;
5696 if (!args
) SWIG_fail
;
5698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5699 if (!SWIG_IsOK(res1
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5702 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 result
= (bool)(arg1
)->Ok();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5719 PyObject
*resultobj
= 0;
5720 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5724 PyObject
*swig_obj
[1] ;
5726 if (!args
) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5732 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (int)(arg1
)->GetWidth();
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= SWIG_From_int(static_cast< int >(result
));
5746 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5747 PyObject
*resultobj
= 0;
5748 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5752 PyObject
*swig_obj
[1] ;
5754 if (!args
) SWIG_fail
;
5756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5757 if (!SWIG_IsOK(res1
)) {
5758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
5760 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 result
= (int)(arg1
)->GetHeight();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_From_int(static_cast< int >(result
));
5774 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5775 PyObject
*resultobj
= 0;
5776 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5780 PyObject
*swig_obj
[1] ;
5782 if (!args
) SWIG_fail
;
5784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5785 if (!SWIG_IsOK(res1
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5788 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (int)(arg1
)->GetDepth();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_From_int(static_cast< int >(result
));
5802 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5803 PyObject
*resultobj
= 0;
5804 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5808 PyObject
*swig_obj
[1] ;
5810 if (!args
) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
5816 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= wxBitmap_GetSize(arg1
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
5830 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5831 PyObject
*resultobj
= 0;
5832 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5833 SwigValueWrapper
<wxImage
> result
;
5836 PyObject
*swig_obj
[1] ;
5838 if (!args
) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5844 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
5858 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5859 PyObject
*resultobj
= 0;
5860 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5861 wxMask
*result
= 0 ;
5864 PyObject
*swig_obj
[1] ;
5866 if (!args
) SWIG_fail
;
5868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5869 if (!SWIG_IsOK(res1
)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5872 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
5886 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
= 0;
5888 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5889 wxMask
*arg2
= (wxMask
*) 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 char * kwnames
[] = {
5896 (char *) "self",(char *) "mask", NULL
5899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5901 if (!SWIG_IsOK(res1
)) {
5902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
5904 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5905 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
5906 if (!SWIG_IsOK(res2
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 (arg1
)->SetMask(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= SWIG_Py_Void();
5922 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
= 0;
5924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5925 wxColour
*arg2
= 0 ;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 char * kwnames
[] = {
5932 (char *) "self",(char *) "colour", NULL
5935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
5940 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_Py_Void();
5958 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5962 SwigValueWrapper
<wxBitmap
> result
;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 char * kwnames
[] = {
5969 (char *) "self",(char *) "rect", NULL
5972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
5977 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5995 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
= 0;
5997 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5998 wxString
*arg2
= 0 ;
6000 wxPalette
*arg4
= (wxPalette
*) NULL
;
6004 bool temp2
= false ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6011 PyObject
* obj2
= 0 ;
6012 PyObject
* obj3
= 0 ;
6013 char * kwnames
[] = {
6014 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6019 if (!SWIG_IsOK(res1
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6022 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6024 arg2
= wxString_in_helper(obj1
);
6025 if (arg2
== NULL
) SWIG_fail
;
6028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6029 if (!SWIG_IsOK(ecode3
)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6032 arg3
= static_cast< wxBitmapType
>(val3
);
6034 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6035 if (!SWIG_IsOK(res4
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6038 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6063 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
= 0;
6065 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6066 wxString
*arg2
= 0 ;
6071 bool temp2
= false ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 PyObject
* obj2
= 0 ;
6077 char * kwnames
[] = {
6078 (char *) "self",(char *) "name",(char *) "type", NULL
6081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6086 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6088 arg2
= wxString_in_helper(obj1
);
6089 if (arg2
== NULL
) SWIG_fail
;
6092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6093 if (!SWIG_IsOK(ecode3
)) {
6094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6096 arg3
= static_cast< wxBitmapType
>(val3
);
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6120 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6121 PyObject
*resultobj
= 0;
6122 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6123 wxPalette
*result
= 0 ;
6126 PyObject
*swig_obj
[1] ;
6128 if (!args
) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6134 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6148 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
= 0;
6150 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6151 wxPalette
*arg2
= 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6158 char * kwnames
[] = {
6159 (char *) "self",(char *) "palette", NULL
6162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6164 if (!SWIG_IsOK(res1
)) {
6165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6169 if (!SWIG_IsOK(res2
)) {
6170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6175 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6189 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
= 0;
6191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6200 char * kwnames
[] = {
6201 (char *) "self",(char *) "icon", NULL
6204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6206 if (!SWIG_IsOK(res1
)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6211 if (!SWIG_IsOK(res2
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6217 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6233 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= 0;
6235 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6243 char * kwnames
[] = {
6244 (char *) "self",(char *) "height", NULL
6247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6249 if (!SWIG_IsOK(res1
)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6252 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6254 if (!SWIG_IsOK(ecode2
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6257 arg2
= static_cast< int >(val2
);
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 (arg1
)->SetHeight(arg2
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= SWIG_Py_Void();
6271 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
*resultobj
= 0;
6273 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6280 PyObject
* obj1
= 0 ;
6281 char * kwnames
[] = {
6282 (char *) "self",(char *) "width", NULL
6285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6287 if (!SWIG_IsOK(res1
)) {
6288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6290 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6292 if (!SWIG_IsOK(ecode2
)) {
6293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6295 arg2
= static_cast< int >(val2
);
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 (arg1
)->SetWidth(arg2
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= SWIG_Py_Void();
6309 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
= 0;
6311 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 char * kwnames
[] = {
6320 (char *) "self",(char *) "depth", NULL
6323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6325 if (!SWIG_IsOK(res1
)) {
6326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6328 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6330 if (!SWIG_IsOK(ecode2
)) {
6331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6333 arg2
= static_cast< int >(val2
);
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 (arg1
)->SetDepth(arg2
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= SWIG_Py_Void();
6347 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
*resultobj
= 0;
6349 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6355 PyObject
* obj1
= 0 ;
6356 char * kwnames
[] = {
6357 (char *) "self",(char *) "size", NULL
6360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6365 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6368 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_Py_Void();
6383 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
= 0;
6385 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6386 wxCursor
*arg2
= 0 ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 char * kwnames
[] = {
6395 (char *) "self",(char *) "cursor", NULL
6398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6403 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6405 if (!SWIG_IsOK(res2
)) {
6406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6411 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6427 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6430 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6438 char * kwnames
[] = {
6439 (char *) "self",(char *) "other", NULL
6442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6444 if (!SWIG_IsOK(res1
)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6447 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6449 if (!SWIG_IsOK(res2
)) {
6450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6452 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6468 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
= 0;
6470 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6471 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6477 PyObject
* obj0
= 0 ;
6478 PyObject
* obj1
= 0 ;
6479 char * kwnames
[] = {
6480 (char *) "self",(char *) "other", NULL
6483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6490 if (!SWIG_IsOK(res2
)) {
6491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6493 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6509 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6512 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6513 return SWIG_Py_Void();
6516 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6517 return SWIG_Python_InitShadowInstance(args
);
6520 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
= 0;
6522 wxBitmap
*arg1
= 0 ;
6523 wxColour
const &arg2_defvalue
= wxNullColour
;
6524 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6525 wxMask
*result
= 0 ;
6529 PyObject
* obj0
= 0 ;
6530 PyObject
* obj1
= 0 ;
6531 char * kwnames
[] = {
6532 (char *) "bitmap",(char *) "colour", NULL
6535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6543 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6547 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6551 if (!wxPyCheckForApp()) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
6564 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6565 PyObject
*resultobj
= 0;
6566 wxMask
*arg1
= (wxMask
*) 0 ;
6569 PyObject
*swig_obj
[1] ;
6571 if (!args
) SWIG_fail
;
6573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6574 if (!SWIG_IsOK(res1
)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
6577 arg1
= reinterpret_cast< wxMask
* >(argp1
);
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_Py_Void();
6592 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6594 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6595 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
6596 return SWIG_Py_Void();
6599 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6600 return SWIG_Python_InitShadowInstance(args
);
6603 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxString
*arg1
= 0 ;
6607 int arg3
= (int) -1 ;
6608 int arg4
= (int) -1 ;
6609 wxIcon
*result
= 0 ;
6610 bool temp1
= false ;
6617 PyObject
* obj0
= 0 ;
6618 PyObject
* obj1
= 0 ;
6619 PyObject
* obj2
= 0 ;
6620 PyObject
* obj3
= 0 ;
6621 char * kwnames
[] = {
6622 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
6625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6627 arg1
= wxString_in_helper(obj0
);
6628 if (arg1
== NULL
) SWIG_fail
;
6631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6632 if (!SWIG_IsOK(ecode2
)) {
6633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
6635 arg2
= static_cast< wxBitmapType
>(val2
);
6637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6638 if (!SWIG_IsOK(ecode3
)) {
6639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
6641 arg3
= static_cast< int >(val3
);
6644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6645 if (!SWIG_IsOK(ecode4
)) {
6646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
6648 arg4
= static_cast< int >(val4
);
6651 if (!wxPyCheckForApp()) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
6672 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6673 PyObject
*resultobj
= 0;
6674 wxIcon
*arg1
= (wxIcon
*) 0 ;
6677 PyObject
*swig_obj
[1] ;
6679 if (!args
) SWIG_fail
;
6681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
6682 if (!SWIG_IsOK(res1
)) {
6683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
6685 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_Py_Void();
6700 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6701 PyObject
*resultobj
= 0;
6702 wxIcon
*result
= 0 ;
6704 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
6706 if (!wxPyCheckForApp()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (wxIcon
*)new wxIcon();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6719 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
= 0;
6721 wxIconLocation
*arg1
= 0 ;
6722 wxIcon
*result
= 0 ;
6725 PyObject
* obj0
= 0 ;
6726 char * kwnames
[] = {
6727 (char *) "loc", NULL
6730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
6731 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
6732 if (!SWIG_IsOK(res1
)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
6738 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
6740 if (!wxPyCheckForApp()) SWIG_fail
;
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6753 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
= 0;
6755 wxBitmap
*arg1
= 0 ;
6756 wxIcon
*result
= 0 ;
6759 PyObject
* obj0
= 0 ;
6760 char * kwnames
[] = {
6761 (char *) "bmp", NULL
6764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
6765 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
6766 if (!SWIG_IsOK(res1
)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
6772 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6774 if (!wxPyCheckForApp()) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6787 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
= 0;
6789 PyObject
*arg1
= (PyObject
*) 0 ;
6790 wxIcon
*result
= 0 ;
6791 PyObject
* obj0
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "listOfStrings", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6799 if (!wxPyCheckForApp()) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (wxIcon
*)new_wxIcon(arg1
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
6812 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
= 0;
6814 wxIcon
*arg1
= (wxIcon
*) 0 ;
6815 wxString
*arg2
= 0 ;
6820 bool temp2
= false ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6825 PyObject
* obj2
= 0 ;
6826 char * kwnames
[] = {
6827 (char *) "self",(char *) "name",(char *) "type", NULL
6830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6832 if (!SWIG_IsOK(res1
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
6835 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6837 arg2
= wxString_in_helper(obj1
);
6838 if (arg2
== NULL
) SWIG_fail
;
6841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6842 if (!SWIG_IsOK(ecode3
)) {
6843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6845 arg3
= static_cast< wxBitmapType
>(val3
);
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6869 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6870 PyObject
*resultobj
= 0;
6871 wxIcon
*arg1
= (wxIcon
*) 0 ;
6875 PyObject
*swig_obj
[1] ;
6877 if (!args
) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6883 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6886 result
= (long)(arg1
)->GetHandle();
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_From_long(static_cast< long >(result
));
6897 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
= 0;
6899 wxIcon
*arg1
= (wxIcon
*) 0 ;
6905 PyObject
* obj0
= 0 ;
6906 PyObject
* obj1
= 0 ;
6907 char * kwnames
[] = {
6908 (char *) "self",(char *) "handle", NULL
6911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6913 if (!SWIG_IsOK(res1
)) {
6914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
6916 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6917 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6918 if (!SWIG_IsOK(ecode2
)) {
6919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
6921 arg2
= static_cast< long >(val2
);
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 wxIcon_SetHandle(arg1
,arg2
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_Py_Void();
6935 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6936 PyObject
*resultobj
= 0;
6937 wxIcon
*arg1
= (wxIcon
*) 0 ;
6941 PyObject
*swig_obj
[1] ;
6943 if (!args
) SWIG_fail
;
6945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6946 if (!SWIG_IsOK(res1
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
6949 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (bool)(arg1
)->Ok();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6965 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6966 PyObject
*resultobj
= 0;
6967 wxIcon
*arg1
= (wxIcon
*) 0 ;
6971 PyObject
*swig_obj
[1] ;
6973 if (!args
) SWIG_fail
;
6975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
6976 if (!SWIG_IsOK(res1
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
6979 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (int)(arg1
)->GetWidth();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_From_int(static_cast< int >(result
));
6993 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6994 PyObject
*resultobj
= 0;
6995 wxIcon
*arg1
= (wxIcon
*) 0 ;
6999 PyObject
*swig_obj
[1] ;
7001 if (!args
) SWIG_fail
;
7003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7004 if (!SWIG_IsOK(res1
)) {
7005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7007 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (int)(arg1
)->GetHeight();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_From_int(static_cast< int >(result
));
7021 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7022 PyObject
*resultobj
= 0;
7023 wxIcon
*arg1
= (wxIcon
*) 0 ;
7027 PyObject
*swig_obj
[1] ;
7029 if (!args
) SWIG_fail
;
7031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7032 if (!SWIG_IsOK(res1
)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7035 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 result
= (int)(arg1
)->GetDepth();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_From_int(static_cast< int >(result
));
7049 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
= 0;
7051 wxIcon
*arg1
= (wxIcon
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7059 char * kwnames
[] = {
7060 (char *) "self",(char *) "w", NULL
7063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
7068 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7070 if (!SWIG_IsOK(ecode2
)) {
7071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
7073 arg2
= static_cast< int >(val2
);
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 (arg1
)->SetWidth(arg2
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= SWIG_Py_Void();
7087 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
= 0;
7089 wxIcon
*arg1
= (wxIcon
*) 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7097 char * kwnames
[] = {
7098 (char *) "self",(char *) "h", NULL
7101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7103 if (!SWIG_IsOK(res1
)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
7106 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7108 if (!SWIG_IsOK(ecode2
)) {
7109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
7111 arg2
= static_cast< int >(val2
);
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 (arg1
)->SetHeight(arg2
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= SWIG_Py_Void();
7125 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
= 0;
7127 wxIcon
*arg1
= (wxIcon
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7135 char * kwnames
[] = {
7136 (char *) "self",(char *) "d", NULL
7139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7141 if (!SWIG_IsOK(res1
)) {
7142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
7144 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7146 if (!SWIG_IsOK(ecode2
)) {
7147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
7149 arg2
= static_cast< int >(val2
);
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 (arg1
)->SetDepth(arg2
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= SWIG_Py_Void();
7163 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
= 0;
7165 wxIcon
*arg1
= (wxIcon
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7172 char * kwnames
[] = {
7173 (char *) "self",(char *) "size", NULL
7176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
7181 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7184 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->SetSize((wxSize
const &)*arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_Py_Void();
7199 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxIcon
*arg1
= (wxIcon
*) 0 ;
7202 wxBitmap
*arg2
= 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7209 char * kwnames
[] = {
7210 (char *) "self",(char *) "bmp", NULL
7213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
7215 if (!SWIG_IsOK(res1
)) {
7216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
7218 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
7220 if (!SWIG_IsOK(res2
)) {
7221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
7226 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= SWIG_Py_Void();
7240 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7243 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
7244 return SWIG_Py_Void();
7247 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7248 return SWIG_Python_InitShadowInstance(args
);
7251 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7253 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
7254 int arg2
= (int) 0 ;
7255 wxIconLocation
*result
= 0 ;
7256 bool temp1
= false ;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7261 char * kwnames
[] = {
7262 (char *) "filename",(char *) "num", NULL
7265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 arg1
= wxString_in_helper(obj0
);
7269 if (arg1
== NULL
) SWIG_fail
;
7274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7275 if (!SWIG_IsOK(ecode2
)) {
7276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
7278 arg2
= static_cast< int >(val2
);
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
7301 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 PyObject
*resultobj
= 0;
7303 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7306 PyObject
*swig_obj
[1] ;
7308 if (!args
) SWIG_fail
;
7310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
7311 if (!SWIG_IsOK(res1
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7314 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_Py_Void();
7329 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7330 PyObject
*resultobj
= 0;
7331 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7335 PyObject
*swig_obj
[1] ;
7337 if (!args
) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7343 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7359 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
= 0;
7361 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7362 wxString
*arg2
= 0 ;
7365 bool temp2
= false ;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7368 char * kwnames
[] = {
7369 (char *) "self",(char *) "filename", NULL
7372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7374 if (!SWIG_IsOK(res1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7377 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7379 arg2
= wxString_in_helper(obj1
);
7380 if (arg2
== NULL
) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 (arg1
)->SetFileName((wxString
const &)*arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_Py_Void();
7404 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7405 PyObject
*resultobj
= 0;
7406 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7407 wxString
*result
= 0 ;
7410 PyObject
*swig_obj
[1] ;
7412 if (!args
) SWIG_fail
;
7414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7415 if (!SWIG_IsOK(res1
)) {
7416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
7418 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
7423 result
= (wxString
*) &_result_ref
;
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7430 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
7432 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
7441 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= 0;
7443 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7449 PyObject
* obj0
= 0 ;
7450 PyObject
* obj1
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "num", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7460 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7462 if (!SWIG_IsOK(ecode2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
7465 arg2
= static_cast< int >(val2
);
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 wxIconLocation_SetIndex(arg1
,arg2
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_Py_Void();
7479 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7480 PyObject
*resultobj
= 0;
7481 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
7485 PyObject
*swig_obj
[1] ;
7487 if (!args
) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
7493 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 result
= (int)wxIconLocation_GetIndex(arg1
);
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_From_int(static_cast< int >(result
));
7507 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7510 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
7511 return SWIG_Py_Void();
7514 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7515 return SWIG_Python_InitShadowInstance(args
);
7518 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7519 PyObject
*resultobj
= 0;
7520 wxIconBundle
*result
= 0 ;
7522 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (wxIconBundle
*)new wxIconBundle();
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) SWIG_fail
;
7529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
7536 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
= 0;
7538 wxString
*arg1
= 0 ;
7540 wxIconBundle
*result
= 0 ;
7541 bool temp1
= false ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 char * kwnames
[] = {
7547 (char *) "file",(char *) "type", NULL
7550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7552 arg1
= wxString_in_helper(obj0
);
7553 if (arg1
== NULL
) SWIG_fail
;
7556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7557 if (!SWIG_IsOK(ecode2
)) {
7558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
7560 arg2
= static_cast< long >(val2
);
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7582 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= 0;
7585 wxIconBundle
*result
= 0 ;
7588 PyObject
* obj0
= 0 ;
7589 char * kwnames
[] = {
7590 (char *) "icon", NULL
7593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
7594 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
7595 if (!SWIG_IsOK(res1
)) {
7596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
7601 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
7615 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7616 PyObject
*resultobj
= 0;
7617 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7620 PyObject
*swig_obj
[1] ;
7622 if (!args
) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7628 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_Py_Void();
7643 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
= 0;
7645 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7653 char * kwnames
[] = {
7654 (char *) "self",(char *) "icon", NULL
7657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7659 if (!SWIG_IsOK(res1
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7662 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
7664 if (!SWIG_IsOK(res2
)) {
7665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
7670 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_Py_Void();
7684 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
= 0;
7686 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7687 wxString
*arg2
= 0 ;
7691 bool temp2
= false ;
7694 PyObject
* obj0
= 0 ;
7695 PyObject
* obj1
= 0 ;
7696 PyObject
* obj2
= 0 ;
7697 char * kwnames
[] = {
7698 (char *) "self",(char *) "file",(char *) "type", NULL
7701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
7706 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7708 arg2
= wxString_in_helper(obj1
);
7709 if (arg2
== NULL
) SWIG_fail
;
7712 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
7713 if (!SWIG_IsOK(ecode3
)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
7716 arg3
= static_cast< long >(val3
);
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_Py_Void();
7738 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
= 0;
7740 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
7742 wxIcon
*result
= 0 ;
7746 PyObject
* obj0
= 0 ;
7747 PyObject
* obj1
= 0 ;
7748 char * kwnames
[] = {
7749 (char *) "self",(char *) "size", NULL
7752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
7754 if (!SWIG_IsOK(res1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
7757 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
7760 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
7766 result
= (wxIcon
*) &_result_ref
;
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7772 wxIcon
* resultptr
= new wxIcon(*result
);
7773 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
7781 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7784 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
7785 return SWIG_Py_Void();
7788 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7789 return SWIG_Python_InitShadowInstance(args
);
7792 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
= 0;
7794 wxString
*arg1
= 0 ;
7796 int arg3
= (int) 0 ;
7797 int arg4
= (int) 0 ;
7798 wxCursor
*result
= 0 ;
7799 bool temp1
= false ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7808 PyObject
* obj2
= 0 ;
7809 PyObject
* obj3
= 0 ;
7810 char * kwnames
[] = {
7811 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
7814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7816 arg1
= wxString_in_helper(obj0
);
7817 if (arg1
== NULL
) SWIG_fail
;
7820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7821 if (!SWIG_IsOK(ecode2
)) {
7822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
7824 arg2
= static_cast< long >(val2
);
7826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7827 if (!SWIG_IsOK(ecode3
)) {
7828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
7830 arg3
= static_cast< int >(val3
);
7833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7834 if (!SWIG_IsOK(ecode4
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
7837 arg4
= static_cast< int >(val4
);
7840 if (!wxPyCheckForApp()) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
7861 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7862 PyObject
*resultobj
= 0;
7863 wxCursor
*arg1
= (wxCursor
*) 0 ;
7866 PyObject
*swig_obj
[1] ;
7868 if (!args
) SWIG_fail
;
7870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
7871 if (!SWIG_IsOK(res1
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7874 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= SWIG_Py_Void();
7889 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
= 0;
7892 wxCursor
*result
= 0 ;
7895 PyObject
* obj0
= 0 ;
7896 char * kwnames
[] = {
7900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
7901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7902 if (!SWIG_IsOK(ecode1
)) {
7903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
7905 arg1
= static_cast< int >(val1
);
7907 if (!wxPyCheckForApp()) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (wxCursor
*)new wxCursor(arg1
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7920 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
= 0;
7923 wxCursor
*result
= 0 ;
7926 PyObject
* obj0
= 0 ;
7927 char * kwnames
[] = {
7928 (char *) "image", NULL
7931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
7932 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
7933 if (!SWIG_IsOK(res1
)) {
7934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
7939 arg1
= reinterpret_cast< wxImage
* >(argp1
);
7941 if (!wxPyCheckForApp()) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
7954 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7955 PyObject
*resultobj
= 0;
7956 wxCursor
*arg1
= (wxCursor
*) 0 ;
7960 PyObject
*swig_obj
[1] ;
7962 if (!args
) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
7968 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (long)(arg1
)->GetHandle();
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_From_long(static_cast< long >(result
));
7982 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
= 0;
7984 wxCursor
*arg1
= (wxCursor
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7991 PyObject
* obj1
= 0 ;
7992 char * kwnames
[] = {
7993 (char *) "self",(char *) "handle", NULL
7996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7998 if (!SWIG_IsOK(res1
)) {
7999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
8001 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8002 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8003 if (!SWIG_IsOK(ecode2
)) {
8004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
8006 arg2
= static_cast< long >(val2
);
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 wxCursor_SetHandle(arg1
,arg2
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 resultobj
= SWIG_Py_Void();
8020 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 PyObject
*resultobj
= 0;
8022 wxCursor
*arg1
= (wxCursor
*) 0 ;
8026 PyObject
*swig_obj
[1] ;
8028 if (!args
) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
8034 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)(arg1
)->Ok();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8050 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 PyObject
*resultobj
= 0;
8052 wxCursor
*arg1
= (wxCursor
*) 0 ;
8056 PyObject
*swig_obj
[1] ;
8058 if (!args
) SWIG_fail
;
8060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8061 if (!SWIG_IsOK(res1
)) {
8062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8064 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (int)(arg1
)->GetWidth();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_From_int(static_cast< int >(result
));
8078 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8079 PyObject
*resultobj
= 0;
8080 wxCursor
*arg1
= (wxCursor
*) 0 ;
8084 PyObject
*swig_obj
[1] ;
8086 if (!args
) SWIG_fail
;
8088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8089 if (!SWIG_IsOK(res1
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8092 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (int)(arg1
)->GetHeight();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_From_int(static_cast< int >(result
));
8106 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 PyObject
*resultobj
= 0;
8108 wxCursor
*arg1
= (wxCursor
*) 0 ;
8112 PyObject
*swig_obj
[1] ;
8114 if (!args
) SWIG_fail
;
8116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8117 if (!SWIG_IsOK(res1
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8120 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (int)(arg1
)->GetDepth();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_From_int(static_cast< int >(result
));
8134 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
= 0;
8136 wxCursor
*arg1
= (wxCursor
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 char * kwnames
[] = {
8145 (char *) "self",(char *) "w", NULL
8148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8150 if (!SWIG_IsOK(res1
)) {
8151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
8153 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8155 if (!SWIG_IsOK(ecode2
)) {
8156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
8158 arg2
= static_cast< int >(val2
);
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->SetWidth(arg2
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= SWIG_Py_Void();
8172 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
= 0;
8174 wxCursor
*arg1
= (wxCursor
*) 0 ;
8180 PyObject
* obj0
= 0 ;
8181 PyObject
* obj1
= 0 ;
8182 char * kwnames
[] = {
8183 (char *) "self",(char *) "h", NULL
8186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
8191 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8193 if (!SWIG_IsOK(ecode2
)) {
8194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
8196 arg2
= static_cast< int >(val2
);
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 (arg1
)->SetHeight(arg2
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_Py_Void();
8210 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= 0;
8212 wxCursor
*arg1
= (wxCursor
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 char * kwnames
[] = {
8221 (char *) "self",(char *) "d", NULL
8224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
8229 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8231 if (!SWIG_IsOK(ecode2
)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
8234 arg2
= static_cast< int >(val2
);
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 (arg1
)->SetDepth(arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_Py_Void();
8248 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
= 0;
8250 wxCursor
*arg1
= (wxCursor
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8257 char * kwnames
[] = {
8258 (char *) "self",(char *) "size", NULL
8261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8263 if (!SWIG_IsOK(res1
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
8266 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8269 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 (arg1
)->SetSize((wxSize
const &)*arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 resultobj
= SWIG_Py_Void();
8284 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8287 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
8288 return SWIG_Py_Void();
8291 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8292 return SWIG_Python_InitShadowInstance(args
);
8295 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
= 0;
8297 int arg1
= (int) 0 ;
8298 int arg2
= (int) 0 ;
8299 int arg3
= (int) 0 ;
8300 int arg4
= (int) 0 ;
8301 wxRegion
*result
= 0 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8313 PyObject
* obj3
= 0 ;
8314 char * kwnames
[] = {
8315 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8321 if (!SWIG_IsOK(ecode1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
8324 arg1
= static_cast< int >(val1
);
8327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8328 if (!SWIG_IsOK(ecode2
)) {
8329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
8331 arg2
= static_cast< int >(val2
);
8334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8335 if (!SWIG_IsOK(ecode3
)) {
8336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
8338 arg3
= static_cast< int >(val3
);
8341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8342 if (!SWIG_IsOK(ecode4
)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
8345 arg4
= static_cast< int >(val4
);
8348 if (!wxPyCheckForApp()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
8361 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
= 0;
8363 wxBitmap
*arg1
= 0 ;
8364 wxRegion
*result
= 0 ;
8367 PyObject
* obj0
= 0 ;
8368 char * kwnames
[] = {
8369 (char *) "bmp", NULL
8372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8380 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8382 if (!wxPyCheckForApp()) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8395 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
= 0;
8397 wxBitmap
*arg1
= 0 ;
8398 wxColour
*arg2
= 0 ;
8399 int arg3
= (int) 0 ;
8400 wxRegion
*result
= 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8408 PyObject
* obj2
= 0 ;
8409 char * kwnames
[] = {
8410 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
8413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8414 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8415 if (!SWIG_IsOK(res1
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8421 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8428 if (!SWIG_IsOK(ecode3
)) {
8429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
8431 arg3
= static_cast< int >(val3
);
8434 if (!wxPyCheckForApp()) SWIG_fail
;
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8447 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
*resultobj
= 0;
8450 wxPoint
*arg2
= (wxPoint
*) 0 ;
8451 int arg3
= (int) wxWINDING_RULE
;
8452 wxRegion
*result
= 0 ;
8455 PyObject
* obj0
= 0 ;
8456 PyObject
* obj1
= 0 ;
8457 char * kwnames
[] = {
8458 (char *) "points",(char *) "fillStyle", NULL
8461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8463 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
8464 if (arg2
== NULL
) SWIG_fail
;
8467 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
8468 if (!SWIG_IsOK(ecode3
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
8471 arg3
= static_cast< int >(val3
);
8474 if (!wxPyCheckForApp()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
8482 if (arg2
) delete [] arg2
;
8487 if (arg2
) delete [] arg2
;
8493 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8494 PyObject
*resultobj
= 0;
8495 wxRegion
*arg1
= (wxRegion
*) 0 ;
8498 PyObject
*swig_obj
[1] ;
8500 if (!args
) SWIG_fail
;
8502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
8503 if (!SWIG_IsOK(res1
)) {
8504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
8506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_Py_Void();
8521 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8522 PyObject
*resultobj
= 0;
8523 wxRegion
*arg1
= (wxRegion
*) 0 ;
8526 PyObject
*swig_obj
[1] ;
8528 if (!args
) SWIG_fail
;
8530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8531 if (!SWIG_IsOK(res1
)) {
8532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
8534 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= SWIG_Py_Void();
8548 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
= 0;
8550 wxRegion
*arg1
= (wxRegion
*) 0 ;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8562 PyObject
* obj2
= 0 ;
8563 char * kwnames
[] = {
8564 (char *) "self",(char *) "x",(char *) "y", NULL
8567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
8572 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8574 if (!SWIG_IsOK(ecode2
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
8577 arg2
= static_cast< int >(val2
);
8578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8579 if (!SWIG_IsOK(ecode3
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
8582 arg3
= static_cast< int >(val3
);
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
= 0;
8600 wxRegion
*arg1
= (wxRegion
*) 0 ;
8603 wxRegionContain result
;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8613 char * kwnames
[] = {
8614 (char *) "self",(char *) "x",(char *) "y", NULL
8617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
8622 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8624 if (!SWIG_IsOK(ecode2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
8627 arg2
= static_cast< int >(val2
);
8628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8629 if (!SWIG_IsOK(ecode3
)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
8632 arg3
= static_cast< int >(val3
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_From_int(static_cast< int >(result
));
8646 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxRegion
*arg1
= (wxRegion
*) 0 ;
8650 wxRegionContain result
;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "self",(char *) "pt", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
8665 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= SWIG_From_int(static_cast< int >(result
));
8683 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
= 0;
8685 wxRegion
*arg1
= (wxRegion
*) 0 ;
8687 wxRegionContain result
;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 char * kwnames
[] = {
8694 (char *) "self",(char *) "rect", NULL
8697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8702 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= SWIG_From_int(static_cast< int >(result
));
8720 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
= 0;
8722 wxRegion
*arg1
= (wxRegion
*) 0 ;
8727 wxRegionContain result
;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8741 PyObject
* obj3
= 0 ;
8742 PyObject
* obj4
= 0 ;
8743 char * kwnames
[] = {
8744 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
8747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8749 if (!SWIG_IsOK(res1
)) {
8750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
8752 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8754 if (!SWIG_IsOK(ecode2
)) {
8755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
8757 arg2
= static_cast< int >(val2
);
8758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8759 if (!SWIG_IsOK(ecode3
)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
8762 arg3
= static_cast< int >(val3
);
8763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8764 if (!SWIG_IsOK(ecode4
)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
8767 arg4
= static_cast< int >(val4
);
8768 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8769 if (!SWIG_IsOK(ecode5
)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
8772 arg5
= static_cast< int >(val5
);
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_From_int(static_cast< int >(result
));
8786 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8787 PyObject
*resultobj
= 0;
8788 wxRegion
*arg1
= (wxRegion
*) 0 ;
8792 PyObject
*swig_obj
[1] ;
8794 if (!args
) SWIG_fail
;
8796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8797 if (!SWIG_IsOK(res1
)) {
8798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
8800 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= (arg1
)->GetBox();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8814 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= 0;
8816 wxRegion
*arg1
= (wxRegion
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8834 PyObject
* obj2
= 0 ;
8835 PyObject
* obj3
= 0 ;
8836 PyObject
* obj4
= 0 ;
8837 char * kwnames
[] = {
8838 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
8841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8843 if (!SWIG_IsOK(res1
)) {
8844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
8846 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8848 if (!SWIG_IsOK(ecode2
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
8851 arg2
= static_cast< int >(val2
);
8852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8853 if (!SWIG_IsOK(ecode3
)) {
8854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
8856 arg3
= static_cast< int >(val3
);
8857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8858 if (!SWIG_IsOK(ecode4
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
8861 arg4
= static_cast< int >(val4
);
8862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8863 if (!SWIG_IsOK(ecode5
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
8866 arg5
= static_cast< int >(val5
);
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8882 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
= 0;
8884 wxRegion
*arg1
= (wxRegion
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8891 PyObject
* obj1
= 0 ;
8892 char * kwnames
[] = {
8893 (char *) "self",(char *) "rect", NULL
8896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8898 if (!SWIG_IsOK(res1
)) {
8899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
8901 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8904 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8921 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxRegion
*arg1
= (wxRegion
*) 0 ;
8924 wxRegion
*arg2
= 0 ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 char * kwnames
[] = {
8933 (char *) "self",(char *) "region", NULL
8936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8938 if (!SWIG_IsOK(res1
)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
8941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
8943 if (!SWIG_IsOK(res2
)) {
8944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
8949 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
8953 wxPyEndAllowThreads(__tstate
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8965 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8966 PyObject
*resultobj
= 0;
8967 wxRegion
*arg1
= (wxRegion
*) 0 ;
8971 PyObject
*swig_obj
[1] ;
8973 if (!args
) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
8979 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (bool)(arg1
)->IsEmpty();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8995 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
= 0;
8997 wxRegion
*arg1
= (wxRegion
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 PyObject
* obj2
= 0 ;
9016 PyObject
* obj3
= 0 ;
9017 PyObject
* obj4
= 0 ;
9018 char * kwnames
[] = {
9019 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
9027 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9029 if (!SWIG_IsOK(ecode2
)) {
9030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
9032 arg2
= static_cast< int >(val2
);
9033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9034 if (!SWIG_IsOK(ecode3
)) {
9035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
9037 arg3
= static_cast< int >(val3
);
9038 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9039 if (!SWIG_IsOK(ecode4
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
9042 arg4
= static_cast< int >(val4
);
9043 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9044 if (!SWIG_IsOK(ecode5
)) {
9045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
9047 arg5
= static_cast< int >(val5
);
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9063 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
= 0;
9065 wxRegion
*arg1
= (wxRegion
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 char * kwnames
[] = {
9074 (char *) "self",(char *) "rect", NULL
9077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9079 if (!SWIG_IsOK(res1
)) {
9080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9082 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9102 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxRegion
*arg1
= (wxRegion
*) 0 ;
9105 wxRegion
*arg2
= 0 ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 char * kwnames
[] = {
9114 (char *) "self",(char *) "region", NULL
9117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9122 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9124 if (!SWIG_IsOK(res2
)) {
9125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9130 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9146 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
= 0;
9148 wxRegion
*arg1
= (wxRegion
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9167 PyObject
* obj3
= 0 ;
9168 PyObject
* obj4
= 0 ;
9169 char * kwnames
[] = {
9170 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9175 if (!SWIG_IsOK(res1
)) {
9176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
9178 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9180 if (!SWIG_IsOK(ecode2
)) {
9181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
9183 arg2
= static_cast< int >(val2
);
9184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9185 if (!SWIG_IsOK(ecode3
)) {
9186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
9188 arg3
= static_cast< int >(val3
);
9189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9190 if (!SWIG_IsOK(ecode4
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
9193 arg4
= static_cast< int >(val4
);
9194 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9195 if (!SWIG_IsOK(ecode5
)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
9198 arg5
= static_cast< int >(val5
);
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9214 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxRegion
*arg1
= (wxRegion
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "self",(char *) "rect", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9233 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9236 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9253 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
= 0;
9255 wxRegion
*arg1
= (wxRegion
*) 0 ;
9256 wxRegion
*arg2
= 0 ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "region", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9273 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9275 if (!SWIG_IsOK(res2
)) {
9276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9281 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9297 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
= 0;
9299 wxRegion
*arg1
= (wxRegion
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 PyObject
* obj2
= 0 ;
9318 PyObject
* obj3
= 0 ;
9319 PyObject
* obj4
= 0 ;
9320 char * kwnames
[] = {
9321 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
9329 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9331 if (!SWIG_IsOK(ecode2
)) {
9332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
9334 arg2
= static_cast< int >(val2
);
9335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9336 if (!SWIG_IsOK(ecode3
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
9339 arg3
= static_cast< int >(val3
);
9340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9341 if (!SWIG_IsOK(ecode4
)) {
9342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
9344 arg4
= static_cast< int >(val4
);
9345 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
9346 if (!SWIG_IsOK(ecode5
)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
9349 arg5
= static_cast< int >(val5
);
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9365 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= 0;
9367 wxRegion
*arg1
= (wxRegion
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 char * kwnames
[] = {
9376 (char *) "self",(char *) "rect", NULL
9379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
9384 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9404 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= 0;
9406 wxRegion
*arg1
= (wxRegion
*) 0 ;
9407 wxRegion
*arg2
= 0 ;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9415 char * kwnames
[] = {
9416 (char *) "self",(char *) "region", NULL
9419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9421 if (!SWIG_IsOK(res1
)) {
9422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
9424 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
9426 if (!SWIG_IsOK(res2
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
9432 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9448 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9449 PyObject
*resultobj
= 0;
9450 wxRegion
*arg1
= (wxRegion
*) 0 ;
9451 SwigValueWrapper
<wxBitmap
> result
;
9454 PyObject
*swig_obj
[1] ;
9456 if (!args
) SWIG_fail
;
9458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9459 if (!SWIG_IsOK(res1
)) {
9460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9462 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 result
= (arg1
)->ConvertToBitmap();
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
9476 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
= 0;
9478 wxRegion
*arg1
= (wxRegion
*) 0 ;
9479 wxBitmap
*arg2
= 0 ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 char * kwnames
[] = {
9488 (char *) "self",(char *) "bmp", NULL
9491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9493 if (!SWIG_IsOK(res1
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
9496 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9498 if (!SWIG_IsOK(res2
)) {
9499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9504 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9520 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
= 0;
9522 wxRegion
*arg1
= (wxRegion
*) 0 ;
9523 wxBitmap
*arg2
= 0 ;
9524 wxColour
*arg3
= 0 ;
9525 int arg4
= (int) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9536 PyObject
* obj2
= 0 ;
9537 PyObject
* obj3
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
9547 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9549 if (!SWIG_IsOK(res2
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9555 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9558 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9562 if (!SWIG_IsOK(ecode4
)) {
9563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
9565 arg4
= static_cast< int >(val4
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9582 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9585 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
9586 return SWIG_Py_Void();
9589 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9590 return SWIG_Python_InitShadowInstance(args
);
9593 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
*resultobj
= 0;
9595 wxRegion
*arg1
= 0 ;
9596 wxRegionIterator
*result
= 0 ;
9599 PyObject
* obj0
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "region", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
9605 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
9606 if (!SWIG_IsOK(res1
)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
9612 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
9614 if (!wxPyCheckForApp()) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
9627 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9628 PyObject
*resultobj
= 0;
9629 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9632 PyObject
*swig_obj
[1] ;
9634 if (!args
) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9640 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_Py_Void();
9655 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9656 PyObject
*resultobj
= 0;
9657 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9661 PyObject
*swig_obj
[1] ;
9663 if (!args
) SWIG_fail
;
9665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9666 if (!SWIG_IsOK(res1
)) {
9667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9669 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (int)(arg1
)->GetX();
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= SWIG_From_int(static_cast< int >(result
));
9683 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9684 PyObject
*resultobj
= 0;
9685 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9689 PyObject
*swig_obj
[1] ;
9691 if (!args
) SWIG_fail
;
9693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9694 if (!SWIG_IsOK(res1
)) {
9695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9697 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (int)(arg1
)->GetY();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= SWIG_From_int(static_cast< int >(result
));
9711 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9712 PyObject
*resultobj
= 0;
9713 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9717 PyObject
*swig_obj
[1] ;
9719 if (!args
) SWIG_fail
;
9721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9722 if (!SWIG_IsOK(res1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9725 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (int)(arg1
)->GetW();
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_From_int(static_cast< int >(result
));
9739 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9740 PyObject
*resultobj
= 0;
9741 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9745 PyObject
*swig_obj
[1] ;
9747 if (!args
) SWIG_fail
;
9749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9750 if (!SWIG_IsOK(res1
)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9753 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= (int)(arg1
)->GetWidth();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_From_int(static_cast< int >(result
));
9767 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9768 PyObject
*resultobj
= 0;
9769 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9773 PyObject
*swig_obj
[1] ;
9775 if (!args
) SWIG_fail
;
9777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9778 if (!SWIG_IsOK(res1
)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9781 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (int)(arg1
)->GetH();
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_From_int(static_cast< int >(result
));
9795 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9796 PyObject
*resultobj
= 0;
9797 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9801 PyObject
*swig_obj
[1] ;
9803 if (!args
) SWIG_fail
;
9805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9806 if (!SWIG_IsOK(res1
)) {
9807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9809 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)(arg1
)->GetHeight();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_From_int(static_cast< int >(result
));
9823 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9824 PyObject
*resultobj
= 0;
9825 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9829 PyObject
*swig_obj
[1] ;
9831 if (!args
) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9837 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (arg1
)->GetRect();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9851 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9852 PyObject
*resultobj
= 0;
9853 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9857 PyObject
*swig_obj
[1] ;
9859 if (!args
) SWIG_fail
;
9861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9862 if (!SWIG_IsOK(res1
)) {
9863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9865 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->HaveRects();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9881 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9882 PyObject
*resultobj
= 0;
9883 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9886 PyObject
*swig_obj
[1] ;
9888 if (!args
) SWIG_fail
;
9890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9891 if (!SWIG_IsOK(res1
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9894 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9908 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9909 PyObject
*resultobj
= 0;
9910 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9913 PyObject
*swig_obj
[1] ;
9915 if (!args
) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9921 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 wxRegionIterator_Next(arg1
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_Py_Void();
9935 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9936 PyObject
*resultobj
= 0;
9937 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
9941 PyObject
*swig_obj
[1] ;
9943 if (!args
) SWIG_fail
;
9945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
9946 if (!SWIG_IsOK(res1
)) {
9947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
9949 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (bool)wxRegionIterator___nonzero__(arg1
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9965 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9968 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
9969 return SWIG_Py_Void();
9972 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9973 return SWIG_Python_InitShadowInstance(args
);
9976 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9977 PyObject
*resultobj
= 0;
9978 wxNativeFontInfo
*result
= 0 ;
9980 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
9994 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9995 PyObject
*resultobj
= 0;
9996 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
9999 PyObject
*swig_obj
[1] ;
10001 if (!args
) SWIG_fail
;
10002 swig_obj
[0] = args
;
10003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
10004 if (!SWIG_IsOK(res1
)) {
10005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10007 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_Py_Void();
10022 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10023 PyObject
*resultobj
= 0;
10024 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10027 PyObject
*swig_obj
[1] ;
10029 if (!args
) SWIG_fail
;
10030 swig_obj
[0] = args
;
10031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10032 if (!SWIG_IsOK(res1
)) {
10033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10035 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_Py_Void();
10049 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
= 0;
10051 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 char * kwnames
[] = {
10060 (char *) "self",(char *) "font", NULL
10063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10068 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10070 if (!SWIG_IsOK(res2
)) {
10071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10076 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_Py_Void();
10090 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10091 PyObject
*resultobj
= 0;
10092 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10096 PyObject
*swig_obj
[1] ;
10098 if (!args
) SWIG_fail
;
10099 swig_obj
[0] = args
;
10100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10101 if (!SWIG_IsOK(res1
)) {
10102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10104 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_From_int(static_cast< int >(result
));
10118 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10119 PyObject
*resultobj
= 0;
10120 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10124 PyObject
*swig_obj
[1] ;
10126 if (!args
) SWIG_fail
;
10127 swig_obj
[0] = args
;
10128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10129 if (!SWIG_IsOK(res1
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10132 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) SWIG_fail
;
10139 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
10146 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10147 PyObject
*resultobj
= 0;
10148 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10149 wxFontStyle result
;
10152 PyObject
*swig_obj
[1] ;
10154 if (!args
) SWIG_fail
;
10155 swig_obj
[0] = args
;
10156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10157 if (!SWIG_IsOK(res1
)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10160 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_From_int(static_cast< int >(result
));
10174 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10175 PyObject
*resultobj
= 0;
10176 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10177 wxFontWeight result
;
10180 PyObject
*swig_obj
[1] ;
10182 if (!args
) SWIG_fail
;
10183 swig_obj
[0] = args
;
10184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10185 if (!SWIG_IsOK(res1
)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10188 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_From_int(static_cast< int >(result
));
10202 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10203 PyObject
*resultobj
= 0;
10204 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10216 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10219 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10232 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10233 PyObject
*resultobj
= 0;
10234 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10238 PyObject
*swig_obj
[1] ;
10240 if (!args
) SWIG_fail
;
10241 swig_obj
[0] = args
;
10242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10246 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10266 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10267 PyObject
*resultobj
= 0;
10268 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10269 wxFontFamily result
;
10272 PyObject
*swig_obj
[1] ;
10274 if (!args
) SWIG_fail
;
10275 swig_obj
[0] = args
;
10276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10277 if (!SWIG_IsOK(res1
)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10280 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_From_int(static_cast< int >(result
));
10294 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10295 PyObject
*resultobj
= 0;
10296 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10297 wxFontEncoding result
;
10300 PyObject
*swig_obj
[1] ;
10302 if (!args
) SWIG_fail
;
10303 swig_obj
[0] = args
;
10304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10308 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_From_int(static_cast< int >(result
));
10322 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
= 0;
10324 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 char * kwnames
[] = {
10333 (char *) "self",(char *) "pointsize", NULL
10336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10338 if (!SWIG_IsOK(res1
)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10341 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10343 if (!SWIG_IsOK(ecode2
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
10346 arg2
= static_cast< int >(val2
);
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 (arg1
)->SetPointSize(arg2
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_Py_Void();
10360 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
= 0;
10362 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char * kwnames
[] = {
10370 (char *) "self",(char *) "pixelSize", NULL
10373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10375 if (!SWIG_IsOK(res1
)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10378 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10381 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_Py_Void();
10396 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
= 0;
10398 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 PyObject
* obj1
= 0 ;
10406 char * kwnames
[] = {
10407 (char *) "self",(char *) "style", NULL
10410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10415 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10417 if (!SWIG_IsOK(ecode2
)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
10420 arg2
= static_cast< wxFontStyle
>(val2
);
10422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10423 (arg1
)->SetStyle(arg2
);
10424 wxPyEndAllowThreads(__tstate
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10427 resultobj
= SWIG_Py_Void();
10434 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
= 0;
10436 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10437 wxFontWeight arg2
;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "self",(char *) "weight", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10453 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10455 if (!SWIG_IsOK(ecode2
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
10458 arg2
= static_cast< wxFontWeight
>(val2
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 (arg1
)->SetWeight(arg2
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_Py_Void();
10472 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
= 0;
10474 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 char * kwnames
[] = {
10483 (char *) "self",(char *) "underlined", NULL
10486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10488 if (!SWIG_IsOK(res1
)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10491 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10492 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10493 if (!SWIG_IsOK(ecode2
)) {
10494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
10496 arg2
= static_cast< bool >(val2
);
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 (arg1
)->SetUnderlined(arg2
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_Py_Void();
10510 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
= 0;
10512 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 PyObject
* obj1
= 0 ;
10518 char * kwnames
[] = {
10519 (char *) "self",(char *) "facename", NULL
10522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10524 if (!SWIG_IsOK(res1
)) {
10525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10527 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10529 wxString
* sptr
= wxString_in_helper(obj1
);
10530 if (sptr
== NULL
) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 (arg1
)->SetFaceName(arg2
);
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_Py_Void();
10547 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10550 wxFontFamily arg2
;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "self",(char *) "family", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10566 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10568 if (!SWIG_IsOK(ecode2
)) {
10569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
10571 arg2
= static_cast< wxFontFamily
>(val2
);
10573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 (arg1
)->SetFamily(arg2
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= SWIG_Py_Void();
10585 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
= 0;
10587 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10588 wxFontEncoding arg2
;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 char * kwnames
[] = {
10596 (char *) "self",(char *) "encoding", NULL
10599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10601 if (!SWIG_IsOK(res1
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10604 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10606 if (!SWIG_IsOK(ecode2
)) {
10607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10609 arg2
= static_cast< wxFontEncoding
>(val2
);
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 (arg1
)->SetEncoding(arg2
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= SWIG_Py_Void();
10623 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= 0;
10625 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10626 wxString
*arg2
= 0 ;
10630 bool temp2
= false ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char * kwnames
[] = {
10634 (char *) "self",(char *) "s", NULL
10637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10642 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10644 arg2
= wxString_in_helper(obj1
);
10645 if (arg2
== NULL
) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10671 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10672 PyObject
*resultobj
= 0;
10673 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10677 PyObject
*swig_obj
[1] ;
10679 if (!args
) SWIG_fail
;
10680 swig_obj
[0] = args
;
10681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10685 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10705 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10706 PyObject
*resultobj
= 0;
10707 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10711 PyObject
*swig_obj
[1] ;
10713 if (!args
) SWIG_fail
;
10714 swig_obj
[0] = args
;
10715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10719 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= wxNativeFontInfo___str__(arg1
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10739 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
= 0;
10741 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10742 wxString
*arg2
= 0 ;
10746 bool temp2
= false ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 char * kwnames
[] = {
10750 (char *) "self",(char *) "s", NULL
10753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10755 if (!SWIG_IsOK(res1
)) {
10756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
10758 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10760 arg2
= wxString_in_helper(obj1
);
10761 if (arg2
== NULL
) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10788 PyObject
*resultobj
= 0;
10789 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
10793 PyObject
*swig_obj
[1] ;
10795 if (!args
) SWIG_fail
;
10796 swig_obj
[0] = args
;
10797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
10798 if (!SWIG_IsOK(res1
)) {
10799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
10801 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10821 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10824 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
10825 return SWIG_Py_Void();
10828 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10829 return SWIG_Python_InitShadowInstance(args
);
10832 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10833 PyObject
*resultobj
= 0;
10834 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10835 wxString
*arg2
= (wxString
*) 0 ;
10838 bool temp2
= false ;
10839 PyObject
*swig_obj
[2] ;
10841 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
10842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10843 if (!SWIG_IsOK(res1
)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10846 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10848 arg2
= wxString_in_helper(swig_obj
[1]);
10849 if (arg2
== NULL
) SWIG_fail
;
10852 if (arg1
) (arg1
)->facename
= *arg2
;
10854 resultobj
= SWIG_Py_Void();
10869 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10870 PyObject
*resultobj
= 0;
10871 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10872 wxString
*result
= 0 ;
10875 PyObject
*swig_obj
[1] ;
10877 if (!args
) SWIG_fail
;
10878 swig_obj
[0] = args
;
10879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10883 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10884 result
= (wxString
*)& ((arg1
)->facename
);
10887 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10889 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10898 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10899 PyObject
*resultobj
= 0;
10900 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10901 wxFontEncoding arg2
;
10906 PyObject
*swig_obj
[2] ;
10908 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
10909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10910 if (!SWIG_IsOK(res1
)) {
10911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10913 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10914 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10915 if (!SWIG_IsOK(ecode2
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
10918 arg2
= static_cast< wxFontEncoding
>(val2
);
10919 if (arg1
) (arg1
)->encoding
= arg2
;
10921 resultobj
= SWIG_Py_Void();
10928 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10929 PyObject
*resultobj
= 0;
10930 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10931 wxFontEncoding result
;
10934 PyObject
*swig_obj
[1] ;
10936 if (!args
) SWIG_fail
;
10937 swig_obj
[0] = args
;
10938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
10939 if (!SWIG_IsOK(res1
)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10942 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10943 result
= (wxFontEncoding
) ((arg1
)->encoding
);
10944 resultobj
= SWIG_From_int(static_cast< int >(result
));
10951 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10952 PyObject
*resultobj
= 0;
10953 wxNativeEncodingInfo
*result
= 0 ;
10955 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
10969 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 PyObject
*resultobj
= 0;
10971 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
10974 PyObject
*swig_obj
[1] ;
10976 if (!args
) SWIG_fail
;
10977 swig_obj
[0] = args
;
10978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
10979 if (!SWIG_IsOK(res1
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
10982 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_Py_Void();
10997 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
= 0;
10999 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11000 wxString
*arg2
= 0 ;
11004 bool temp2
= false ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char * kwnames
[] = {
11008 (char *) "self",(char *) "s", NULL
11011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11013 if (!SWIG_IsOK(res1
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
11016 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11018 arg2
= wxString_in_helper(obj1
);
11019 if (arg2
== NULL
) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11045 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11046 PyObject
*resultobj
= 0;
11047 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
11051 PyObject
*swig_obj
[1] ;
11053 if (!args
) SWIG_fail
;
11054 swig_obj
[0] = args
;
11055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
11059 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11079 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11082 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
11083 return SWIG_Py_Void();
11086 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11087 return SWIG_Python_InitShadowInstance(args
);
11090 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
= 0;
11092 wxFontEncoding arg1
;
11093 wxNativeEncodingInfo
*result
= 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char * kwnames
[] = {
11098 (char *) "encoding", NULL
11101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11102 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11103 if (!SWIG_IsOK(ecode1
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11106 arg1
= static_cast< wxFontEncoding
>(val1
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
11120 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
= 0;
11122 wxNativeEncodingInfo
*arg1
= 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char * kwnames
[] = {
11128 (char *) "info", NULL
11131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
11132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
11133 if (!SWIG_IsOK(res1
)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
11139 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11156 PyObject
*resultobj
= 0;
11157 wxFontMapper
*result
= 0 ;
11159 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (wxFontMapper
*)new wxFontMapper();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
11173 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11174 PyObject
*resultobj
= 0;
11175 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11178 PyObject
*swig_obj
[1] ;
11180 if (!args
) SWIG_fail
;
11181 swig_obj
[0] = args
;
11182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11186 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 resultobj
= SWIG_Py_Void();
11201 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11202 PyObject
*resultobj
= 0;
11203 wxFontMapper
*result
= 0 ;
11205 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (wxFontMapper
*)wxFontMapper::Get();
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11219 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= 0;
11221 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11222 wxFontMapper
*result
= 0 ;
11225 PyObject
* obj0
= 0 ;
11226 char * kwnames
[] = {
11227 (char *) "mapper", NULL
11230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
11231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11235 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11249 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11252 wxString
*arg2
= 0 ;
11253 bool arg3
= (bool) true ;
11254 wxFontEncoding result
;
11257 bool temp2
= false ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 PyObject
* obj2
= 0 ;
11263 char * kwnames
[] = {
11264 (char *) "self",(char *) "charset",(char *) "interactive", NULL
11267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11269 if (!SWIG_IsOK(res1
)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11272 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11274 arg2
= wxString_in_helper(obj1
);
11275 if (arg2
== NULL
) SWIG_fail
;
11279 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11280 if (!SWIG_IsOK(ecode3
)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
11283 arg3
= static_cast< bool >(val3
);
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_From_int(static_cast< int >(result
));
11306 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11310 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11324 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= 0;
11327 wxFontEncoding result
;
11330 PyObject
* obj0
= 0 ;
11331 char * kwnames
[] = {
11335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
11336 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11337 if (!SWIG_IsOK(ecode1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
11340 arg1
= static_cast< size_t >(val1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_int(static_cast< int >(result
));
11354 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
= 0;
11356 wxFontEncoding arg1
;
11360 PyObject
* obj0
= 0 ;
11361 char * kwnames
[] = {
11362 (char *) "encoding", NULL
11365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
11366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11367 if (!SWIG_IsOK(ecode1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11370 arg1
= static_cast< wxFontEncoding
>(val1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= wxFontMapper::GetEncodingName(arg1
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11390 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= 0;
11392 wxFontEncoding arg1
;
11396 PyObject
* obj0
= 0 ;
11397 char * kwnames
[] = {
11398 (char *) "encoding", NULL
11401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
11402 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11403 if (!SWIG_IsOK(ecode1
)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
11406 arg1
= static_cast< wxFontEncoding
>(val1
);
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= wxFontMapper::GetEncodingDescription(arg1
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11426 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
= 0;
11428 wxString
*arg1
= 0 ;
11429 wxFontEncoding result
;
11430 bool temp1
= false ;
11431 PyObject
* obj0
= 0 ;
11432 char * kwnames
[] = {
11433 (char *) "name", NULL
11436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
11438 arg1
= wxString_in_helper(obj0
);
11439 if (arg1
== NULL
) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_From_int(static_cast< int >(result
));
11463 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
= 0;
11465 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11466 wxString
*arg2
= 0 ;
11469 bool temp2
= false ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 char * kwnames
[] = {
11473 (char *) "self",(char *) "prefix", NULL
11476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11478 if (!SWIG_IsOK(res1
)) {
11479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11481 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11483 arg2
= wxString_in_helper(obj1
);
11484 if (arg2
== NULL
) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 resultobj
= SWIG_Py_Void();
11508 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11509 PyObject
*resultobj
= 0;
11512 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= wxFontMapper::GetDefaultConfigPath();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11532 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
= 0;
11534 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11535 wxFontEncoding arg2
;
11536 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11537 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11538 bool arg4
= (bool) true ;
11539 PyObject
*result
= 0 ;
11544 bool temp3
= false ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 PyObject
* obj2
= 0 ;
11550 PyObject
* obj3
= 0 ;
11551 char * kwnames
[] = {
11552 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
11555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11557 if (!SWIG_IsOK(res1
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11560 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11562 if (!SWIG_IsOK(ecode2
)) {
11563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11565 arg2
= static_cast< wxFontEncoding
>(val2
);
11568 arg3
= wxString_in_helper(obj2
);
11569 if (arg3
== NULL
) SWIG_fail
;
11574 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11575 if (!SWIG_IsOK(ecode4
)) {
11576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
11578 arg4
= static_cast< bool >(val4
);
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= result
;
11601 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= 0;
11603 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11604 wxFontEncoding arg2
;
11605 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11606 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11612 bool temp3
= false ;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 PyObject
* obj2
= 0 ;
11616 char * kwnames
[] = {
11617 (char *) "self",(char *) "encoding",(char *) "facename", NULL
11620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11622 if (!SWIG_IsOK(res1
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11625 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11627 if (!SWIG_IsOK(ecode2
)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
11630 arg2
= static_cast< wxFontEncoding
>(val2
);
11633 arg3
= wxString_in_helper(obj2
);
11634 if (arg3
== NULL
) SWIG_fail
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11661 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
= 0;
11663 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11664 wxWindow
*arg2
= (wxWindow
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 char * kwnames
[] = {
11672 (char *) "self",(char *) "parent", NULL
11675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11680 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11681 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11682 if (!SWIG_IsOK(res2
)) {
11683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
11685 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->SetDialogParent(arg2
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_Py_Void();
11699 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
= 0;
11701 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
11702 wxString
*arg2
= 0 ;
11705 bool temp2
= false ;
11706 PyObject
* obj0
= 0 ;
11707 PyObject
* obj1
= 0 ;
11708 char * kwnames
[] = {
11709 (char *) "self",(char *) "title", NULL
11712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
11714 if (!SWIG_IsOK(res1
)) {
11715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
11717 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
11719 arg2
= wxString_in_helper(obj1
);
11720 if (arg2
== NULL
) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_Py_Void();
11744 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11747 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
11748 return SWIG_Py_Void();
11751 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11752 return SWIG_Python_InitShadowInstance(args
);
11755 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
= 0;
11761 bool arg5
= (bool) false ;
11762 wxString
const &arg6_defvalue
= wxPyEmptyString
;
11763 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11764 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11765 wxFont
*result
= 0 ;
11776 bool temp6
= false ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 PyObject
* obj2
= 0 ;
11782 PyObject
* obj3
= 0 ;
11783 PyObject
* obj4
= 0 ;
11784 PyObject
* obj5
= 0 ;
11785 PyObject
* obj6
= 0 ;
11786 char * kwnames
[] = {
11787 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
11790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11792 if (!SWIG_IsOK(ecode1
)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
11795 arg1
= static_cast< int >(val1
);
11796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11797 if (!SWIG_IsOK(ecode2
)) {
11798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
11800 arg2
= static_cast< int >(val2
);
11801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11802 if (!SWIG_IsOK(ecode3
)) {
11803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
11805 arg3
= static_cast< int >(val3
);
11806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11807 if (!SWIG_IsOK(ecode4
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
11810 arg4
= static_cast< int >(val4
);
11812 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
11813 if (!SWIG_IsOK(ecode5
)) {
11814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
11816 arg5
= static_cast< bool >(val5
);
11820 arg6
= wxString_in_helper(obj5
);
11821 if (arg6
== NULL
) SWIG_fail
;
11826 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
11827 if (!SWIG_IsOK(ecode7
)) {
11828 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
11830 arg7
= static_cast< wxFontEncoding
>(val7
);
11833 if (!wxPyCheckForApp()) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
11854 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11855 PyObject
*resultobj
= 0;
11856 wxFont
*arg1
= (wxFont
*) 0 ;
11859 PyObject
*swig_obj
[1] ;
11861 if (!args
) SWIG_fail
;
11862 swig_obj
[0] = args
;
11863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
11864 if (!SWIG_IsOK(res1
)) {
11865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
11867 arg1
= reinterpret_cast< wxFont
* >(argp1
);
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_Py_Void();
11882 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
= 0;
11884 wxNativeFontInfo
*arg1
= 0 ;
11885 wxFont
*result
= 0 ;
11888 PyObject
* obj0
= 0 ;
11889 char * kwnames
[] = {
11890 (char *) "info", NULL
11893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
11894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
11895 if (!SWIG_IsOK(res1
)) {
11896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
11901 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11903 if (!wxPyCheckForApp()) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11916 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 wxString
*arg1
= 0 ;
11919 wxFont
*result
= 0 ;
11920 bool temp1
= false ;
11921 PyObject
* obj0
= 0 ;
11922 char * kwnames
[] = {
11923 (char *) "info", NULL
11926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
11928 arg1
= wxString_in_helper(obj0
);
11929 if (arg1
== NULL
) SWIG_fail
;
11933 if (!wxPyCheckForApp()) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
11954 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
= 0;
11957 wxFontFamily arg2
;
11958 int arg3
= (int) wxFONTFLAG_DEFAULT
;
11959 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11960 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11961 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
11962 wxFont
*result
= 0 ;
11969 bool temp4
= false ;
11972 PyObject
* obj0
= 0 ;
11973 PyObject
* obj1
= 0 ;
11974 PyObject
* obj2
= 0 ;
11975 PyObject
* obj3
= 0 ;
11976 PyObject
* obj4
= 0 ;
11977 char * kwnames
[] = {
11978 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
11981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11983 if (!SWIG_IsOK(ecode1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
11986 arg1
= static_cast< int >(val1
);
11987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11988 if (!SWIG_IsOK(ecode2
)) {
11989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
11991 arg2
= static_cast< wxFontFamily
>(val2
);
11993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11994 if (!SWIG_IsOK(ecode3
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
11997 arg3
= static_cast< int >(val3
);
12001 arg4
= wxString_in_helper(obj3
);
12002 if (arg4
== NULL
) SWIG_fail
;
12007 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12008 if (!SWIG_IsOK(ecode5
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12011 arg5
= static_cast< wxFontEncoding
>(val5
);
12014 if (!wxPyCheckForApp()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12035 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
= 0;
12041 bool arg5
= (bool) false ;
12042 wxString
const &arg6_defvalue
= wxEmptyString
;
12043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12044 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12045 wxFont
*result
= 0 ;
12055 bool temp6
= false ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 PyObject
* obj2
= 0 ;
12061 PyObject
* obj3
= 0 ;
12062 PyObject
* obj4
= 0 ;
12063 PyObject
* obj5
= 0 ;
12064 PyObject
* obj6
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12072 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12075 if (!SWIG_IsOK(ecode2
)) {
12076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
12078 arg2
= static_cast< int >(val2
);
12079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12080 if (!SWIG_IsOK(ecode3
)) {
12081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12083 arg3
= static_cast< int >(val3
);
12084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12085 if (!SWIG_IsOK(ecode4
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
12088 arg4
= static_cast< int >(val4
);
12090 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
12091 if (!SWIG_IsOK(ecode5
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
12094 arg5
= static_cast< bool >(val5
);
12098 arg6
= wxString_in_helper(obj5
);
12099 if (arg6
== NULL
) SWIG_fail
;
12104 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
12105 if (!SWIG_IsOK(ecode7
)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
12108 arg7
= static_cast< wxFontEncoding
>(val7
);
12111 if (!wxPyCheckForApp()) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12132 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12133 PyObject
*resultobj
= 0;
12135 wxFontFamily arg2
;
12136 int arg3
= (int) wxFONTFLAG_DEFAULT
;
12137 wxString
const &arg4_defvalue
= wxEmptyString
;
12138 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12139 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
12140 wxFont
*result
= 0 ;
12146 bool temp4
= false ;
12149 PyObject
* obj0
= 0 ;
12150 PyObject
* obj1
= 0 ;
12151 PyObject
* obj2
= 0 ;
12152 PyObject
* obj3
= 0 ;
12153 PyObject
* obj4
= 0 ;
12154 char * kwnames
[] = {
12155 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
12158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12161 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
12163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12164 if (!SWIG_IsOK(ecode2
)) {
12165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
12167 arg2
= static_cast< wxFontFamily
>(val2
);
12169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12170 if (!SWIG_IsOK(ecode3
)) {
12171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
12173 arg3
= static_cast< int >(val3
);
12177 arg4
= wxString_in_helper(obj3
);
12178 if (arg4
== NULL
) SWIG_fail
;
12183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12184 if (!SWIG_IsOK(ecode5
)) {
12185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
12187 arg5
= static_cast< wxFontEncoding
>(val5
);
12190 if (!wxPyCheckForApp()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
12211 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12212 PyObject
*resultobj
= 0;
12213 wxFont
*arg1
= (wxFont
*) 0 ;
12217 PyObject
*swig_obj
[1] ;
12219 if (!args
) SWIG_fail
;
12220 swig_obj
[0] = args
;
12221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12222 if (!SWIG_IsOK(res1
)) {
12223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
12225 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (bool)((wxFont
const *)arg1
)->Ok();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12241 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
= 0;
12243 wxFont
*arg1
= (wxFont
*) 0 ;
12244 wxFont
*arg2
= (wxFont
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 PyObject
* obj1
= 0 ;
12252 char * kwnames
[] = {
12253 (char *) "self",(char *) "other", NULL
12256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
12261 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12263 if (!SWIG_IsOK(res2
)) {
12264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
12266 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12282 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
= 0;
12284 wxFont
*arg1
= (wxFont
*) 0 ;
12285 wxFont
*arg2
= (wxFont
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char * kwnames
[] = {
12294 (char *) "self",(char *) "other", NULL
12297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
12302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
12304 if (!SWIG_IsOK(res2
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
12307 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12323 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12324 PyObject
*resultobj
= 0;
12325 wxFont
*arg1
= (wxFont
*) 0 ;
12329 PyObject
*swig_obj
[1] ;
12331 if (!args
) SWIG_fail
;
12332 swig_obj
[0] = args
;
12333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12334 if (!SWIG_IsOK(res1
)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12337 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= SWIG_From_int(static_cast< int >(result
));
12351 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12352 PyObject
*resultobj
= 0;
12353 wxFont
*arg1
= (wxFont
*) 0 ;
12357 PyObject
*swig_obj
[1] ;
12359 if (!args
) SWIG_fail
;
12360 swig_obj
[0] = args
;
12361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
12365 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= ((wxFont
const *)arg1
)->GetPixelSize();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12379 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12380 PyObject
*resultobj
= 0;
12381 wxFont
*arg1
= (wxFont
*) 0 ;
12385 PyObject
*swig_obj
[1] ;
12387 if (!args
) SWIG_fail
;
12388 swig_obj
[0] = args
;
12389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
12393 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12409 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12410 PyObject
*resultobj
= 0;
12411 wxFont
*arg1
= (wxFont
*) 0 ;
12415 PyObject
*swig_obj
[1] ;
12417 if (!args
) SWIG_fail
;
12418 swig_obj
[0] = args
;
12419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
12423 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (int)((wxFont
const *)arg1
)->GetFamily();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_From_int(static_cast< int >(result
));
12437 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12438 PyObject
*resultobj
= 0;
12439 wxFont
*arg1
= (wxFont
*) 0 ;
12443 PyObject
*swig_obj
[1] ;
12445 if (!args
) SWIG_fail
;
12446 swig_obj
[0] = args
;
12447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12448 if (!SWIG_IsOK(res1
)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
12451 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (int)((wxFont
const *)arg1
)->GetStyle();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_From_int(static_cast< int >(result
));
12465 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12467 wxFont
*arg1
= (wxFont
*) 0 ;
12471 PyObject
*swig_obj
[1] ;
12473 if (!args
) SWIG_fail
;
12474 swig_obj
[0] = args
;
12475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
12479 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (int)((wxFont
const *)arg1
)->GetWeight();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 resultobj
= SWIG_From_int(static_cast< int >(result
));
12493 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 PyObject
*resultobj
= 0;
12495 wxFont
*arg1
= (wxFont
*) 0 ;
12499 PyObject
*swig_obj
[1] ;
12501 if (!args
) SWIG_fail
;
12502 swig_obj
[0] = args
;
12503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
12507 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12523 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12524 PyObject
*resultobj
= 0;
12525 wxFont
*arg1
= (wxFont
*) 0 ;
12529 PyObject
*swig_obj
[1] ;
12531 if (!args
) SWIG_fail
;
12532 swig_obj
[0] = args
;
12533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12534 if (!SWIG_IsOK(res1
)) {
12535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
12537 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 result
= ((wxFont
const *)arg1
)->GetFaceName();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12557 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 PyObject
*resultobj
= 0;
12559 wxFont
*arg1
= (wxFont
*) 0 ;
12560 wxFontEncoding result
;
12563 PyObject
*swig_obj
[1] ;
12565 if (!args
) SWIG_fail
;
12566 swig_obj
[0] = args
;
12567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
12571 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_From_int(static_cast< int >(result
));
12585 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12586 PyObject
*resultobj
= 0;
12587 wxFont
*arg1
= (wxFont
*) 0 ;
12588 wxNativeFontInfo
*result
= 0 ;
12591 PyObject
*swig_obj
[1] ;
12593 if (!args
) SWIG_fail
;
12594 swig_obj
[0] = args
;
12595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
12599 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12613 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxFont
*arg1
= (wxFont
*) 0 ;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
12627 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12643 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12644 PyObject
*resultobj
= 0;
12645 wxFont
*arg1
= (wxFont
*) 0 ;
12649 PyObject
*swig_obj
[1] ;
12651 if (!args
) SWIG_fail
;
12652 swig_obj
[0] = args
;
12653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12654 if (!SWIG_IsOK(res1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12657 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12677 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12678 PyObject
*resultobj
= 0;
12679 wxFont
*arg1
= (wxFont
*) 0 ;
12683 PyObject
*swig_obj
[1] ;
12685 if (!args
) SWIG_fail
;
12686 swig_obj
[0] = args
;
12687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12688 if (!SWIG_IsOK(res1
)) {
12689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
12691 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
12695 wxPyEndAllowThreads(__tstate
);
12696 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12711 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
= 0;
12713 wxFont
*arg1
= (wxFont
*) 0 ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char * kwnames
[] = {
12722 (char *) "self",(char *) "pointSize", NULL
12725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
12730 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12732 if (!SWIG_IsOK(ecode2
)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12735 arg2
= static_cast< int >(val2
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 (arg1
)->SetPointSize(arg2
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= 0;
12751 wxFont
*arg1
= (wxFont
*) 0 ;
12756 PyObject
* obj0
= 0 ;
12757 PyObject
* obj1
= 0 ;
12758 char * kwnames
[] = {
12759 (char *) "self",(char *) "pixelSize", NULL
12762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12764 if (!SWIG_IsOK(res1
)) {
12765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
12767 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12770 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_Py_Void();
12785 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
= 0;
12787 wxFont
*arg1
= (wxFont
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 PyObject
* obj1
= 0 ;
12795 char * kwnames
[] = {
12796 (char *) "self",(char *) "family", NULL
12799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12801 if (!SWIG_IsOK(res1
)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
12804 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12806 if (!SWIG_IsOK(ecode2
)) {
12807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
12809 arg2
= static_cast< int >(val2
);
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->SetFamily(arg2
);
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12816 resultobj
= SWIG_Py_Void();
12823 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12824 PyObject
*resultobj
= 0;
12825 wxFont
*arg1
= (wxFont
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 char * kwnames
[] = {
12834 (char *) "self",(char *) "style", NULL
12837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12839 if (!SWIG_IsOK(res1
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
12842 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12844 if (!SWIG_IsOK(ecode2
)) {
12845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
12847 arg2
= static_cast< int >(val2
);
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 (arg1
)->SetStyle(arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= SWIG_Py_Void();
12861 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12862 PyObject
*resultobj
= 0;
12863 wxFont
*arg1
= (wxFont
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 char * kwnames
[] = {
12872 (char *) "self",(char *) "weight", NULL
12875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
12880 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12882 if (!SWIG_IsOK(ecode2
)) {
12883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
12885 arg2
= static_cast< int >(val2
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetWeight(arg2
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_Py_Void();
12899 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
= 0;
12901 wxFont
*arg1
= (wxFont
*) 0 ;
12902 wxString
*arg2
= 0 ;
12905 bool temp2
= false ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 char * kwnames
[] = {
12909 (char *) "self",(char *) "faceName", NULL
12912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12914 if (!SWIG_IsOK(res1
)) {
12915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
12917 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12919 arg2
= wxString_in_helper(obj1
);
12920 if (arg2
== NULL
) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->SetFaceName((wxString
const &)*arg2
);
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_Py_Void();
12944 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= 0;
12946 wxFont
*arg1
= (wxFont
*) 0 ;
12952 PyObject
* obj0
= 0 ;
12953 PyObject
* obj1
= 0 ;
12954 char * kwnames
[] = {
12955 (char *) "self",(char *) "underlined", NULL
12958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
12963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
12964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12965 if (!SWIG_IsOK(ecode2
)) {
12966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12968 arg2
= static_cast< bool >(val2
);
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 (arg1
)->SetUnderlined(arg2
);
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_Py_Void();
12982 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
= 0;
12984 wxFont
*arg1
= (wxFont
*) 0 ;
12985 wxFontEncoding arg2
;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char * kwnames
[] = {
12993 (char *) "self",(char *) "encoding", NULL
12996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
13001 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13003 if (!SWIG_IsOK(ecode2
)) {
13004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13006 arg2
= static_cast< wxFontEncoding
>(val2
);
13008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13009 (arg1
)->SetEncoding(arg2
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_Py_Void();
13020 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
= 0;
13022 wxFont
*arg1
= (wxFont
*) 0 ;
13023 wxNativeFontInfo
*arg2
= 0 ;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 char * kwnames
[] = {
13031 (char *) "self",(char *) "info", NULL
13034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
13039 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13041 if (!SWIG_IsOK(res2
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
13047 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_Py_Void();
13061 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
= 0;
13063 wxFont
*arg1
= (wxFont
*) 0 ;
13064 wxString
*arg2
= 0 ;
13067 bool temp2
= false ;
13068 PyObject
* obj0
= 0 ;
13069 PyObject
* obj1
= 0 ;
13070 char * kwnames
[] = {
13071 (char *) "self",(char *) "info", NULL
13074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13076 if (!SWIG_IsOK(res1
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
13079 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13081 arg2
= wxString_in_helper(obj1
);
13082 if (arg2
== NULL
) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 (arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 resultobj
= SWIG_Py_Void();
13106 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
= 0;
13108 wxFont
*arg1
= (wxFont
*) 0 ;
13109 wxString
*arg2
= 0 ;
13112 bool temp2
= false ;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 char * kwnames
[] = {
13116 (char *) "self",(char *) "info", NULL
13119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13121 if (!SWIG_IsOK(res1
)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
13124 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13126 arg2
= wxString_in_helper(obj1
);
13127 if (arg2
== NULL
) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 (arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_Py_Void();
13151 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13152 PyObject
*resultobj
= 0;
13153 wxFont
*arg1
= (wxFont
*) 0 ;
13157 PyObject
*swig_obj
[1] ;
13159 if (!args
) SWIG_fail
;
13160 swig_obj
[0] = args
;
13161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13162 if (!SWIG_IsOK(res1
)) {
13163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
13165 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= ((wxFont
const *)arg1
)->GetFamilyString();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13185 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxFont
*arg1
= (wxFont
*) 0 ;
13191 PyObject
*swig_obj
[1] ;
13193 if (!args
) SWIG_fail
;
13194 swig_obj
[0] = args
;
13195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
13199 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= ((wxFont
const *)arg1
)->GetStyleString();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13219 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13220 PyObject
*resultobj
= 0;
13221 wxFont
*arg1
= (wxFont
*) 0 ;
13225 PyObject
*swig_obj
[1] ;
13227 if (!args
) SWIG_fail
;
13228 swig_obj
[0] = args
;
13229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
13233 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= ((wxFont
const *)arg1
)->GetWeightString();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13253 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxFont
*arg1
= (wxFont
*) 0 ;
13256 bool arg2
= (bool) true ;
13261 PyObject
* obj0
= 0 ;
13262 PyObject
* obj1
= 0 ;
13263 char * kwnames
[] = {
13264 (char *) "self",(char *) "no", NULL
13267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13269 if (!SWIG_IsOK(res1
)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
13272 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13275 if (!SWIG_IsOK(ecode2
)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
13278 arg2
= static_cast< bool >(val2
);
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetNoAntiAliasing(arg2
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_Py_Void();
13293 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13294 PyObject
*resultobj
= 0;
13295 wxFont
*arg1
= (wxFont
*) 0 ;
13299 PyObject
*swig_obj
[1] ;
13301 if (!args
) SWIG_fail
;
13302 swig_obj
[0] = args
;
13303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13304 if (!SWIG_IsOK(res1
)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
13307 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13323 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13324 PyObject
*resultobj
= 0;
13325 wxFontEncoding result
;
13327 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
13329 if (!wxPyCheckForApp()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_From_int(static_cast< int >(result
));
13342 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
= 0;
13344 wxFontEncoding arg1
;
13347 PyObject
* obj0
= 0 ;
13348 char * kwnames
[] = {
13349 (char *) "encoding", NULL
13352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
13353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13354 if (!SWIG_IsOK(ecode1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13357 arg1
= static_cast< wxFontEncoding
>(val1
);
13359 if (!wxPyCheckForApp()) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 wxFont::SetDefaultEncoding(arg1
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= SWIG_Py_Void();
13372 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13375 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
13376 return SWIG_Py_Void();
13379 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 return SWIG_Python_InitShadowInstance(args
);
13383 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 PyObject
*resultobj
= 0;
13385 wxPyFontEnumerator
*result
= 0 ;
13387 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
13389 if (!wxPyCheckForApp()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
13402 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13403 PyObject
*resultobj
= 0;
13404 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13407 PyObject
*swig_obj
[1] ;
13409 if (!args
) SWIG_fail
;
13410 swig_obj
[0] = args
;
13411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
13412 if (!SWIG_IsOK(res1
)) {
13413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13415 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_Py_Void();
13430 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
= 0;
13432 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13433 PyObject
*arg2
= (PyObject
*) 0 ;
13434 PyObject
*arg3
= (PyObject
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 PyObject
* obj2
= 0 ;
13443 PyObject
* obj3
= 0 ;
13444 char * kwnames
[] = {
13445 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13450 if (!SWIG_IsOK(res1
)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13453 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13456 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13457 if (!SWIG_IsOK(ecode4
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
13460 arg4
= static_cast< bool >(val4
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_Py_Void();
13474 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= 0;
13476 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13477 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
13478 bool arg3
= (bool) false ;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 PyObject
* obj2
= 0 ;
13489 char * kwnames
[] = {
13490 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
13493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13498 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13501 if (!SWIG_IsOK(ecode2
)) {
13502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13504 arg2
= static_cast< wxFontEncoding
>(val2
);
13507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13508 if (!SWIG_IsOK(ecode3
)) {
13509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
13511 arg3
= static_cast< bool >(val3
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
= 0;
13530 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13531 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13532 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13536 bool temp2
= false ;
13537 PyObject
* obj0
= 0 ;
13538 PyObject
* obj1
= 0 ;
13539 char * kwnames
[] = {
13540 (char *) "self",(char *) "facename", NULL
13543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13545 if (!SWIG_IsOK(res1
)) {
13546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13548 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13551 arg2
= wxString_in_helper(obj1
);
13552 if (arg2
== NULL
) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
13559 wxPyEndAllowThreads(__tstate
);
13560 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13579 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13580 PyObject
*resultobj
= 0;
13581 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13582 PyObject
*result
= 0 ;
13585 PyObject
*swig_obj
[1] ;
13587 if (!args
) SWIG_fail
;
13588 swig_obj
[0] = args
;
13589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13590 if (!SWIG_IsOK(res1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13593 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(arg1
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= result
;
13607 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13608 PyObject
*resultobj
= 0;
13609 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
13610 PyObject
*result
= 0 ;
13613 PyObject
*swig_obj
[1] ;
13615 if (!args
) SWIG_fail
;
13616 swig_obj
[0] = args
;
13617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_GetFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
13621 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(arg1
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= result
;
13635 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13638 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
13639 return SWIG_Py_Void();
13642 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13643 return SWIG_Python_InitShadowInstance(args
);
13646 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13647 PyObject
*resultobj
= 0;
13648 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13654 PyObject
*swig_obj
[2] ;
13656 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
13657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13661 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13662 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13663 if (!SWIG_IsOK(ecode2
)) {
13664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
13666 arg2
= static_cast< int >(val2
);
13667 if (arg1
) (arg1
)->Language
= arg2
;
13669 resultobj
= SWIG_Py_Void();
13676 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13677 PyObject
*resultobj
= 0;
13678 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13682 PyObject
*swig_obj
[1] ;
13684 if (!args
) SWIG_fail
;
13685 swig_obj
[0] = args
;
13686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13690 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13691 result
= (int) ((arg1
)->Language
);
13692 resultobj
= SWIG_From_int(static_cast< int >(result
));
13699 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13700 PyObject
*resultobj
= 0;
13701 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13702 wxString
*arg2
= (wxString
*) 0 ;
13705 bool temp2
= false ;
13706 PyObject
*swig_obj
[2] ;
13708 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
13709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13710 if (!SWIG_IsOK(res1
)) {
13711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13713 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13715 arg2
= wxString_in_helper(swig_obj
[1]);
13716 if (arg2
== NULL
) SWIG_fail
;
13719 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
13721 resultobj
= SWIG_Py_Void();
13736 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13737 PyObject
*resultobj
= 0;
13738 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13739 wxString
*result
= 0 ;
13742 PyObject
*swig_obj
[1] ;
13744 if (!args
) SWIG_fail
;
13745 swig_obj
[0] = args
;
13746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13747 if (!SWIG_IsOK(res1
)) {
13748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13750 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13751 result
= (wxString
*)& ((arg1
)->CanonicalName
);
13754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13765 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13768 wxString
*arg2
= (wxString
*) 0 ;
13771 bool temp2
= false ;
13772 PyObject
*swig_obj
[2] ;
13774 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
13775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13779 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13781 arg2
= wxString_in_helper(swig_obj
[1]);
13782 if (arg2
== NULL
) SWIG_fail
;
13785 if (arg1
) (arg1
)->Description
= *arg2
;
13787 resultobj
= SWIG_Py_Void();
13802 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13803 PyObject
*resultobj
= 0;
13804 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
13805 wxString
*result
= 0 ;
13808 PyObject
*swig_obj
[1] ;
13810 if (!args
) SWIG_fail
;
13811 swig_obj
[0] = args
;
13812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
13816 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
13817 result
= (wxString
*)& ((arg1
)->Description
);
13820 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13822 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13831 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13834 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
13835 return SWIG_Py_Void();
13838 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
= 0;
13840 int arg1
= (int) -1 ;
13841 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
13842 wxLocale
*result
= 0 ;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char * kwnames
[] = {
13850 (char *) "language",(char *) "flags", NULL
13853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13856 if (!SWIG_IsOK(ecode1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
13859 arg1
= static_cast< int >(val1
);
13862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13863 if (!SWIG_IsOK(ecode2
)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
13866 arg2
= static_cast< int >(val2
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
13881 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13882 PyObject
*resultobj
= 0;
13883 wxLocale
*arg1
= (wxLocale
*) 0 ;
13886 PyObject
*swig_obj
[1] ;
13888 if (!args
) SWIG_fail
;
13889 swig_obj
[0] = args
;
13890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
13891 if (!SWIG_IsOK(res1
)) {
13892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
13894 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_Py_Void();
13909 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= 0;
13911 wxLocale
*arg1
= (wxLocale
*) 0 ;
13912 wxString
*arg2
= 0 ;
13913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13915 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13916 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13917 bool arg5
= (bool) true ;
13918 bool arg6
= (bool) false ;
13922 bool temp2
= false ;
13923 bool temp3
= false ;
13924 bool temp4
= false ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 PyObject
* obj2
= 0 ;
13932 PyObject
* obj3
= 0 ;
13933 PyObject
* obj4
= 0 ;
13934 PyObject
* obj5
= 0 ;
13935 char * kwnames
[] = {
13936 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
13939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
13941 if (!SWIG_IsOK(res1
)) {
13942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
13944 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
13946 arg2
= wxString_in_helper(obj1
);
13947 if (arg2
== NULL
) SWIG_fail
;
13952 arg3
= wxString_in_helper(obj2
);
13953 if (arg3
== NULL
) SWIG_fail
;
13959 arg4
= wxString_in_helper(obj3
);
13960 if (arg4
== NULL
) SWIG_fail
;
13965 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13966 if (!SWIG_IsOK(ecode5
)) {
13967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
13969 arg5
= static_cast< bool >(val5
);
13972 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
13973 if (!SWIG_IsOK(ecode6
)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
13976 arg6
= static_cast< bool >(val6
);
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14017 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
= 0;
14019 wxLocale
*arg1
= (wxLocale
*) 0 ;
14020 int arg2
= (int) wxLANGUAGE_DEFAULT
;
14021 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 PyObject
* obj2
= 0 ;
14032 char * kwnames
[] = {
14033 (char *) "self",(char *) "language",(char *) "flags", NULL
14036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14038 if (!SWIG_IsOK(res1
)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
14041 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14044 if (!SWIG_IsOK(ecode2
)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
14047 arg2
= static_cast< int >(val2
);
14050 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14051 if (!SWIG_IsOK(ecode3
)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
14054 arg3
= static_cast< int >(val3
);
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14072 PyObject
*resultobj
= 0;
14075 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (int)wxLocale::GetSystemLanguage();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= SWIG_From_int(static_cast< int >(result
));
14089 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14090 PyObject
*resultobj
= 0;
14091 wxFontEncoding result
;
14093 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_From_int(static_cast< int >(result
));
14107 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14108 PyObject
*resultobj
= 0;
14111 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= wxLocale::GetSystemEncodingName();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14131 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 PyObject
*resultobj
= 0;
14133 wxLocale
*arg1
= (wxLocale
*) 0 ;
14137 PyObject
*swig_obj
[1] ;
14139 if (!args
) SWIG_fail
;
14140 swig_obj
[0] = args
;
14141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14142 if (!SWIG_IsOK(res1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
14145 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14161 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14162 PyObject
*resultobj
= 0;
14163 wxLocale
*arg1
= (wxLocale
*) 0 ;
14167 PyObject
*swig_obj
[1] ;
14169 if (!args
) SWIG_fail
;
14170 swig_obj
[0] = args
;
14171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
14175 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= ((wxLocale
const *)arg1
)->GetLocale();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14195 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14196 PyObject
*resultobj
= 0;
14197 wxLocale
*arg1
= (wxLocale
*) 0 ;
14201 PyObject
*swig_obj
[1] ;
14203 if (!args
) SWIG_fail
;
14204 swig_obj
[0] = args
;
14205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14206 if (!SWIG_IsOK(res1
)) {
14207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
14209 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_From_int(static_cast< int >(result
));
14223 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14224 PyObject
*resultobj
= 0;
14225 wxLocale
*arg1
= (wxLocale
*) 0 ;
14229 PyObject
*swig_obj
[1] ;
14231 if (!args
) SWIG_fail
;
14232 swig_obj
[0] = args
;
14233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14234 if (!SWIG_IsOK(res1
)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14237 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= ((wxLocale
const *)arg1
)->GetSysName();
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14257 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14258 PyObject
*resultobj
= 0;
14259 wxLocale
*arg1
= (wxLocale
*) 0 ;
14263 PyObject
*swig_obj
[1] ;
14265 if (!args
) SWIG_fail
;
14266 swig_obj
[0] = args
;
14267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14268 if (!SWIG_IsOK(res1
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14271 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14291 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= 0;
14293 wxString
*arg1
= 0 ;
14294 bool temp1
= false ;
14295 PyObject
* obj0
= 0 ;
14296 char * kwnames
[] = {
14297 (char *) "prefix", NULL
14300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
14302 arg1
= wxString_in_helper(obj0
);
14303 if (arg1
== NULL
) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= SWIG_Py_Void();
14327 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
= 0;
14329 wxLocale
*arg1
= (wxLocale
*) 0 ;
14330 wxString
*arg2
= 0 ;
14334 bool temp2
= false ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char * kwnames
[] = {
14338 (char *) "self",(char *) "szDomain", NULL
14341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14343 if (!SWIG_IsOK(res1
)) {
14344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
14346 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14348 arg2
= wxString_in_helper(obj1
);
14349 if (arg2
== NULL
) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
= 0;
14377 wxLocale
*arg1
= (wxLocale
*) 0 ;
14378 wxString
*arg2
= 0 ;
14382 bool temp2
= false ;
14383 PyObject
* obj0
= 0 ;
14384 PyObject
* obj1
= 0 ;
14385 char * kwnames
[] = {
14386 (char *) "self",(char *) "szDomain", NULL
14389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14391 if (!SWIG_IsOK(res1
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
14394 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14396 arg2
= wxString_in_helper(obj1
);
14397 if (arg2
== NULL
) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14423 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
= 0;
14426 wxLanguageInfo
*result
= 0 ;
14429 PyObject
* obj0
= 0 ;
14430 char * kwnames
[] = {
14431 (char *) "lang", NULL
14434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14435 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14436 if (!SWIG_IsOK(ecode1
)) {
14437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
14439 arg1
= static_cast< int >(val1
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14453 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
= 0;
14459 PyObject
* obj0
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "lang", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
14465 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14466 if (!SWIG_IsOK(ecode1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
14469 arg1
= static_cast< int >(val1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= wxLocale::GetLanguageName(arg1
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14489 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= 0;
14491 wxString
*arg1
= 0 ;
14492 wxLanguageInfo
*result
= 0 ;
14493 bool temp1
= false ;
14494 PyObject
* obj0
= 0 ;
14495 char * kwnames
[] = {
14496 (char *) "locale", NULL
14499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
14501 arg1
= wxString_in_helper(obj0
);
14502 if (arg1
== NULL
) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
14508 wxPyEndAllowThreads(__tstate
);
14509 if (PyErr_Occurred()) SWIG_fail
;
14511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
14526 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
= 0;
14528 wxLanguageInfo
*arg1
= 0 ;
14531 PyObject
* obj0
= 0 ;
14532 char * kwnames
[] = {
14533 (char *) "info", NULL
14536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
14537 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
14538 if (!SWIG_IsOK(res1
)) {
14539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
14544 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_Py_Void();
14558 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
= 0;
14560 wxLocale
*arg1
= (wxLocale
*) 0 ;
14561 wxString
*arg2
= 0 ;
14562 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14563 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14567 bool temp2
= false ;
14568 bool temp3
= false ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 PyObject
* obj2
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
14581 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14583 arg2
= wxString_in_helper(obj1
);
14584 if (arg2
== NULL
) SWIG_fail
;
14589 arg3
= wxString_in_helper(obj2
);
14590 if (arg3
== NULL
) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14629 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 PyObject
*resultobj
= 0;
14631 wxLocale
*arg1
= (wxLocale
*) 0 ;
14632 wxString
*result
= 0 ;
14635 PyObject
*swig_obj
[1] ;
14637 if (!args
) SWIG_fail
;
14638 swig_obj
[0] = args
;
14639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
14643 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
14648 result
= (wxString
*) &_result_ref
;
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14657 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14666 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14669 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
14670 return SWIG_Py_Void();
14673 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14674 return SWIG_Python_InitShadowInstance(args
);
14677 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14678 PyObject
*resultobj
= 0;
14679 wxLocale
*result
= 0 ;
14681 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (wxLocale
*)wxGetLocale();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
14695 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14696 PyObject
*resultobj
= 0;
14697 wxString
*arg1
= 0 ;
14699 bool temp1
= false ;
14701 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
14703 arg1
= wxString_in_helper(swig_obj
[0]);
14704 if (arg1
== NULL
) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 result
= wxGetTranslation((wxString
const &)*arg1
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14734 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14735 PyObject
*resultobj
= 0;
14736 wxString
*arg1
= 0 ;
14737 wxString
*arg2
= 0 ;
14740 bool temp1
= false ;
14741 bool temp2
= false ;
14745 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
14747 arg1
= wxString_in_helper(swig_obj
[0]);
14748 if (arg1
== NULL
) SWIG_fail
;
14752 arg2
= wxString_in_helper(swig_obj
[1]);
14753 if (arg2
== NULL
) SWIG_fail
;
14756 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
14757 if (!SWIG_IsOK(ecode3
)) {
14758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
14760 arg3
= static_cast< size_t >(val3
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14796 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
14800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,3,argv
))) SWIG_fail
;
14803 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
14806 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
14810 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
14815 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14816 PyObject
*resultobj
= 0;
14817 wxEncodingConverter
*result
= 0 ;
14819 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (wxEncodingConverter
*)new wxEncodingConverter();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
14833 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 PyObject
*resultobj
= 0;
14835 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14838 PyObject
*swig_obj
[1] ;
14840 if (!args
) SWIG_fail
;
14841 swig_obj
[0] = args
;
14842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
14843 if (!SWIG_IsOK(res1
)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14846 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 wxPyEndAllowThreads(__tstate
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14854 resultobj
= SWIG_Py_Void();
14861 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
= 0;
14863 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14864 wxFontEncoding arg2
;
14865 wxFontEncoding arg3
;
14866 int arg4
= (int) wxCONVERT_STRICT
;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 PyObject
* obj2
= 0 ;
14879 PyObject
* obj3
= 0 ;
14880 char * kwnames
[] = {
14881 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
14884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14889 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14891 if (!SWIG_IsOK(ecode2
)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14894 arg2
= static_cast< wxFontEncoding
>(val2
);
14895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14896 if (!SWIG_IsOK(ecode3
)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
14899 arg3
= static_cast< wxFontEncoding
>(val3
);
14901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14902 if (!SWIG_IsOK(ecode4
)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
14905 arg4
= static_cast< int >(val4
);
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14922 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
14925 wxString
*arg2
= 0 ;
14929 bool temp2
= false ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "input", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
14941 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
14943 arg2
= wxString_in_helper(obj1
);
14944 if (arg2
== NULL
) SWIG_fail
;
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (arg1
)->Convert((wxString
const &)*arg2
);
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14974 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14975 PyObject
*resultobj
= 0;
14976 wxFontEncoding arg1
;
14977 int arg2
= (int) wxPLATFORM_CURRENT
;
14978 wxFontEncodingArray result
;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 char * kwnames
[] = {
14986 (char *) "enc",(char *) "platform", NULL
14989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14990 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14991 if (!SWIG_IsOK(ecode1
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14994 arg1
= static_cast< wxFontEncoding
>(val1
);
14996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14997 if (!SWIG_IsOK(ecode2
)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
15000 arg2
= static_cast< int >(val2
);
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= PyList_New(0);
15010 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15011 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15012 PyList_Append(resultobj
, number
);
15022 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
= 0;
15024 wxFontEncoding arg1
;
15025 wxFontEncodingArray result
;
15028 PyObject
* obj0
= 0 ;
15029 char * kwnames
[] = {
15030 (char *) "enc", NULL
15033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
15034 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15035 if (!SWIG_IsOK(ecode1
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15038 arg1
= static_cast< wxFontEncoding
>(val1
);
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= PyList_New(0);
15047 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
15048 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
15049 PyList_Append(resultobj
, number
);
15059 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
= 0;
15061 wxFontEncoding arg1
;
15062 wxFontEncoding arg2
;
15068 PyObject
* obj0
= 0 ;
15069 PyObject
* obj1
= 0 ;
15070 char * kwnames
[] = {
15071 (char *) "encIn",(char *) "encOut", NULL
15074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15076 if (!SWIG_IsOK(ecode1
)) {
15077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15079 arg1
= static_cast< wxFontEncoding
>(val1
);
15080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15081 if (!SWIG_IsOK(ecode2
)) {
15082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15084 arg2
= static_cast< wxFontEncoding
>(val2
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15100 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15103 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
15104 return SWIG_Py_Void();
15107 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 return SWIG_Python_InitShadowInstance(args
);
15111 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15112 PyObject
*resultobj
= 0;
15113 wxDC
*arg1
= (wxDC
*) 0 ;
15116 PyObject
*swig_obj
[1] ;
15118 if (!args
) SWIG_fail
;
15119 swig_obj
[0] = args
;
15120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
15124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxDC
*arg1
= (wxDC
*) 0 ;
15144 wxColour
*arg4
= 0 ;
15145 int arg5
= (int) wxFLOOD_SURFACE
;
15156 PyObject
* obj0
= 0 ;
15157 PyObject
* obj1
= 0 ;
15158 PyObject
* obj2
= 0 ;
15159 PyObject
* obj3
= 0 ;
15160 PyObject
* obj4
= 0 ;
15161 char * kwnames
[] = {
15162 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
15165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15167 if (!SWIG_IsOK(res1
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
15170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15172 if (!SWIG_IsOK(ecode2
)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
15175 arg2
= static_cast< int >(val2
);
15176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15177 if (!SWIG_IsOK(ecode3
)) {
15178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
15180 arg3
= static_cast< int >(val3
);
15183 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15187 if (!SWIG_IsOK(ecode5
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
15190 arg5
= static_cast< int >(val5
);
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15207 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxDC
*arg1
= (wxDC
*) 0 ;
15210 wxPoint
*arg2
= 0 ;
15211 wxColour
*arg3
= 0 ;
15212 int arg4
= (int) wxFLOOD_SURFACE
;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 PyObject
* obj3
= 0 ;
15224 char * kwnames
[] = {
15225 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
15228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15230 if (!SWIG_IsOK(res1
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15240 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15244 if (!SWIG_IsOK(ecode4
)) {
15245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
15247 arg4
= static_cast< int >(val4
);
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15251 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15264 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
= 0;
15266 wxDC
*arg1
= (wxDC
*) 0 ;
15268 wxColour
*arg3
= 0 ;
15269 wxColour
*arg4
= 0 ;
15270 wxPoint
*arg5
= 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 PyObject
* obj2
= 0 ;
15280 PyObject
* obj3
= 0 ;
15281 PyObject
* obj4
= 0 ;
15282 char * kwnames
[] = {
15283 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
15286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15288 if (!SWIG_IsOK(res1
)) {
15289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
15291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15294 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15298 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15302 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15306 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_Py_Void();
15321 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
= 0;
15323 wxDC
*arg1
= (wxDC
*) 0 ;
15325 wxColour
*arg3
= 0 ;
15326 wxColour
*arg4
= 0 ;
15327 wxDirection arg5
= (wxDirection
) wxEAST
;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 PyObject
* obj2
= 0 ;
15338 PyObject
* obj3
= 0 ;
15339 PyObject
* obj4
= 0 ;
15340 char * kwnames
[] = {
15341 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
15344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15346 if (!SWIG_IsOK(res1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
15349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15356 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15360 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
15363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15364 if (!SWIG_IsOK(ecode5
)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
15367 arg5
= static_cast< wxDirection
>(val5
);
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_Py_Void();
15382 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
= 0;
15384 wxDC
*arg1
= (wxDC
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 PyObject
* obj2
= 0 ;
15397 char * kwnames
[] = {
15398 (char *) "self",(char *) "x",(char *) "y", NULL
15401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
15406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15408 if (!SWIG_IsOK(ecode2
)) {
15409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
15411 arg2
= static_cast< int >(val2
);
15412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15413 if (!SWIG_IsOK(ecode3
)) {
15414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
15416 arg3
= static_cast< int >(val3
);
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15430 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
= 0;
15432 wxDC
*arg1
= (wxDC
*) 0 ;
15433 wxPoint
*arg2
= 0 ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char * kwnames
[] = {
15441 (char *) "self",(char *) "pt", NULL
15444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15446 if (!SWIG_IsOK(res1
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15452 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
15467 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
= 0;
15469 wxDC
*arg1
= (wxDC
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 PyObject
* obj2
= 0 ;
15487 PyObject
* obj3
= 0 ;
15488 PyObject
* obj4
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
15498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15500 if (!SWIG_IsOK(ecode2
)) {
15501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
15503 arg2
= static_cast< int >(val2
);
15504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15505 if (!SWIG_IsOK(ecode3
)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
15508 arg3
= static_cast< int >(val3
);
15509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15510 if (!SWIG_IsOK(ecode4
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
15513 arg4
= static_cast< int >(val4
);
15514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15515 if (!SWIG_IsOK(ecode5
)) {
15516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
15518 arg5
= static_cast< int >(val5
);
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 resultobj
= SWIG_Py_Void();
15532 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
= 0;
15534 wxDC
*arg1
= (wxDC
*) 0 ;
15535 wxPoint
*arg2
= 0 ;
15536 wxPoint
*arg3
= 0 ;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 PyObject
* obj2
= 0 ;
15544 char * kwnames
[] = {
15545 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
15548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15550 if (!SWIG_IsOK(res1
)) {
15551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
15553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15560 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_Py_Void();
15575 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= 0;
15577 wxDC
*arg1
= (wxDC
*) 0 ;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char * kwnames
[] = {
15590 (char *) "self",(char *) "x",(char *) "y", NULL
15593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
15598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15600 if (!SWIG_IsOK(ecode2
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
15603 arg2
= static_cast< int >(val2
);
15604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15605 if (!SWIG_IsOK(ecode3
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
15608 arg3
= static_cast< int >(val3
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 (arg1
)->CrossHair(arg2
,arg3
);
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_Py_Void();
15622 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15623 PyObject
*resultobj
= 0;
15624 wxDC
*arg1
= (wxDC
*) 0 ;
15625 wxPoint
*arg2
= 0 ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char * kwnames
[] = {
15632 (char *) "self",(char *) "pt", NULL
15635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15637 if (!SWIG_IsOK(res1
)) {
15638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15643 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 resultobj
= SWIG_Py_Void();
15658 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
= 0;
15660 wxDC
*arg1
= (wxDC
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 PyObject
* obj2
= 0 ;
15684 PyObject
* obj3
= 0 ;
15685 PyObject
* obj4
= 0 ;
15686 PyObject
* obj5
= 0 ;
15687 PyObject
* obj6
= 0 ;
15688 char * kwnames
[] = {
15689 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
15692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
15697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15699 if (!SWIG_IsOK(ecode2
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
15702 arg2
= static_cast< int >(val2
);
15703 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15704 if (!SWIG_IsOK(ecode3
)) {
15705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
15707 arg3
= static_cast< int >(val3
);
15708 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15709 if (!SWIG_IsOK(ecode4
)) {
15710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
15712 arg4
= static_cast< int >(val4
);
15713 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15714 if (!SWIG_IsOK(ecode5
)) {
15715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
15717 arg5
= static_cast< int >(val5
);
15718 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15719 if (!SWIG_IsOK(ecode6
)) {
15720 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
15722 arg6
= static_cast< int >(val6
);
15723 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15724 if (!SWIG_IsOK(ecode7
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
15727 arg7
= static_cast< int >(val7
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_Py_Void();
15741 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
= 0;
15743 wxDC
*arg1
= (wxDC
*) 0 ;
15744 wxPoint
*arg2
= 0 ;
15745 wxPoint
*arg3
= 0 ;
15746 wxPoint
*arg4
= 0 ;
15752 PyObject
* obj0
= 0 ;
15753 PyObject
* obj1
= 0 ;
15754 PyObject
* obj2
= 0 ;
15755 PyObject
* obj3
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
15765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15772 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
15781 wxPyEndAllowThreads(__tstate
);
15782 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= SWIG_Py_Void();
15791 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= 0;
15793 wxDC
*arg1
= (wxDC
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 PyObject
* obj2
= 0 ;
15811 PyObject
* obj3
= 0 ;
15812 PyObject
* obj4
= 0 ;
15813 char * kwnames
[] = {
15814 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15819 if (!SWIG_IsOK(res1
)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
15822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15824 if (!SWIG_IsOK(ecode2
)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
15827 arg2
= static_cast< int >(val2
);
15828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15829 if (!SWIG_IsOK(ecode3
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
15832 arg3
= static_cast< int >(val3
);
15833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15834 if (!SWIG_IsOK(ecode4
)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
15837 arg4
= static_cast< int >(val4
);
15838 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15839 if (!SWIG_IsOK(ecode5
)) {
15840 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
15842 arg5
= static_cast< int >(val5
);
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15849 resultobj
= SWIG_Py_Void();
15856 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
= 0;
15858 wxDC
*arg1
= (wxDC
*) 0 ;
15863 PyObject
* obj0
= 0 ;
15864 PyObject
* obj1
= 0 ;
15865 char * kwnames
[] = {
15866 (char *) "self",(char *) "rect", NULL
15869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15871 if (!SWIG_IsOK(res1
)) {
15872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
15874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15877 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_Py_Void();
15892 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
= 0;
15894 wxDC
*arg1
= (wxDC
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 PyObject
* obj2
= 0 ;
15918 PyObject
* obj3
= 0 ;
15919 PyObject
* obj4
= 0 ;
15920 PyObject
* obj5
= 0 ;
15921 PyObject
* obj6
= 0 ;
15922 char * kwnames
[] = {
15923 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
15926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
15928 if (!SWIG_IsOK(res1
)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
15931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
15932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15933 if (!SWIG_IsOK(ecode2
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
15936 arg2
= static_cast< int >(val2
);
15937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15938 if (!SWIG_IsOK(ecode3
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
15941 arg3
= static_cast< int >(val3
);
15942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15943 if (!SWIG_IsOK(ecode4
)) {
15944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
15946 arg4
= static_cast< int >(val4
);
15947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15948 if (!SWIG_IsOK(ecode5
)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
15951 arg5
= static_cast< int >(val5
);
15952 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
15953 if (!SWIG_IsOK(ecode6
)) {
15954 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
15956 arg6
= static_cast< double >(val6
);
15957 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
15958 if (!SWIG_IsOK(ecode7
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
15961 arg7
= static_cast< double >(val7
);
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_Py_Void();
15975 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
= 0;
15977 wxDC
*arg1
= (wxDC
*) 0 ;
15978 wxPoint
*arg2
= 0 ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 PyObject
* obj3
= 0 ;
15994 PyObject
* obj4
= 0 ;
15995 char * kwnames
[] = {
15996 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
15999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16001 if (!SWIG_IsOK(res1
)) {
16002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16011 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16013 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16014 if (!SWIG_IsOK(ecode4
)) {
16015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
16017 arg4
= static_cast< double >(val4
);
16018 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
16019 if (!SWIG_IsOK(ecode5
)) {
16020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
16022 arg5
= static_cast< double >(val5
);
16024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= SWIG_Py_Void();
16036 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
= 0;
16038 wxDC
*arg1
= (wxDC
*) 0 ;
16047 PyObject
* obj0
= 0 ;
16048 PyObject
* obj1
= 0 ;
16049 PyObject
* obj2
= 0 ;
16050 char * kwnames
[] = {
16051 (char *) "self",(char *) "x",(char *) "y", NULL
16054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16056 if (!SWIG_IsOK(res1
)) {
16057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16061 if (!SWIG_IsOK(ecode2
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
16064 arg2
= static_cast< int >(val2
);
16065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16066 if (!SWIG_IsOK(ecode3
)) {
16067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
16069 arg3
= static_cast< int >(val3
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->DrawPoint(arg2
,arg3
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_Py_Void();
16083 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
= 0;
16085 wxDC
*arg1
= (wxDC
*) 0 ;
16086 wxPoint
*arg2
= 0 ;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 char * kwnames
[] = {
16093 (char *) "self",(char *) "pt", NULL
16096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= SWIG_Py_Void();
16119 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16120 PyObject
*resultobj
= 0;
16121 wxDC
*arg1
= (wxDC
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 PyObject
* obj2
= 0 ;
16139 PyObject
* obj3
= 0 ;
16140 PyObject
* obj4
= 0 ;
16141 char * kwnames
[] = {
16142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16147 if (!SWIG_IsOK(res1
)) {
16148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16152 if (!SWIG_IsOK(ecode2
)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
16155 arg2
= static_cast< int >(val2
);
16156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16157 if (!SWIG_IsOK(ecode3
)) {
16158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
16160 arg3
= static_cast< int >(val3
);
16161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16162 if (!SWIG_IsOK(ecode4
)) {
16163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
16165 arg4
= static_cast< int >(val4
);
16166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16167 if (!SWIG_IsOK(ecode5
)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
16170 arg5
= static_cast< int >(val5
);
16172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16177 resultobj
= SWIG_Py_Void();
16184 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
= 0;
16186 wxDC
*arg1
= (wxDC
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char * kwnames
[] = {
16194 (char *) "self",(char *) "rect", NULL
16197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16199 if (!SWIG_IsOK(res1
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16205 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_Py_Void();
16220 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxDC
*arg1
= (wxDC
*) 0 ;
16223 wxPoint
*arg2
= 0 ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 PyObject
* obj2
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "self",(char *) "pt",(char *) "sz", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16244 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16248 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= SWIG_Py_Void();
16263 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxDC
*arg1
= (wxDC
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 PyObject
* obj2
= 0 ;
16286 PyObject
* obj3
= 0 ;
16287 PyObject
* obj4
= 0 ;
16288 PyObject
* obj5
= 0 ;
16289 char * kwnames
[] = {
16290 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
16293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16295 if (!SWIG_IsOK(res1
)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
16298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16300 if (!SWIG_IsOK(ecode2
)) {
16301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
16303 arg2
= static_cast< int >(val2
);
16304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16305 if (!SWIG_IsOK(ecode3
)) {
16306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
16308 arg3
= static_cast< int >(val3
);
16309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16310 if (!SWIG_IsOK(ecode4
)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
16313 arg4
= static_cast< int >(val4
);
16314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16315 if (!SWIG_IsOK(ecode5
)) {
16316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
16318 arg5
= static_cast< int >(val5
);
16319 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
16320 if (!SWIG_IsOK(ecode6
)) {
16321 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
16323 arg6
= static_cast< double >(val6
);
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16330 resultobj
= SWIG_Py_Void();
16337 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
= 0;
16339 wxDC
*arg1
= (wxDC
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 PyObject
* obj2
= 0 ;
16350 char * kwnames
[] = {
16351 (char *) "self",(char *) "r",(char *) "radius", NULL
16354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16356 if (!SWIG_IsOK(res1
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
16359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16364 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16365 if (!SWIG_IsOK(ecode3
)) {
16366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
16368 arg3
= static_cast< double >(val3
);
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= SWIG_Py_Void();
16382 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 wxDC
*arg1
= (wxDC
*) 0 ;
16385 wxPoint
*arg2
= 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 PyObject
* obj2
= 0 ;
16397 PyObject
* obj3
= 0 ;
16398 char * kwnames
[] = {
16399 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
16402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16404 if (!SWIG_IsOK(res1
)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16410 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16414 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16416 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16417 if (!SWIG_IsOK(ecode4
)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
16420 arg4
= static_cast< double >(val4
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_Py_Void();
16434 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
= 0;
16436 wxDC
*arg1
= (wxDC
*) 0 ;
16448 PyObject
* obj0
= 0 ;
16449 PyObject
* obj1
= 0 ;
16450 PyObject
* obj2
= 0 ;
16451 PyObject
* obj3
= 0 ;
16452 char * kwnames
[] = {
16453 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
16456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
16461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16463 if (!SWIG_IsOK(ecode2
)) {
16464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
16466 arg2
= static_cast< int >(val2
);
16467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16468 if (!SWIG_IsOK(ecode3
)) {
16469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
16471 arg3
= static_cast< int >(val3
);
16472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16473 if (!SWIG_IsOK(ecode4
)) {
16474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
16476 arg4
= static_cast< int >(val4
);
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= SWIG_Py_Void();
16490 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
= 0;
16492 wxDC
*arg1
= (wxDC
*) 0 ;
16493 wxPoint
*arg2
= 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 PyObject
* obj2
= 0 ;
16503 char * kwnames
[] = {
16504 (char *) "self",(char *) "pt",(char *) "radius", NULL
16507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16509 if (!SWIG_IsOK(res1
)) {
16510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
16512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16518 if (!SWIG_IsOK(ecode3
)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
16521 arg3
= static_cast< int >(val3
);
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_Py_Void();
16535 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
= 0;
16537 wxDC
*arg1
= (wxDC
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 PyObject
* obj2
= 0 ;
16555 PyObject
* obj3
= 0 ;
16556 PyObject
* obj4
= 0 ;
16557 char * kwnames
[] = {
16558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16563 if (!SWIG_IsOK(res1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
16566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16568 if (!SWIG_IsOK(ecode2
)) {
16569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
16571 arg2
= static_cast< int >(val2
);
16572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16573 if (!SWIG_IsOK(ecode3
)) {
16574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
16576 arg3
= static_cast< int >(val3
);
16577 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16578 if (!SWIG_IsOK(ecode4
)) {
16579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
16581 arg4
= static_cast< int >(val4
);
16582 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
16583 if (!SWIG_IsOK(ecode5
)) {
16584 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
16586 arg5
= static_cast< int >(val5
);
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_Py_Void();
16600 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
= 0;
16602 wxDC
*arg1
= (wxDC
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char * kwnames
[] = {
16610 (char *) "self",(char *) "rect", NULL
16613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16615 if (!SWIG_IsOK(res1
)) {
16616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
16618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16621 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_Py_Void();
16636 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= 0;
16638 wxDC
*arg1
= (wxDC
*) 0 ;
16639 wxPoint
*arg2
= 0 ;
16645 PyObject
* obj0
= 0 ;
16646 PyObject
* obj1
= 0 ;
16647 PyObject
* obj2
= 0 ;
16648 char * kwnames
[] = {
16649 (char *) "self",(char *) "pt",(char *) "sz", NULL
16652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16654 if (!SWIG_IsOK(res1
)) {
16655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
16657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16660 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16664 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_Py_Void();
16679 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16680 PyObject
*resultobj
= 0;
16681 wxDC
*arg1
= (wxDC
*) 0 ;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 PyObject
* obj2
= 0 ;
16696 PyObject
* obj3
= 0 ;
16697 char * kwnames
[] = {
16698 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
16701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16703 if (!SWIG_IsOK(res1
)) {
16704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
16706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16708 if (!SWIG_IsOK(res2
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16714 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16716 if (!SWIG_IsOK(ecode3
)) {
16717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
16719 arg3
= static_cast< int >(val3
);
16720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16721 if (!SWIG_IsOK(ecode4
)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
16724 arg4
= static_cast< int >(val4
);
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= SWIG_Py_Void();
16738 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
= 0;
16740 wxDC
*arg1
= (wxDC
*) 0 ;
16742 wxPoint
*arg3
= 0 ;
16748 PyObject
* obj0
= 0 ;
16749 PyObject
* obj1
= 0 ;
16750 PyObject
* obj2
= 0 ;
16751 char * kwnames
[] = {
16752 (char *) "self",(char *) "icon",(char *) "pt", NULL
16755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16757 if (!SWIG_IsOK(res1
)) {
16758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16762 if (!SWIG_IsOK(res2
)) {
16763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
16768 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_Py_Void();
16786 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
= 0;
16788 wxDC
*arg1
= (wxDC
*) 0 ;
16789 wxBitmap
*arg2
= 0 ;
16792 bool arg5
= (bool) false ;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 PyObject
* obj2
= 0 ;
16806 PyObject
* obj3
= 0 ;
16807 PyObject
* obj4
= 0 ;
16808 char * kwnames
[] = {
16809 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
16812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
16817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16818 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16819 if (!SWIG_IsOK(res2
)) {
16820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16825 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16827 if (!SWIG_IsOK(ecode3
)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
16830 arg3
= static_cast< int >(val3
);
16831 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16832 if (!SWIG_IsOK(ecode4
)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
16835 arg4
= static_cast< int >(val4
);
16837 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16838 if (!SWIG_IsOK(ecode5
)) {
16839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
16841 arg5
= static_cast< bool >(val5
);
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_Py_Void();
16856 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
= 0;
16858 wxDC
*arg1
= (wxDC
*) 0 ;
16859 wxBitmap
*arg2
= 0 ;
16860 wxPoint
*arg3
= 0 ;
16861 bool arg4
= (bool) false ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 PyObject
* obj2
= 0 ;
16872 PyObject
* obj3
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
16884 if (!SWIG_IsOK(res2
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
16890 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
16893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16896 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
16897 if (!SWIG_IsOK(ecode4
)) {
16898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
16900 arg4
= static_cast< bool >(val4
);
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_Py_Void();
16915 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= 0;
16917 wxDC
*arg1
= (wxDC
*) 0 ;
16918 wxString
*arg2
= 0 ;
16923 bool temp2
= false ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 PyObject
* obj2
= 0 ;
16931 PyObject
* obj3
= 0 ;
16932 char * kwnames
[] = {
16933 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
16936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16938 if (!SWIG_IsOK(res1
)) {
16939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
16941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16943 arg2
= wxString_in_helper(obj1
);
16944 if (arg2
== NULL
) SWIG_fail
;
16947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16948 if (!SWIG_IsOK(ecode3
)) {
16949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
16951 arg3
= static_cast< int >(val3
);
16952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16953 if (!SWIG_IsOK(ecode4
)) {
16954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
16956 arg4
= static_cast< int >(val4
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_Py_Void();
16978 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
= 0;
16980 wxDC
*arg1
= (wxDC
*) 0 ;
16981 wxString
*arg2
= 0 ;
16982 wxPoint
*arg3
= 0 ;
16985 bool temp2
= false ;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 PyObject
* obj2
= 0 ;
16990 char * kwnames
[] = {
16991 (char *) "self",(char *) "text",(char *) "pt", NULL
16994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
16999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17001 arg2
= wxString_in_helper(obj1
);
17002 if (arg2
== NULL
) SWIG_fail
;
17007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= SWIG_Py_Void();
17030 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17031 PyObject
*resultobj
= 0;
17032 wxDC
*arg1
= (wxDC
*) 0 ;
17033 wxString
*arg2
= 0 ;
17039 bool temp2
= false ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 PyObject
* obj2
= 0 ;
17049 PyObject
* obj3
= 0 ;
17050 PyObject
* obj4
= 0 ;
17051 char * kwnames
[] = {
17052 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
17055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17057 if (!SWIG_IsOK(res1
)) {
17058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
17060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17062 arg2
= wxString_in_helper(obj1
);
17063 if (arg2
== NULL
) SWIG_fail
;
17066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17067 if (!SWIG_IsOK(ecode3
)) {
17068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
17070 arg3
= static_cast< int >(val3
);
17071 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17072 if (!SWIG_IsOK(ecode4
)) {
17073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
17075 arg4
= static_cast< int >(val4
);
17076 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17077 if (!SWIG_IsOK(ecode5
)) {
17078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
17080 arg5
= static_cast< double >(val5
);
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= SWIG_Py_Void();
17102 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxDC
*arg1
= (wxDC
*) 0 ;
17105 wxString
*arg2
= 0 ;
17106 wxPoint
*arg3
= 0 ;
17110 bool temp2
= false ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 PyObject
* obj2
= 0 ;
17117 PyObject
* obj3
= 0 ;
17118 char * kwnames
[] = {
17119 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
17122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17124 if (!SWIG_IsOK(res1
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17129 arg2
= wxString_in_helper(obj1
);
17130 if (arg2
== NULL
) SWIG_fail
;
17135 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17137 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17138 if (!SWIG_IsOK(ecode4
)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
17141 arg4
= static_cast< double >(val4
);
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= SWIG_Py_Void();
17163 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= 0;
17165 wxDC
*arg1
= (wxDC
*) 0 ;
17170 wxDC
*arg6
= (wxDC
*) 0 ;
17173 int arg9
= (int) wxCOPY
;
17174 bool arg10
= (bool) false ;
17175 int arg11
= (int) -1 ;
17176 int arg12
= (int) -1 ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 PyObject
* obj2
= 0 ;
17205 PyObject
* obj3
= 0 ;
17206 PyObject
* obj4
= 0 ;
17207 PyObject
* obj5
= 0 ;
17208 PyObject
* obj6
= 0 ;
17209 PyObject
* obj7
= 0 ;
17210 PyObject
* obj8
= 0 ;
17211 PyObject
* obj9
= 0 ;
17212 PyObject
* obj10
= 0 ;
17213 PyObject
* obj11
= 0 ;
17214 char * kwnames
[] = {
17215 (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
17218 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
;
17219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
17223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17225 if (!SWIG_IsOK(ecode2
)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
17228 arg2
= static_cast< int >(val2
);
17229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17230 if (!SWIG_IsOK(ecode3
)) {
17231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
17233 arg3
= static_cast< int >(val3
);
17234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17235 if (!SWIG_IsOK(ecode4
)) {
17236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
17238 arg4
= static_cast< int >(val4
);
17239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17240 if (!SWIG_IsOK(ecode5
)) {
17241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
17243 arg5
= static_cast< int >(val5
);
17244 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
17245 if (!SWIG_IsOK(res6
)) {
17246 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
17248 arg6
= reinterpret_cast< wxDC
* >(argp6
);
17249 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17250 if (!SWIG_IsOK(ecode7
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
17253 arg7
= static_cast< int >(val7
);
17254 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
17255 if (!SWIG_IsOK(ecode8
)) {
17256 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
17258 arg8
= static_cast< int >(val8
);
17260 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
17261 if (!SWIG_IsOK(ecode9
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
17264 arg9
= static_cast< int >(val9
);
17267 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
17268 if (!SWIG_IsOK(ecode10
)) {
17269 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
17271 arg10
= static_cast< bool >(val10
);
17274 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
17275 if (!SWIG_IsOK(ecode11
)) {
17276 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
17278 arg11
= static_cast< int >(val11
);
17281 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
17282 if (!SWIG_IsOK(ecode12
)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
17285 arg12
= static_cast< int >(val12
);
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17302 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxDC
*arg1
= (wxDC
*) 0 ;
17305 wxPoint
*arg2
= 0 ;
17307 wxDC
*arg4
= (wxDC
*) 0 ;
17308 wxPoint
*arg5
= 0 ;
17309 int arg6
= (int) wxCOPY
;
17310 bool arg7
= (bool) false ;
17311 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
17312 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 PyObject
* obj2
= 0 ;
17329 PyObject
* obj3
= 0 ;
17330 PyObject
* obj4
= 0 ;
17331 PyObject
* obj5
= 0 ;
17332 PyObject
* obj6
= 0 ;
17333 PyObject
* obj7
= 0 ;
17334 char * kwnames
[] = {
17335 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
17338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17340 if (!SWIG_IsOK(res1
)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17346 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17350 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17352 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
17353 if (!SWIG_IsOK(res4
)) {
17354 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
17356 arg4
= reinterpret_cast< wxDC
* >(argp4
);
17359 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17362 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17363 if (!SWIG_IsOK(ecode6
)) {
17364 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
17366 arg6
= static_cast< int >(val6
);
17369 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
17370 if (!SWIG_IsOK(ecode7
)) {
17371 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
17373 arg7
= static_cast< bool >(val7
);
17378 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17396 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
= 0;
17398 wxDC
*arg1
= (wxDC
*) 0 ;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 PyObject
* obj2
= 0 ;
17416 PyObject
* obj3
= 0 ;
17417 PyObject
* obj4
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17429 if (!SWIG_IsOK(ecode2
)) {
17430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
17432 arg2
= static_cast< int >(val2
);
17433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17434 if (!SWIG_IsOK(ecode3
)) {
17435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
17437 arg3
= static_cast< int >(val3
);
17438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17439 if (!SWIG_IsOK(ecode4
)) {
17440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
17442 arg4
= static_cast< int >(val4
);
17443 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17444 if (!SWIG_IsOK(ecode5
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
17447 arg5
= static_cast< int >(val5
);
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_Py_Void();
17461 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
= 0;
17463 wxDC
*arg1
= (wxDC
*) 0 ;
17464 wxPoint
*arg2
= 0 ;
17470 PyObject
* obj0
= 0 ;
17471 PyObject
* obj1
= 0 ;
17472 PyObject
* obj2
= 0 ;
17473 char * kwnames
[] = {
17474 (char *) "self",(char *) "pt",(char *) "sz", NULL
17477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17479 if (!SWIG_IsOK(res1
)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17489 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= SWIG_Py_Void();
17504 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
= 0;
17506 wxDC
*arg1
= (wxDC
*) 0 ;
17507 wxRegion
*arg2
= 0 ;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 char * kwnames
[] = {
17515 (char *) "self",(char *) "region", NULL
17518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17520 if (!SWIG_IsOK(res1
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
17523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
17525 if (!SWIG_IsOK(res2
)) {
17526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
17531 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_Py_Void();
17545 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
= 0;
17547 wxDC
*arg1
= (wxDC
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 PyObject
* obj1
= 0 ;
17554 char * kwnames
[] = {
17555 (char *) "self",(char *) "rect", NULL
17558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17560 if (!SWIG_IsOK(res1
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
17563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17566 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_Py_Void();
17581 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
= 0;
17583 wxDC
*arg1
= (wxDC
*) 0 ;
17585 wxPoint
*arg3
= (wxPoint
*) 0 ;
17586 int arg4
= (int) 0 ;
17587 int arg5
= (int) 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 char * kwnames
[] = {
17599 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
17602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17604 if (!SWIG_IsOK(res1
)) {
17605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
17607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17609 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17610 if (arg3
== NULL
) SWIG_fail
;
17613 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17614 if (!SWIG_IsOK(ecode4
)) {
17615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
17617 arg4
= static_cast< int >(val4
);
17620 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17621 if (!SWIG_IsOK(ecode5
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
17624 arg5
= static_cast< int >(val5
);
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 resultobj
= SWIG_Py_Void();
17634 if (arg3
) delete [] arg3
;
17639 if (arg3
) delete [] arg3
;
17645 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17646 PyObject
*resultobj
= 0;
17647 wxDC
*arg1
= (wxDC
*) 0 ;
17649 wxPoint
*arg3
= (wxPoint
*) 0 ;
17650 int arg4
= (int) 0 ;
17651 int arg5
= (int) 0 ;
17652 int arg6
= (int) wxODDEVEN_RULE
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 PyObject
* obj2
= 0 ;
17664 PyObject
* obj3
= 0 ;
17665 PyObject
* obj4
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
17675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17677 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17678 if (arg3
== NULL
) SWIG_fail
;
17681 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
17682 if (!SWIG_IsOK(ecode4
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
17685 arg4
= static_cast< int >(val4
);
17688 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
17689 if (!SWIG_IsOK(ecode5
)) {
17690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
17692 arg5
= static_cast< int >(val5
);
17695 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
17696 if (!SWIG_IsOK(ecode6
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
17699 arg6
= static_cast< int >(val6
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_Py_Void();
17709 if (arg3
) delete [] arg3
;
17714 if (arg3
) delete [] arg3
;
17720 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxDC
*arg1
= (wxDC
*) 0 ;
17723 wxString
*arg2
= 0 ;
17725 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17726 int arg5
= (int) -1 ;
17729 bool temp2
= false ;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 PyObject
* obj2
= 0 ;
17738 PyObject
* obj3
= 0 ;
17739 PyObject
* obj4
= 0 ;
17740 char * kwnames
[] = {
17741 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17746 if (!SWIG_IsOK(res1
)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17751 arg2
= wxString_in_helper(obj1
);
17752 if (arg2
== NULL
) SWIG_fail
;
17757 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
17760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17761 if (!SWIG_IsOK(ecode4
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
17764 arg4
= static_cast< int >(val4
);
17767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17768 if (!SWIG_IsOK(ecode5
)) {
17769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
17771 arg5
= static_cast< int >(val5
);
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= SWIG_Py_Void();
17794 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
= 0;
17796 wxDC
*arg1
= (wxDC
*) 0 ;
17797 wxString
*arg2
= 0 ;
17798 wxBitmap
*arg3
= 0 ;
17800 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
17801 int arg6
= (int) -1 ;
17805 bool temp2
= false ;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17815 PyObject
* obj2
= 0 ;
17816 PyObject
* obj3
= 0 ;
17817 PyObject
* obj4
= 0 ;
17818 PyObject
* obj5
= 0 ;
17819 char * kwnames
[] = {
17820 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
17823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17825 if (!SWIG_IsOK(res1
)) {
17826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
17828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17830 arg2
= wxString_in_helper(obj1
);
17831 if (arg2
== NULL
) SWIG_fail
;
17834 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
17835 if (!SWIG_IsOK(res3
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
17841 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
17844 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
17847 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17848 if (!SWIG_IsOK(ecode5
)) {
17849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
17851 arg5
= static_cast< int >(val5
);
17854 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17855 if (!SWIG_IsOK(ecode6
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
17858 arg6
= static_cast< int >(val6
);
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
17881 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
= 0;
17883 wxDC
*arg1
= (wxDC
*) 0 ;
17885 wxPoint
*arg3
= (wxPoint
*) 0 ;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char * kwnames
[] = {
17891 (char *) "self",(char *) "points", NULL
17894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17896 if (!SWIG_IsOK(res1
)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
17899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17901 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
17902 if (arg3
== NULL
) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 (arg1
)->DrawSpline(arg2
,arg3
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_Py_Void();
17912 if (arg3
) delete [] arg3
;
17917 if (arg3
) delete [] arg3
;
17923 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17924 PyObject
*resultobj
= 0;
17925 wxDC
*arg1
= (wxDC
*) 0 ;
17928 PyObject
*swig_obj
[1] ;
17930 if (!args
) SWIG_fail
;
17931 swig_obj
[0] = args
;
17932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17933 if (!SWIG_IsOK(res1
)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
17936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_Py_Void();
17950 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
= 0;
17952 wxDC
*arg1
= (wxDC
*) 0 ;
17953 wxString
*arg2
= 0 ;
17957 bool temp2
= false ;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 char * kwnames
[] = {
17961 (char *) "self",(char *) "message", NULL
17964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
17969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17971 arg2
= wxString_in_helper(obj1
);
17972 if (arg2
== NULL
) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17998 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17999 PyObject
*resultobj
= 0;
18000 wxDC
*arg1
= (wxDC
*) 0 ;
18003 PyObject
*swig_obj
[1] ;
18005 if (!args
) SWIG_fail
;
18006 swig_obj
[0] = args
;
18007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18008 if (!SWIG_IsOK(res1
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
18011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= SWIG_Py_Void();
18025 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18026 PyObject
*resultobj
= 0;
18027 wxDC
*arg1
= (wxDC
*) 0 ;
18030 PyObject
*swig_obj
[1] ;
18032 if (!args
) SWIG_fail
;
18033 swig_obj
[0] = args
;
18034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18035 if (!SWIG_IsOK(res1
)) {
18036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
18038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->StartPage();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_Py_Void();
18052 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18053 PyObject
*resultobj
= 0;
18054 wxDC
*arg1
= (wxDC
*) 0 ;
18057 PyObject
*swig_obj
[1] ;
18059 if (!args
) SWIG_fail
;
18060 swig_obj
[0] = args
;
18061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18062 if (!SWIG_IsOK(res1
)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
18065 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_Py_Void();
18079 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxDC
*arg1
= (wxDC
*) 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "font", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
18098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18100 if (!SWIG_IsOK(res2
)) {
18101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18106 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 (arg1
)->SetFont((wxFont
const &)*arg2
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_Py_Void();
18120 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
= 0;
18122 wxDC
*arg1
= (wxDC
*) 0 ;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char * kwnames
[] = {
18131 (char *) "self",(char *) "pen", NULL
18134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18136 if (!SWIG_IsOK(res1
)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
18139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
18141 if (!SWIG_IsOK(res2
)) {
18142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
18147 arg2
= reinterpret_cast< wxPen
* >(argp2
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->SetPen((wxPen
const &)*arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_Py_Void();
18161 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxDC
*arg1
= (wxDC
*) 0 ;
18164 wxBrush
*arg2
= 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char * kwnames
[] = {
18172 (char *) "self",(char *) "brush", NULL
18175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
18180 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18182 if (!SWIG_IsOK(res2
)) {
18183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
18188 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_Py_Void();
18202 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18203 PyObject
*resultobj
= 0;
18204 wxDC
*arg1
= (wxDC
*) 0 ;
18205 wxBrush
*arg2
= 0 ;
18210 PyObject
* obj0
= 0 ;
18211 PyObject
* obj1
= 0 ;
18212 char * kwnames
[] = {
18213 (char *) "self",(char *) "brush", NULL
18216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18218 if (!SWIG_IsOK(res1
)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
18221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
18223 if (!SWIG_IsOK(res2
)) {
18224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
18229 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 resultobj
= SWIG_Py_Void();
18243 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
= 0;
18245 wxDC
*arg1
= (wxDC
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 char * kwnames
[] = {
18254 (char *) "self",(char *) "mode", NULL
18257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
18262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18264 if (!SWIG_IsOK(ecode2
)) {
18265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
18267 arg2
= static_cast< int >(val2
);
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->SetBackgroundMode(arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_Py_Void();
18281 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18284 wxPalette
*arg2
= 0 ;
18289 PyObject
* obj0
= 0 ;
18290 PyObject
* obj1
= 0 ;
18291 char * kwnames
[] = {
18292 (char *) "self",(char *) "palette", NULL
18295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18297 if (!SWIG_IsOK(res1
)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
18300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
18302 if (!SWIG_IsOK(res2
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
18308 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_Py_Void();
18322 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18323 PyObject
*resultobj
= 0;
18324 wxDC
*arg1
= (wxDC
*) 0 ;
18327 PyObject
*swig_obj
[1] ;
18329 if (!args
) SWIG_fail
;
18330 swig_obj
[0] = args
;
18331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18332 if (!SWIG_IsOK(res1
)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
18335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 (arg1
)->DestroyClippingRegion();
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_Py_Void();
18349 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18350 PyObject
*resultobj
= 0;
18351 wxDC
*arg1
= (wxDC
*) 0 ;
18352 int *arg2
= (int *) 0 ;
18353 int *arg3
= (int *) 0 ;
18354 int *arg4
= (int *) 0 ;
18355 int *arg5
= (int *) 0 ;
18359 int res2
= SWIG_TMPOBJ
;
18361 int res3
= SWIG_TMPOBJ
;
18363 int res4
= SWIG_TMPOBJ
;
18365 int res5
= SWIG_TMPOBJ
;
18366 PyObject
*swig_obj
[1] ;
18372 if (!args
) SWIG_fail
;
18373 swig_obj
[0] = args
;
18374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18375 if (!SWIG_IsOK(res1
)) {
18376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
18378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_Py_Void();
18386 if (SWIG_IsTmpObj(res2
)) {
18387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18389 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18392 if (SWIG_IsTmpObj(res3
)) {
18393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18395 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18398 if (SWIG_IsTmpObj(res4
)) {
18399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18401 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18404 if (SWIG_IsTmpObj(res5
)) {
18405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18407 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18416 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18417 PyObject
*resultobj
= 0;
18418 wxDC
*arg1
= (wxDC
*) 0 ;
18422 PyObject
*swig_obj
[1] ;
18424 if (!args
) SWIG_fail
;
18425 swig_obj
[0] = args
;
18426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
18430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= wxDC_GetClippingRect(arg1
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
18444 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18445 PyObject
*resultobj
= 0;
18446 wxDC
*arg1
= (wxDC
*) 0 ;
18450 PyObject
*swig_obj
[1] ;
18452 if (!args
) SWIG_fail
;
18453 swig_obj
[0] = args
;
18454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
18458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_From_int(static_cast< int >(result
));
18472 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18473 PyObject
*resultobj
= 0;
18474 wxDC
*arg1
= (wxDC
*) 0 ;
18478 PyObject
*swig_obj
[1] ;
18480 if (!args
) SWIG_fail
;
18481 swig_obj
[0] = args
;
18482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18483 if (!SWIG_IsOK(res1
)) {
18484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
18486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_From_int(static_cast< int >(result
));
18500 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
= 0;
18502 wxDC
*arg1
= (wxDC
*) 0 ;
18503 wxString
*arg2
= 0 ;
18504 int *arg3
= (int *) 0 ;
18505 int *arg4
= (int *) 0 ;
18508 bool temp2
= false ;
18510 int res3
= SWIG_TMPOBJ
;
18512 int res4
= SWIG_TMPOBJ
;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char * kwnames
[] = {
18516 (char *) "self",(char *) "string", NULL
18521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18523 if (!SWIG_IsOK(res1
)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18528 arg2
= wxString_in_helper(obj1
);
18529 if (arg2
== NULL
) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_Py_Void();
18539 if (SWIG_IsTmpObj(res3
)) {
18540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18542 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18545 if (SWIG_IsTmpObj(res4
)) {
18546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18548 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18565 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
= 0;
18567 wxDC
*arg1
= (wxDC
*) 0 ;
18568 wxString
*arg2
= 0 ;
18569 int *arg3
= (int *) 0 ;
18570 int *arg4
= (int *) 0 ;
18571 int *arg5
= (int *) 0 ;
18572 int *arg6
= (int *) 0 ;
18573 wxFont
*arg7
= (wxFont
*) NULL
;
18576 bool temp2
= false ;
18578 int res3
= SWIG_TMPOBJ
;
18580 int res4
= SWIG_TMPOBJ
;
18582 int res5
= SWIG_TMPOBJ
;
18584 int res6
= SWIG_TMPOBJ
;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 PyObject
* obj2
= 0 ;
18590 char * kwnames
[] = {
18591 (char *) "self",(char *) "string",(char *) "font", NULL
18598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18600 if (!SWIG_IsOK(res1
)) {
18601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18605 arg2
= wxString_in_helper(obj1
);
18606 if (arg2
== NULL
) SWIG_fail
;
18610 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
18611 if (!SWIG_IsOK(res7
)) {
18612 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
18614 arg7
= reinterpret_cast< wxFont
* >(argp7
);
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_Py_Void();
18623 if (SWIG_IsTmpObj(res3
)) {
18624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18626 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18629 if (SWIG_IsTmpObj(res4
)) {
18630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18632 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18635 if (SWIG_IsTmpObj(res5
)) {
18636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18638 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18641 if (SWIG_IsTmpObj(res6
)) {
18642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
18644 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
18661 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxDC
*arg1
= (wxDC
*) 0 ;
18664 wxString
*arg2
= 0 ;
18665 int *arg3
= (int *) 0 ;
18666 int *arg4
= (int *) 0 ;
18667 int *arg5
= (int *) 0 ;
18668 wxFont
*arg6
= (wxFont
*) NULL
;
18671 bool temp2
= false ;
18673 int res3
= SWIG_TMPOBJ
;
18675 int res4
= SWIG_TMPOBJ
;
18677 int res5
= SWIG_TMPOBJ
;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 PyObject
* obj2
= 0 ;
18683 char * kwnames
[] = {
18684 (char *) "self",(char *) "text",(char *) "font", NULL
18690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
18695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18697 arg2
= wxString_in_helper(obj1
);
18698 if (arg2
== NULL
) SWIG_fail
;
18702 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
18703 if (!SWIG_IsOK(res6
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
18706 arg6
= reinterpret_cast< wxFont
* >(argp6
);
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_Py_Void();
18715 if (SWIG_IsTmpObj(res3
)) {
18716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18718 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18721 if (SWIG_IsTmpObj(res4
)) {
18722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
18724 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
18727 if (SWIG_IsTmpObj(res5
)) {
18728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
18730 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
18747 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxDC
*arg1
= (wxDC
*) 0 ;
18750 wxString
*arg2
= 0 ;
18754 bool temp2
= false ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 char * kwnames
[] = {
18758 (char *) "self",(char *) "text", NULL
18761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
18766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18768 arg2
= wxString_in_helper(obj1
);
18769 if (arg2
== NULL
) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= PyList_New(0);
18781 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
18782 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
18783 PyList_Append(resultobj
, val
);
18801 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18802 PyObject
*resultobj
= 0;
18803 wxDC
*arg1
= (wxDC
*) 0 ;
18807 PyObject
*swig_obj
[1] ;
18809 if (!args
) SWIG_fail
;
18810 swig_obj
[0] = args
;
18811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (arg1
)->GetSize();
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18829 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18830 PyObject
*resultobj
= 0;
18831 wxDC
*arg1
= (wxDC
*) 0 ;
18832 int *arg2
= (int *) 0 ;
18833 int *arg3
= (int *) 0 ;
18837 int res2
= SWIG_TMPOBJ
;
18839 int res3
= SWIG_TMPOBJ
;
18840 PyObject
*swig_obj
[1] ;
18844 if (!args
) SWIG_fail
;
18845 swig_obj
[0] = args
;
18846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18847 if (!SWIG_IsOK(res1
)) {
18848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
18850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 (arg1
)->GetSize(arg2
,arg3
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_Py_Void();
18858 if (SWIG_IsTmpObj(res2
)) {
18859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18861 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18864 if (SWIG_IsTmpObj(res3
)) {
18865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18867 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18876 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18877 PyObject
*resultobj
= 0;
18878 wxDC
*arg1
= (wxDC
*) 0 ;
18882 PyObject
*swig_obj
[1] ;
18884 if (!args
) SWIG_fail
;
18885 swig_obj
[0] = args
;
18886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18887 if (!SWIG_IsOK(res1
)) {
18888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
18890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= ((wxDC
const *)arg1
)->GetSizeMM();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18897 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
18904 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18905 PyObject
*resultobj
= 0;
18906 wxDC
*arg1
= (wxDC
*) 0 ;
18907 int *arg2
= (int *) 0 ;
18908 int *arg3
= (int *) 0 ;
18912 int res2
= SWIG_TMPOBJ
;
18914 int res3
= SWIG_TMPOBJ
;
18915 PyObject
*swig_obj
[1] ;
18919 if (!args
) SWIG_fail
;
18920 swig_obj
[0] = args
;
18921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18922 if (!SWIG_IsOK(res1
)) {
18923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
18925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_Py_Void();
18933 if (SWIG_IsTmpObj(res2
)) {
18934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
18936 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
18939 if (SWIG_IsTmpObj(res3
)) {
18940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
18942 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
18943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
18951 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
= 0;
18953 wxDC
*arg1
= (wxDC
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char * kwnames
[] = {
18963 (char *) "self",(char *) "x", NULL
18966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18968 if (!SWIG_IsOK(res1
)) {
18969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
18971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18973 if (!SWIG_IsOK(ecode2
)) {
18974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
18976 arg2
= static_cast< int >(val2
);
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_From_int(static_cast< int >(result
));
18990 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
= 0;
18992 wxDC
*arg1
= (wxDC
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 char * kwnames
[] = {
19002 (char *) "self",(char *) "y", NULL
19005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19007 if (!SWIG_IsOK(res1
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
19010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19012 if (!SWIG_IsOK(ecode2
)) {
19013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
19015 arg2
= static_cast< int >(val2
);
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_From_int(static_cast< int >(result
));
19029 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
= 0;
19031 wxDC
*arg1
= (wxDC
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "x", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19051 if (!SWIG_IsOK(ecode2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
19054 arg2
= static_cast< int >(val2
);
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_From_int(static_cast< int >(result
));
19068 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
= 0;
19070 wxDC
*arg1
= (wxDC
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char * kwnames
[] = {
19080 (char *) "self",(char *) "y", NULL
19083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19090 if (!SWIG_IsOK(ecode2
)) {
19091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
19093 arg2
= static_cast< int >(val2
);
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_From_int(static_cast< int >(result
));
19107 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= 0;
19109 wxDC
*arg1
= (wxDC
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 char * kwnames
[] = {
19119 (char *) "self",(char *) "x", NULL
19122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19124 if (!SWIG_IsOK(res1
)) {
19125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
19127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19129 if (!SWIG_IsOK(ecode2
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
19132 arg2
= static_cast< int >(val2
);
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
19136 wxPyEndAllowThreads(__tstate
);
19137 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= SWIG_From_int(static_cast< int >(result
));
19146 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
= 0;
19148 wxDC
*arg1
= (wxDC
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char * kwnames
[] = {
19158 (char *) "self",(char *) "y", NULL
19161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19163 if (!SWIG_IsOK(res1
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
19166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19168 if (!SWIG_IsOK(ecode2
)) {
19169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
19171 arg2
= static_cast< int >(val2
);
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_From_int(static_cast< int >(result
));
19185 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= 0;
19187 wxDC
*arg1
= (wxDC
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "self",(char *) "x", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19207 if (!SWIG_IsOK(ecode2
)) {
19208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
19210 arg2
= static_cast< int >(val2
);
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_From_int(static_cast< int >(result
));
19224 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
= 0;
19226 wxDC
*arg1
= (wxDC
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 char * kwnames
[] = {
19236 (char *) "self",(char *) "y", NULL
19239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19241 if (!SWIG_IsOK(res1
)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
19244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19246 if (!SWIG_IsOK(ecode2
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
19249 arg2
= static_cast< int >(val2
);
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_From_int(static_cast< int >(result
));
19263 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19264 PyObject
*resultobj
= 0;
19265 wxDC
*arg1
= (wxDC
*) 0 ;
19269 PyObject
*swig_obj
[1] ;
19271 if (!args
) SWIG_fail
;
19272 swig_obj
[0] = args
;
19273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19274 if (!SWIG_IsOK(res1
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19293 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19294 PyObject
*resultobj
= 0;
19295 wxDC
*arg1
= (wxDC
*) 0 ;
19299 PyObject
*swig_obj
[1] ;
19301 if (!args
) SWIG_fail
;
19302 swig_obj
[0] = args
;
19303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19304 if (!SWIG_IsOK(res1
)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
19307 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19323 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19324 PyObject
*resultobj
= 0;
19325 wxDC
*arg1
= (wxDC
*) 0 ;
19329 PyObject
*swig_obj
[1] ;
19331 if (!args
) SWIG_fail
;
19332 swig_obj
[0] = args
;
19333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
19337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (int)((wxDC
const *)arg1
)->GetDepth();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= SWIG_From_int(static_cast< int >(result
));
19351 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19352 PyObject
*resultobj
= 0;
19353 wxDC
*arg1
= (wxDC
*) 0 ;
19357 PyObject
*swig_obj
[1] ;
19359 if (!args
) SWIG_fail
;
19360 swig_obj
[0] = args
;
19361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19362 if (!SWIG_IsOK(res1
)) {
19363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
19365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= ((wxDC
const *)arg1
)->GetPPI();
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19379 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19380 PyObject
*resultobj
= 0;
19381 wxDC
*arg1
= (wxDC
*) 0 ;
19385 PyObject
*swig_obj
[1] ;
19387 if (!args
) SWIG_fail
;
19388 swig_obj
[0] = args
;
19389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19390 if (!SWIG_IsOK(res1
)) {
19391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
19393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (bool)((wxDC
const *)arg1
)->Ok();
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19409 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19410 PyObject
*resultobj
= 0;
19411 wxDC
*arg1
= (wxDC
*) 0 ;
19415 PyObject
*swig_obj
[1] ;
19417 if (!args
) SWIG_fail
;
19418 swig_obj
[0] = args
;
19419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19420 if (!SWIG_IsOK(res1
)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_From_int(static_cast< int >(result
));
19437 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19438 PyObject
*resultobj
= 0;
19439 wxDC
*arg1
= (wxDC
*) 0 ;
19440 wxBrush
*result
= 0 ;
19443 PyObject
*swig_obj
[1] ;
19445 if (!args
) SWIG_fail
;
19446 swig_obj
[0] = args
;
19447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19448 if (!SWIG_IsOK(res1
)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
19456 result
= (wxBrush
*) &_result_ref
;
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19462 wxBrush
* resultptr
= new wxBrush(*result
);
19463 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19471 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19472 PyObject
*resultobj
= 0;
19473 wxDC
*arg1
= (wxDC
*) 0 ;
19474 wxBrush
*result
= 0 ;
19477 PyObject
*swig_obj
[1] ;
19479 if (!args
) SWIG_fail
;
19480 swig_obj
[0] = args
;
19481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
19485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
19490 result
= (wxBrush
*) &_result_ref
;
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19496 wxBrush
* resultptr
= new wxBrush(*result
);
19497 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
19505 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19506 PyObject
*resultobj
= 0;
19507 wxDC
*arg1
= (wxDC
*) 0 ;
19508 wxFont
*result
= 0 ;
19511 PyObject
*swig_obj
[1] ;
19513 if (!args
) SWIG_fail
;
19514 swig_obj
[0] = args
;
19515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19516 if (!SWIG_IsOK(res1
)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
19519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
19524 result
= (wxFont
*) &_result_ref
;
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19530 wxFont
* resultptr
= new wxFont(*result
);
19531 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19539 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19540 PyObject
*resultobj
= 0;
19541 wxDC
*arg1
= (wxDC
*) 0 ;
19542 wxPen
*result
= 0 ;
19545 PyObject
*swig_obj
[1] ;
19547 if (!args
) SWIG_fail
;
19548 swig_obj
[0] = args
;
19549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19550 if (!SWIG_IsOK(res1
)) {
19551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
19553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
19558 result
= (wxPen
*) &_result_ref
;
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 wxPen
* resultptr
= new wxPen(*result
);
19565 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
19573 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19574 PyObject
*resultobj
= 0;
19575 wxDC
*arg1
= (wxDC
*) 0 ;
19576 wxColour
*result
= 0 ;
19579 PyObject
*swig_obj
[1] ;
19581 if (!args
) SWIG_fail
;
19582 swig_obj
[0] = args
;
19583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19584 if (!SWIG_IsOK(res1
)) {
19585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
19587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
19592 result
= (wxColour
*) &_result_ref
;
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19604 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19605 PyObject
*resultobj
= 0;
19606 wxDC
*arg1
= (wxDC
*) 0 ;
19607 wxColour
*result
= 0 ;
19610 PyObject
*swig_obj
[1] ;
19612 if (!args
) SWIG_fail
;
19613 swig_obj
[0] = args
;
19614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19615 if (!SWIG_IsOK(res1
)) {
19616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
19618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
19623 result
= (wxColour
*) &_result_ref
;
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
19635 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
= 0;
19637 wxDC
*arg1
= (wxDC
*) 0 ;
19638 wxColour
*arg2
= 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 char * kwnames
[] = {
19645 (char *) "self",(char *) "colour", NULL
19648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19650 if (!SWIG_IsOK(res1
)) {
19651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
19653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_Py_Void();
19671 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
= 0;
19673 wxDC
*arg1
= (wxDC
*) 0 ;
19674 wxColour
*arg2
= 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 char * kwnames
[] = {
19681 (char *) "self",(char *) "colour", NULL
19684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19686 if (!SWIG_IsOK(res1
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
19689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19692 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_Py_Void();
19707 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19708 PyObject
*resultobj
= 0;
19709 wxDC
*arg1
= (wxDC
*) 0 ;
19713 PyObject
*swig_obj
[1] ;
19715 if (!args
) SWIG_fail
;
19716 swig_obj
[0] = args
;
19717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19718 if (!SWIG_IsOK(res1
)) {
19719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
19721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_From_int(static_cast< int >(result
));
19735 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 wxDC
*arg1
= (wxDC
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 PyObject
* obj1
= 0 ;
19745 char * kwnames
[] = {
19746 (char *) "self",(char *) "mode", NULL
19749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19751 if (!SWIG_IsOK(res1
)) {
19752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
19754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19756 if (!SWIG_IsOK(ecode2
)) {
19757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
19759 arg2
= static_cast< int >(val2
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 (arg1
)->SetMapMode(arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_Py_Void();
19773 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19774 PyObject
*resultobj
= 0;
19775 wxDC
*arg1
= (wxDC
*) 0 ;
19776 double *arg2
= (double *) 0 ;
19777 double *arg3
= (double *) 0 ;
19781 int res2
= SWIG_TMPOBJ
;
19783 int res3
= SWIG_TMPOBJ
;
19784 PyObject
*swig_obj
[1] ;
19788 if (!args
) SWIG_fail
;
19789 swig_obj
[0] = args
;
19790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19791 if (!SWIG_IsOK(res1
)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
19794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_Py_Void();
19802 if (SWIG_IsTmpObj(res2
)) {
19803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19805 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19808 if (SWIG_IsTmpObj(res3
)) {
19809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19811 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19820 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
= 0;
19822 wxDC
*arg1
= (wxDC
*) 0 ;
19831 PyObject
* obj0
= 0 ;
19832 PyObject
* obj1
= 0 ;
19833 PyObject
* obj2
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "x",(char *) "y", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19844 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19845 if (!SWIG_IsOK(ecode2
)) {
19846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
19848 arg2
= static_cast< double >(val2
);
19849 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19850 if (!SWIG_IsOK(ecode3
)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
19853 arg3
= static_cast< double >(val3
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 (arg1
)->SetUserScale(arg2
,arg3
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_Py_Void();
19867 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19868 PyObject
*resultobj
= 0;
19869 wxDC
*arg1
= (wxDC
*) 0 ;
19870 double *arg2
= (double *) 0 ;
19871 double *arg3
= (double *) 0 ;
19875 int res2
= SWIG_TMPOBJ
;
19877 int res3
= SWIG_TMPOBJ
;
19878 PyObject
*swig_obj
[1] ;
19882 if (!args
) SWIG_fail
;
19883 swig_obj
[0] = args
;
19884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19888 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->GetLogicalScale(arg2
,arg3
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_Py_Void();
19896 if (SWIG_IsTmpObj(res2
)) {
19897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
19899 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
19902 if (SWIG_IsTmpObj(res3
)) {
19903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
19905 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
19914 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
= 0;
19916 wxDC
*arg1
= (wxDC
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 PyObject
* obj2
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "x",(char *) "y", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
19937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19938 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
19939 if (!SWIG_IsOK(ecode2
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
19942 arg2
= static_cast< double >(val2
);
19943 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19944 if (!SWIG_IsOK(ecode3
)) {
19945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
19947 arg3
= static_cast< double >(val3
);
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 (arg1
)->SetLogicalScale(arg2
,arg3
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_Py_Void();
19961 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19962 PyObject
*resultobj
= 0;
19963 wxDC
*arg1
= (wxDC
*) 0 ;
19967 PyObject
*swig_obj
[1] ;
19969 if (!args
) SWIG_fail
;
19970 swig_obj
[0] = args
;
19971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19972 if (!SWIG_IsOK(res1
)) {
19973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
19975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
19989 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19990 PyObject
*resultobj
= 0;
19991 wxDC
*arg1
= (wxDC
*) 0 ;
19992 int *arg2
= (int *) 0 ;
19993 int *arg3
= (int *) 0 ;
19997 int res2
= SWIG_TMPOBJ
;
19999 int res3
= SWIG_TMPOBJ
;
20000 PyObject
*swig_obj
[1] ;
20004 if (!args
) SWIG_fail
;
20005 swig_obj
[0] = args
;
20006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20007 if (!SWIG_IsOK(res1
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_Py_Void();
20018 if (SWIG_IsTmpObj(res2
)) {
20019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20021 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20024 if (SWIG_IsTmpObj(res3
)) {
20025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20027 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20036 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxDC
*arg1
= (wxDC
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 PyObject
* obj2
= 0 ;
20050 char * kwnames
[] = {
20051 (char *) "self",(char *) "x",(char *) "y", NULL
20054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20056 if (!SWIG_IsOK(res1
)) {
20057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20061 if (!SWIG_IsOK(ecode2
)) {
20062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
20064 arg2
= static_cast< int >(val2
);
20065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20066 if (!SWIG_IsOK(ecode3
)) {
20067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
20069 arg3
= static_cast< int >(val3
);
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= SWIG_Py_Void();
20083 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
= 0;
20085 wxDC
*arg1
= (wxDC
*) 0 ;
20086 wxPoint
*arg2
= 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 char * kwnames
[] = {
20093 (char *) "self",(char *) "point", NULL
20096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20098 if (!SWIG_IsOK(res1
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_Py_Void();
20119 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20120 PyObject
*resultobj
= 0;
20121 wxDC
*arg1
= (wxDC
*) 0 ;
20125 PyObject
*swig_obj
[1] ;
20127 if (!args
) SWIG_fail
;
20128 swig_obj
[0] = args
;
20129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
20133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20147 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20148 PyObject
*resultobj
= 0;
20149 wxDC
*arg1
= (wxDC
*) 0 ;
20150 int *arg2
= (int *) 0 ;
20151 int *arg3
= (int *) 0 ;
20155 int res2
= SWIG_TMPOBJ
;
20157 int res3
= SWIG_TMPOBJ
;
20158 PyObject
*swig_obj
[1] ;
20162 if (!args
) SWIG_fail
;
20163 swig_obj
[0] = args
;
20164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20165 if (!SWIG_IsOK(res1
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_Py_Void();
20176 if (SWIG_IsTmpObj(res2
)) {
20177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20179 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20182 if (SWIG_IsTmpObj(res3
)) {
20183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20185 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20194 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= 0;
20196 wxDC
*arg1
= (wxDC
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 PyObject
* obj2
= 0 ;
20208 char * kwnames
[] = {
20209 (char *) "self",(char *) "x",(char *) "y", NULL
20212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20214 if (!SWIG_IsOK(res1
)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20219 if (!SWIG_IsOK(ecode2
)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
20222 arg2
= static_cast< int >(val2
);
20223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20224 if (!SWIG_IsOK(ecode3
)) {
20225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
20227 arg3
= static_cast< int >(val3
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_Py_Void();
20241 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
= 0;
20243 wxDC
*arg1
= (wxDC
*) 0 ;
20244 wxPoint
*arg2
= 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char * kwnames
[] = {
20251 (char *) "self",(char *) "point", NULL
20254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20256 if (!SWIG_IsOK(res1
)) {
20257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_Py_Void();
20277 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxDC
*arg1
= (wxDC
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 PyObject
* obj2
= 0 ;
20291 char * kwnames
[] = {
20292 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
20295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20297 if (!SWIG_IsOK(res1
)) {
20298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
20300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20301 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20302 if (!SWIG_IsOK(ecode2
)) {
20303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
20305 arg2
= static_cast< bool >(val2
);
20306 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20307 if (!SWIG_IsOK(ecode3
)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
20310 arg3
= static_cast< bool >(val3
);
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 (arg1
)->SetAxisOrientation(arg2
,arg3
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= SWIG_Py_Void();
20324 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20325 PyObject
*resultobj
= 0;
20326 wxDC
*arg1
= (wxDC
*) 0 ;
20330 PyObject
*swig_obj
[1] ;
20332 if (!args
) SWIG_fail
;
20333 swig_obj
[0] = args
;
20334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
20338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_From_int(static_cast< int >(result
));
20352 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
= 0;
20354 wxDC
*arg1
= (wxDC
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char * kwnames
[] = {
20363 (char *) "self",(char *) "function", NULL
20366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20368 if (!SWIG_IsOK(res1
)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
20371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20373 if (!SWIG_IsOK(ecode2
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
20376 arg2
= static_cast< int >(val2
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetLogicalFunction(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20390 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20391 PyObject
*resultobj
= 0;
20392 wxDC
*arg1
= (wxDC
*) 0 ;
20395 PyObject
*swig_obj
[1] ;
20397 if (!args
) SWIG_fail
;
20398 swig_obj
[0] = args
;
20399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20400 if (!SWIG_IsOK(res1
)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
20403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 (arg1
)->ComputeScaleAndOrigin();
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= SWIG_Py_Void();
20417 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
= 0;
20419 wxDC
*arg1
= (wxDC
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 PyObject
* obj2
= 0 ;
20431 char * kwnames
[] = {
20432 (char *) "self",(char *) "x",(char *) "y", NULL
20435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20437 if (!SWIG_IsOK(res1
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20442 if (!SWIG_IsOK(ecode2
)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
20445 arg2
= static_cast< int >(val2
);
20446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20447 if (!SWIG_IsOK(ecode3
)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
20450 arg3
= static_cast< int >(val3
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->CalcBoundingBox(arg2
,arg3
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_Py_Void();
20464 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxDC
*arg1
= (wxDC
*) 0 ;
20467 wxPoint
*arg2
= 0 ;
20471 PyObject
* obj0
= 0 ;
20472 PyObject
* obj1
= 0 ;
20473 char * kwnames
[] = {
20474 (char *) "self",(char *) "point", NULL
20477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20493 resultobj
= SWIG_Py_Void();
20500 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20501 PyObject
*resultobj
= 0;
20502 wxDC
*arg1
= (wxDC
*) 0 ;
20505 PyObject
*swig_obj
[1] ;
20507 if (!args
) SWIG_fail
;
20508 swig_obj
[0] = args
;
20509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 (arg1
)->ResetBoundingBox();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= SWIG_Py_Void();
20527 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20528 PyObject
*resultobj
= 0;
20529 wxDC
*arg1
= (wxDC
*) 0 ;
20533 PyObject
*swig_obj
[1] ;
20535 if (!args
) SWIG_fail
;
20536 swig_obj
[0] = args
;
20537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20538 if (!SWIG_IsOK(res1
)) {
20539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
20541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (int)((wxDC
const *)arg1
)->MinX();
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_From_int(static_cast< int >(result
));
20555 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20556 PyObject
*resultobj
= 0;
20557 wxDC
*arg1
= (wxDC
*) 0 ;
20561 PyObject
*swig_obj
[1] ;
20563 if (!args
) SWIG_fail
;
20564 swig_obj
[0] = args
;
20565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
20569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20572 result
= (int)((wxDC
const *)arg1
)->MaxX();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_From_int(static_cast< int >(result
));
20583 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20584 PyObject
*resultobj
= 0;
20585 wxDC
*arg1
= (wxDC
*) 0 ;
20589 PyObject
*swig_obj
[1] ;
20591 if (!args
) SWIG_fail
;
20592 swig_obj
[0] = args
;
20593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
20597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (int)((wxDC
const *)arg1
)->MinY();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_From_int(static_cast< int >(result
));
20611 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20612 PyObject
*resultobj
= 0;
20613 wxDC
*arg1
= (wxDC
*) 0 ;
20617 PyObject
*swig_obj
[1] ;
20619 if (!args
) SWIG_fail
;
20620 swig_obj
[0] = args
;
20621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20622 if (!SWIG_IsOK(res1
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
20625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 result
= (int)((wxDC
const *)arg1
)->MaxY();
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_From_int(static_cast< int >(result
));
20639 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20640 PyObject
*resultobj
= 0;
20641 wxDC
*arg1
= (wxDC
*) 0 ;
20642 int *arg2
= (int *) 0 ;
20643 int *arg3
= (int *) 0 ;
20644 int *arg4
= (int *) 0 ;
20645 int *arg5
= (int *) 0 ;
20649 int res2
= SWIG_TMPOBJ
;
20651 int res3
= SWIG_TMPOBJ
;
20653 int res4
= SWIG_TMPOBJ
;
20655 int res5
= SWIG_TMPOBJ
;
20656 PyObject
*swig_obj
[1] ;
20662 if (!args
) SWIG_fail
;
20663 swig_obj
[0] = args
;
20664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20665 if (!SWIG_IsOK(res1
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
20668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_Py_Void();
20676 if (SWIG_IsTmpObj(res2
)) {
20677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20679 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20682 if (SWIG_IsTmpObj(res3
)) {
20683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20685 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20688 if (SWIG_IsTmpObj(res4
)) {
20689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20691 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20694 if (SWIG_IsTmpObj(res5
)) {
20695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20697 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20706 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20707 PyObject
*resultobj
= 0;
20708 wxDC
*arg1
= (wxDC
*) 0 ;
20712 PyObject
*swig_obj
[1] ;
20714 if (!args
) SWIG_fail
;
20715 swig_obj
[0] = args
;
20716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20717 if (!SWIG_IsOK(res1
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
20720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (long)(arg1
)->GetHDC();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_From_long(static_cast< long >(result
));
20734 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxDC
*arg1
= (wxDC
*) 0 ;
20737 PyObject
*arg2
= (PyObject
*) 0 ;
20738 PyObject
*arg3
= (PyObject
*) 0 ;
20739 PyObject
*arg4
= (PyObject
*) 0 ;
20740 PyObject
*result
= 0 ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 PyObject
* obj2
= 0 ;
20746 PyObject
* obj3
= 0 ;
20747 char * kwnames
[] = {
20748 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
20756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= result
;
20773 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
= 0;
20775 wxDC
*arg1
= (wxDC
*) 0 ;
20776 PyObject
*arg2
= (PyObject
*) 0 ;
20777 PyObject
*arg3
= (PyObject
*) 0 ;
20778 PyObject
*arg4
= (PyObject
*) 0 ;
20779 PyObject
*result
= 0 ;
20782 PyObject
* obj0
= 0 ;
20783 PyObject
* obj1
= 0 ;
20784 PyObject
* obj2
= 0 ;
20785 PyObject
* obj3
= 0 ;
20786 char * kwnames
[] = {
20787 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
20795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= result
;
20812 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
= 0;
20814 wxDC
*arg1
= (wxDC
*) 0 ;
20815 PyObject
*arg2
= (PyObject
*) 0 ;
20816 PyObject
*arg3
= (PyObject
*) 0 ;
20817 PyObject
*arg4
= (PyObject
*) 0 ;
20818 PyObject
*result
= 0 ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 PyObject
* obj2
= 0 ;
20824 PyObject
* obj3
= 0 ;
20825 char * kwnames
[] = {
20826 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20831 if (!SWIG_IsOK(res1
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
20834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= result
;
20851 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
= 0;
20853 wxDC
*arg1
= (wxDC
*) 0 ;
20854 PyObject
*arg2
= (PyObject
*) 0 ;
20855 PyObject
*arg3
= (PyObject
*) 0 ;
20856 PyObject
*arg4
= (PyObject
*) 0 ;
20857 PyObject
*result
= 0 ;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 PyObject
* obj2
= 0 ;
20863 PyObject
* obj3
= 0 ;
20864 char * kwnames
[] = {
20865 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
20873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20879 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= result
;
20890 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxDC
*arg1
= (wxDC
*) 0 ;
20893 PyObject
*arg2
= (PyObject
*) 0 ;
20894 PyObject
*arg3
= (PyObject
*) 0 ;
20895 PyObject
*arg4
= (PyObject
*) 0 ;
20896 PyObject
*result
= 0 ;
20899 PyObject
* obj0
= 0 ;
20900 PyObject
* obj1
= 0 ;
20901 PyObject
* obj2
= 0 ;
20902 PyObject
* obj3
= 0 ;
20903 char * kwnames
[] = {
20904 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
20907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
;
20929 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
= 0;
20931 wxDC
*arg1
= (wxDC
*) 0 ;
20932 PyObject
*arg2
= (PyObject
*) 0 ;
20933 PyObject
*arg3
= (PyObject
*) 0 ;
20934 PyObject
*arg4
= (PyObject
*) 0 ;
20935 PyObject
*arg5
= (PyObject
*) 0 ;
20936 PyObject
*result
= 0 ;
20939 PyObject
* obj0
= 0 ;
20940 PyObject
* obj1
= 0 ;
20941 PyObject
* obj2
= 0 ;
20942 PyObject
* obj3
= 0 ;
20943 PyObject
* obj4
= 0 ;
20944 char * kwnames
[] = {
20945 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
20948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20950 if (!SWIG_IsOK(res1
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
20953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= result
;
20971 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20974 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
20975 return SWIG_Py_Void();
20978 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20979 PyObject
*resultobj
= 0;
20980 wxMemoryDC
*result
= 0 ;
20982 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
20984 if (!wxPyCheckForApp()) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (wxMemoryDC
*)new wxMemoryDC();
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
20997 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxDC
*arg1
= (wxDC
*) 0 ;
21000 wxMemoryDC
*result
= 0 ;
21003 PyObject
* obj0
= 0 ;
21004 char * kwnames
[] = {
21005 (char *) "oldDC", NULL
21008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
21009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
21013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21015 if (!wxPyCheckForApp()) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
21028 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= 0;
21030 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
21031 wxBitmap
*arg2
= 0 ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "bitmap", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
21047 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
21048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21049 if (!SWIG_IsOK(res2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21055 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= SWIG_Py_Void();
21069 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21072 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
21073 return SWIG_Py_Void();
21076 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21077 return SWIG_Python_InitShadowInstance(args
);
21080 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21081 PyObject
*resultobj
= 0;
21082 wxDC
*arg1
= (wxDC
*) 0 ;
21083 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21084 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21085 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21086 wxBufferedDC
*result
= 0 ;
21094 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
21095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21096 if (!SWIG_IsOK(res1
)) {
21097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21101 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21102 if (!SWIG_IsOK(res2
)) {
21103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21108 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21111 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21112 if (!SWIG_IsOK(ecode3
)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21115 arg3
= static_cast< int >(val3
);
21118 if (!wxPyCheckForApp()) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21131 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
21132 PyObject
*resultobj
= 0;
21133 wxDC
*arg1
= (wxDC
*) 0 ;
21135 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21136 wxBufferedDC
*result
= 0 ;
21143 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
21144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21145 if (!SWIG_IsOK(res1
)) {
21146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
21148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21151 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
21154 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
21155 if (!SWIG_IsOK(ecode3
)) {
21156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
21158 arg3
= static_cast< int >(val3
);
21161 if (!wxPyCheckForApp()) SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
21174 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
21178 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
21180 if ((argc
>= 1) && (argc
<= 3)) {
21184 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
21185 _v
= SWIG_CheckState(res
);
21187 if (!_v
) goto check_1
;
21189 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
21193 if ((argc
>= 2) && (argc
<= 3)) {
21194 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
21198 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
21203 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21204 PyObject
*resultobj
= 0;
21205 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21208 PyObject
*swig_obj
[1] ;
21210 if (!args
) SWIG_fail
;
21211 swig_obj
[0] = args
;
21212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
21213 if (!SWIG_IsOK(res1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21216 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 resultobj
= SWIG_Py_Void();
21231 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21232 PyObject
*resultobj
= 0;
21233 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
21236 PyObject
*swig_obj
[1] ;
21238 if (!args
) SWIG_fail
;
21239 swig_obj
[0] = args
;
21240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
21241 if (!SWIG_IsOK(res1
)) {
21242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
21244 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= SWIG_Py_Void();
21258 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21261 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
21262 return SWIG_Py_Void();
21265 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21266 return SWIG_Python_InitShadowInstance(args
);
21269 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
= 0;
21271 wxWindow
*arg1
= (wxWindow
*) 0 ;
21272 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
21273 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
21274 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
21275 wxBufferedPaintDC
*result
= 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 PyObject
* obj2
= 0 ;
21285 char * kwnames
[] = {
21286 (char *) "window",(char *) "buffer",(char *) "style", NULL
21289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21291 if (!SWIG_IsOK(res1
)) {
21292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
21297 if (!SWIG_IsOK(res2
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
21303 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
21306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21307 if (!SWIG_IsOK(ecode3
)) {
21308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
21310 arg3
= static_cast< int >(val3
);
21313 if (!wxPyCheckForApp()) SWIG_fail
;
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
21326 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21329 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
21330 return SWIG_Py_Void();
21333 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21334 return SWIG_Python_InitShadowInstance(args
);
21337 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21338 PyObject
*resultobj
= 0;
21339 wxScreenDC
*result
= 0 ;
21341 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
21343 if (!wxPyCheckForApp()) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 result
= (wxScreenDC
*)new wxScreenDC();
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
21356 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= 0;
21358 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21359 wxWindow
*arg2
= (wxWindow
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char * kwnames
[] = {
21368 (char *) "self",(char *) "window", NULL
21371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21376 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21378 if (!SWIG_IsOK(res2
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
21381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21397 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= 0;
21399 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21400 wxRect
*arg2
= (wxRect
*) NULL
;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 char * kwnames
[] = {
21409 (char *) "self",(char *) "rect", NULL
21412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21417 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
21420 if (!SWIG_IsOK(res2
)) {
21421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
21423 arg2
= reinterpret_cast< wxRect
* >(argp2
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21440 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21441 PyObject
*resultobj
= 0;
21442 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
21446 PyObject
*swig_obj
[1] ;
21448 if (!args
) SWIG_fail
;
21449 swig_obj
[0] = args
;
21450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
21451 if (!SWIG_IsOK(res1
)) {
21452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
21454 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (bool)(arg1
)->EndDrawingOnTop();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21470 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21473 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
21474 return SWIG_Py_Void();
21477 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21478 return SWIG_Python_InitShadowInstance(args
);
21481 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
= 0;
21483 wxWindow
*arg1
= (wxWindow
*) 0 ;
21484 wxClientDC
*result
= 0 ;
21487 PyObject
* obj0
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "win", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
21493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21494 if (!SWIG_IsOK(res1
)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21499 if (!wxPyCheckForApp()) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (wxClientDC
*)new wxClientDC(arg1
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
21512 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21515 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
21516 return SWIG_Py_Void();
21519 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21520 return SWIG_Python_InitShadowInstance(args
);
21523 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
= 0;
21525 wxWindow
*arg1
= (wxWindow
*) 0 ;
21526 wxPaintDC
*result
= 0 ;
21529 PyObject
* obj0
= 0 ;
21530 char * kwnames
[] = {
21531 (char *) "win", NULL
21534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
21535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21536 if (!SWIG_IsOK(res1
)) {
21537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21541 if (!wxPyCheckForApp()) SWIG_fail
;
21542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
21554 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21556 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21557 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
21558 return SWIG_Py_Void();
21561 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21562 return SWIG_Python_InitShadowInstance(args
);
21565 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
= 0;
21567 wxWindow
*arg1
= (wxWindow
*) 0 ;
21568 wxWindowDC
*result
= 0 ;
21571 PyObject
* obj0
= 0 ;
21572 char * kwnames
[] = {
21573 (char *) "win", NULL
21576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
21577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21578 if (!SWIG_IsOK(res1
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
21581 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21583 if (!wxPyCheckForApp()) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
21596 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21599 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
21600 return SWIG_Py_Void();
21603 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21604 return SWIG_Python_InitShadowInstance(args
);
21607 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
= 0;
21611 wxMirrorDC
*result
= 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char * kwnames
[] = {
21619 (char *) "dc",(char *) "mirror", NULL
21622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21623 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
21624 if (!SWIG_IsOK(res1
)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
21630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21631 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21632 if (!SWIG_IsOK(ecode2
)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
21635 arg2
= static_cast< bool >(val2
);
21637 if (!wxPyCheckForApp()) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
21650 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21653 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
21654 return SWIG_Py_Void();
21657 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 return SWIG_Python_InitShadowInstance(args
);
21661 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
= 0;
21663 wxPrintData
*arg1
= 0 ;
21664 wxPostScriptDC
*result
= 0 ;
21667 PyObject
* obj0
= 0 ;
21668 char * kwnames
[] = {
21669 (char *) "printData", NULL
21672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
21673 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21674 if (!SWIG_IsOK(res1
)) {
21675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
21680 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
21682 if (!wxPyCheckForApp()) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
21695 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 PyObject
*resultobj
= 0;
21697 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21698 wxPrintData
*result
= 0 ;
21701 PyObject
*swig_obj
[1] ;
21703 if (!args
) SWIG_fail
;
21704 swig_obj
[0] = args
;
21705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21709 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21714 result
= (wxPrintData
*) &_result_ref
;
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
21726 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
21729 wxPrintData
*arg2
= 0 ;
21734 PyObject
* obj0
= 0 ;
21735 PyObject
* obj1
= 0 ;
21736 char * kwnames
[] = {
21737 (char *) "self",(char *) "data", NULL
21740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
21742 if (!SWIG_IsOK(res1
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
21745 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
21746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
21747 if (!SWIG_IsOK(res2
)) {
21748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
21753 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= SWIG_Py_Void();
21767 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21768 PyObject
*resultobj
= 0;
21772 PyObject
* obj0
= 0 ;
21773 char * kwnames
[] = {
21774 (char *) "ppi", NULL
21777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
21778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21779 if (!SWIG_IsOK(ecode1
)) {
21780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
21782 arg1
= static_cast< int >(val1
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 wxPostScriptDC::SetResolution(arg1
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_Py_Void();
21796 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21797 PyObject
*resultobj
= 0;
21800 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 result
= (int)wxPostScriptDC::GetResolution();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= SWIG_From_int(static_cast< int >(result
));
21814 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21817 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
21818 return SWIG_Py_Void();
21821 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 return SWIG_Python_InitShadowInstance(args
);
21825 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
= 0;
21827 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21828 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21829 wxMetaFile
*result
= 0 ;
21830 bool temp1
= false ;
21831 PyObject
* obj0
= 0 ;
21832 char * kwnames
[] = {
21833 (char *) "filename", NULL
21836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
21839 arg1
= wxString_in_helper(obj0
);
21840 if (arg1
== NULL
) SWIG_fail
;
21845 if (!wxPyCheckForApp()) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
21866 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21867 PyObject
*resultobj
= 0;
21868 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21871 PyObject
*swig_obj
[1] ;
21873 if (!args
) SWIG_fail
;
21874 swig_obj
[0] = args
;
21875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
21876 if (!SWIG_IsOK(res1
)) {
21877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21879 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_Py_Void();
21894 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21895 PyObject
*resultobj
= 0;
21896 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21900 PyObject
*swig_obj
[1] ;
21902 if (!args
) SWIG_fail
;
21903 swig_obj
[0] = args
;
21904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21905 if (!SWIG_IsOK(res1
)) {
21906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21908 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (bool)(arg1
)->Ok();
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21924 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
= 0;
21926 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21927 int arg2
= (int) 0 ;
21928 int arg3
= (int) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 PyObject
* obj2
= 0 ;
21939 char * kwnames
[] = {
21940 (char *) "self",(char *) "width",(char *) "height", NULL
21943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21945 if (!SWIG_IsOK(res1
)) {
21946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21948 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21951 if (!SWIG_IsOK(ecode2
)) {
21952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
21954 arg2
= static_cast< int >(val2
);
21957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21958 if (!SWIG_IsOK(ecode3
)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
21961 arg3
= static_cast< int >(val3
);
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21978 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 PyObject
*resultobj
= 0;
21980 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
21984 PyObject
*swig_obj
[1] ;
21986 if (!args
) SWIG_fail
;
21987 swig_obj
[0] = args
;
21988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
21989 if (!SWIG_IsOK(res1
)) {
21990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
21992 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (arg1
)->GetSize();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22006 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22007 PyObject
*resultobj
= 0;
22008 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22012 PyObject
*swig_obj
[1] ;
22014 if (!args
) SWIG_fail
;
22015 swig_obj
[0] = args
;
22016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22017 if (!SWIG_IsOK(res1
)) {
22018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22020 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (int)(arg1
)->GetWidth();
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 resultobj
= SWIG_From_int(static_cast< int >(result
));
22034 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22035 PyObject
*resultobj
= 0;
22036 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22040 PyObject
*swig_obj
[1] ;
22042 if (!args
) SWIG_fail
;
22043 swig_obj
[0] = args
;
22044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22045 if (!SWIG_IsOK(res1
)) {
22046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
22048 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22051 result
= (int)(arg1
)->GetHeight();
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_From_int(static_cast< int >(result
));
22062 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 PyObject
*resultobj
= 0;
22064 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
22065 wxString
*result
= 0 ;
22068 PyObject
*swig_obj
[1] ;
22070 if (!args
) SWIG_fail
;
22071 swig_obj
[0] = args
;
22072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
22076 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
22081 result
= (wxString
*) &_result_ref
;
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22099 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22102 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
22103 return SWIG_Py_Void();
22106 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22107 return SWIG_Python_InitShadowInstance(args
);
22110 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
= 0;
22112 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22113 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22114 int arg2
= (int) 0 ;
22115 int arg3
= (int) 0 ;
22116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22118 wxMetaFileDC
*result
= 0 ;
22119 bool temp1
= false ;
22124 bool temp4
= false ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 PyObject
* obj2
= 0 ;
22128 PyObject
* obj3
= 0 ;
22129 char * kwnames
[] = {
22130 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
22133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22136 arg1
= wxString_in_helper(obj0
);
22137 if (arg1
== NULL
) SWIG_fail
;
22142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22143 if (!SWIG_IsOK(ecode2
)) {
22144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
22146 arg2
= static_cast< int >(val2
);
22149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22150 if (!SWIG_IsOK(ecode3
)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
22153 arg3
= static_cast< int >(val3
);
22157 arg4
= wxString_in_helper(obj3
);
22158 if (arg4
== NULL
) SWIG_fail
;
22163 if (!wxPyCheckForApp()) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
22192 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22193 PyObject
*resultobj
= 0;
22194 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
22195 wxMetaFile
*result
= 0 ;
22198 PyObject
*swig_obj
[1] ;
22200 if (!args
) SWIG_fail
;
22201 swig_obj
[0] = args
;
22202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
22206 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (wxMetaFile
*)(arg1
)->Close();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
22220 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22223 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
22224 return SWIG_Py_Void();
22227 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 return SWIG_Python_InitShadowInstance(args
);
22231 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
= 0;
22233 wxPrintData
*arg1
= 0 ;
22234 wxPrinterDC
*result
= 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char * kwnames
[] = {
22239 (char *) "printData", NULL
22242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
22243 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
22244 if (!SWIG_IsOK(res1
)) {
22245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
22250 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
22252 if (!wxPyCheckForApp()) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
22265 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22268 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
22269 return SWIG_Py_Void();
22272 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22273 return SWIG_Python_InitShadowInstance(args
);
22276 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
= 0;
22280 int arg3
= (int) true ;
22281 int arg4
= (int) 1 ;
22282 wxImageList
*result
= 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj2
= 0 ;
22294 PyObject
* obj3
= 0 ;
22295 char * kwnames
[] = {
22296 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
22299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22300 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22301 if (!SWIG_IsOK(ecode1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
22304 arg1
= static_cast< int >(val1
);
22305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22306 if (!SWIG_IsOK(ecode2
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
22309 arg2
= static_cast< int >(val2
);
22311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22312 if (!SWIG_IsOK(ecode3
)) {
22313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
22315 arg3
= static_cast< int >(val3
);
22318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22319 if (!SWIG_IsOK(ecode4
)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
22322 arg4
= static_cast< int >(val4
);
22325 if (!wxPyCheckForApp()) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
22328 wxPyEndAllowThreads(__tstate
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
22340 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22341 PyObject
*resultobj
= 0;
22342 wxImageList
*arg1
= (wxImageList
*) 0 ;
22345 PyObject
*swig_obj
[1] ;
22347 if (!args
) SWIG_fail
;
22348 swig_obj
[0] = args
;
22349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
22353 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxImageList
*arg1
= (wxImageList
*) 0 ;
22371 wxBitmap
*arg2
= 0 ;
22372 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
22373 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 PyObject
* obj2
= 0 ;
22384 char * kwnames
[] = {
22385 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
22388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22390 if (!SWIG_IsOK(res1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
22393 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22395 if (!SWIG_IsOK(res2
)) {
22396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22401 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22403 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22404 if (!SWIG_IsOK(res3
)) {
22405 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22410 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_From_int(static_cast< int >(result
));
22425 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= 0;
22427 wxImageList
*arg1
= (wxImageList
*) 0 ;
22428 wxBitmap
*arg2
= 0 ;
22429 wxColour
*arg3
= 0 ;
22436 PyObject
* obj0
= 0 ;
22437 PyObject
* obj1
= 0 ;
22438 PyObject
* obj2
= 0 ;
22439 char * kwnames
[] = {
22440 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
22443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
22448 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22450 if (!SWIG_IsOK(res2
)) {
22451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22456 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22459 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= SWIG_From_int(static_cast< int >(result
));
22474 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= 0;
22476 wxImageList
*arg1
= (wxImageList
*) 0 ;
22483 PyObject
* obj0
= 0 ;
22484 PyObject
* obj1
= 0 ;
22485 char * kwnames
[] = {
22486 (char *) "self",(char *) "icon", NULL
22489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
22494 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
22496 if (!SWIG_IsOK(res2
)) {
22497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
22502 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_From_int(static_cast< int >(result
));
22516 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
= 0;
22518 wxImageList
*arg1
= (wxImageList
*) 0 ;
22520 SwigValueWrapper
<wxBitmap
> result
;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "self",(char *) "index", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
22536 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22538 if (!SWIG_IsOK(ecode2
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
22541 arg2
= static_cast< int >(val2
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22555 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxImageList
*arg1
= (wxImageList
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char * kwnames
[] = {
22567 (char *) "self",(char *) "index", NULL
22570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
22575 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22577 if (!SWIG_IsOK(ecode2
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
22580 arg2
= static_cast< int >(val2
);
22582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
22594 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
= 0;
22596 wxImageList
*arg1
= (wxImageList
*) 0 ;
22598 wxBitmap
*arg3
= 0 ;
22599 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
22600 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 PyObject
* obj2
= 0 ;
22613 PyObject
* obj3
= 0 ;
22614 char * kwnames
[] = {
22615 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
22618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22620 if (!SWIG_IsOK(res1
)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
22623 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22625 if (!SWIG_IsOK(ecode2
)) {
22626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
22628 arg2
= static_cast< int >(val2
);
22629 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22630 if (!SWIG_IsOK(res3
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
22636 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
22638 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22639 if (!SWIG_IsOK(res4
)) {
22640 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22645 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22662 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22664 wxImageList
*arg1
= (wxImageList
*) 0 ;
22669 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
22670 bool arg7
= (bool) (bool)false ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 PyObject
* obj3
= 0 ;
22690 PyObject
* obj4
= 0 ;
22691 PyObject
* obj5
= 0 ;
22692 PyObject
* obj6
= 0 ;
22693 char * kwnames
[] = {
22694 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
22697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
22702 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22704 if (!SWIG_IsOK(ecode2
)) {
22705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
22707 arg2
= static_cast< int >(val2
);
22708 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
22709 if (!SWIG_IsOK(res3
)) {
22710 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
22715 arg3
= reinterpret_cast< wxDC
* >(argp3
);
22716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22717 if (!SWIG_IsOK(ecode4
)) {
22718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
22720 arg4
= static_cast< int >(val4
);
22721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22722 if (!SWIG_IsOK(ecode5
)) {
22723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
22725 arg5
= static_cast< int >(val5
);
22727 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22728 if (!SWIG_IsOK(ecode6
)) {
22729 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
22731 arg6
= static_cast< int >(val6
);
22734 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
22735 if (!SWIG_IsOK(ecode7
)) {
22736 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
22738 arg7
= static_cast< bool >(val7
);
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22755 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22756 PyObject
*resultobj
= 0;
22757 wxImageList
*arg1
= (wxImageList
*) 0 ;
22761 PyObject
*swig_obj
[1] ;
22763 if (!args
) SWIG_fail
;
22764 swig_obj
[0] = args
;
22765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22766 if (!SWIG_IsOK(res1
)) {
22767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
22769 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 result
= (int)(arg1
)->GetImageCount();
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= SWIG_From_int(static_cast< int >(result
));
22783 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
= 0;
22785 wxImageList
*arg1
= (wxImageList
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char * kwnames
[] = {
22795 (char *) "self",(char *) "index", NULL
22798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
22803 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22805 if (!SWIG_IsOK(ecode2
)) {
22806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
22808 arg2
= static_cast< int >(val2
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (bool)(arg1
)->Remove(arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22824 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22825 PyObject
*resultobj
= 0;
22826 wxImageList
*arg1
= (wxImageList
*) 0 ;
22830 PyObject
*swig_obj
[1] ;
22832 if (!args
) SWIG_fail
;
22833 swig_obj
[0] = args
;
22834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22835 if (!SWIG_IsOK(res1
)) {
22836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
22838 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (bool)(arg1
)->RemoveAll();
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22854 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
= 0;
22856 wxImageList
*arg1
= (wxImageList
*) 0 ;
22865 int res3
= SWIG_TMPOBJ
;
22867 int res4
= SWIG_TMPOBJ
;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char * kwnames
[] = {
22871 (char *) "self",(char *) "index", NULL
22876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
22881 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
22882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22883 if (!SWIG_IsOK(ecode2
)) {
22884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
22886 arg2
= static_cast< int >(val2
);
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_Py_Void();
22894 if (SWIG_IsTmpObj(res3
)) {
22895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22900 if (SWIG_IsTmpObj(res4
)) {
22901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22903 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22912 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22915 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
22916 return SWIG_Py_Void();
22919 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22920 return SWIG_Python_InitShadowInstance(args
);
22923 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22924 PyObject
*resultobj
= 0;
22925 wxStockGDI
*result
= 0 ;
22927 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (wxStockGDI
*)new wxStockGDI();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
22941 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22942 PyObject
*resultobj
= 0;
22943 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
22946 PyObject
*swig_obj
[1] ;
22948 if (!args
) SWIG_fail
;
22949 swig_obj
[0] = args
;
22950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
22951 if (!SWIG_IsOK(res1
)) {
22952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
22954 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_Py_Void();
22969 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22970 PyObject
*resultobj
= 0;
22972 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
22974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 wxStockGDI::DeleteAll();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 resultobj
= SWIG_Py_Void();
22986 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22987 PyObject
*resultobj
= 0;
22988 wxStockGDI
*result
= 0 ;
22990 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 wxStockGDI
&_result_ref
= wxStockGDI::instance();
22995 result
= (wxStockGDI
*) &_result_ref
;
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23007 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
= 0;
23009 wxStockGDI::Item arg1
;
23010 wxBrush
*result
= 0 ;
23013 PyObject
* obj0
= 0 ;
23014 char * kwnames
[] = {
23015 (char *) "item", NULL
23018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
23019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23020 if (!SWIG_IsOK(ecode1
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23023 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23037 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
= 0;
23039 wxStockGDI::Item arg1
;
23040 wxColour
*result
= 0 ;
23043 PyObject
* obj0
= 0 ;
23044 char * kwnames
[] = {
23045 (char *) "item", NULL
23048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
23049 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23050 if (!SWIG_IsOK(ecode1
)) {
23051 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23053 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
23067 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
= 0;
23069 wxStockGDI::Item arg1
;
23070 wxCursor
*result
= 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char * kwnames
[] = {
23075 (char *) "item", NULL
23078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
23079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23080 if (!SWIG_IsOK(ecode1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23083 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
23097 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
= 0;
23099 wxStockGDI::Item arg1
;
23100 wxPen
*result
= 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char * kwnames
[] = {
23105 (char *) "item", NULL
23108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
23109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23110 if (!SWIG_IsOK(ecode1
)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
23113 arg1
= static_cast< wxStockGDI::Item
>(val1
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23127 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
= 0;
23129 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
23130 wxStockGDI::Item arg2
;
23131 wxFont
*result
= 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 char * kwnames
[] = {
23139 (char *) "self",(char *) "item", NULL
23142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
23147 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
23148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23149 if (!SWIG_IsOK(ecode2
)) {
23150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
23152 arg2
= static_cast< wxStockGDI::Item
>(val2
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23166 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23169 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
23170 return SWIG_Py_Void();
23173 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 return SWIG_Python_InitShadowInstance(args
);
23177 SWIGINTERN
int NullBitmap_set(PyObject
*) {
23178 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
23183 SWIGINTERN PyObject
*NullBitmap_get(void) {
23184 PyObject
*pyobj
= 0;
23186 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
23191 SWIGINTERN
int NullIcon_set(PyObject
*) {
23192 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
23197 SWIGINTERN PyObject
*NullIcon_get(void) {
23198 PyObject
*pyobj
= 0;
23200 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
23205 SWIGINTERN
int NullCursor_set(PyObject
*) {
23206 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
23211 SWIGINTERN PyObject
*NullCursor_get(void) {
23212 PyObject
*pyobj
= 0;
23214 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
23219 SWIGINTERN
int NullPen_set(PyObject
*) {
23220 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
23225 SWIGINTERN PyObject
*NullPen_get(void) {
23226 PyObject
*pyobj
= 0;
23228 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
23233 SWIGINTERN
int NullBrush_set(PyObject
*) {
23234 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
23239 SWIGINTERN PyObject
*NullBrush_get(void) {
23240 PyObject
*pyobj
= 0;
23242 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
23247 SWIGINTERN
int NullPalette_set(PyObject
*) {
23248 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
23253 SWIGINTERN PyObject
*NullPalette_get(void) {
23254 PyObject
*pyobj
= 0;
23256 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
23261 SWIGINTERN
int NullFont_set(PyObject
*) {
23262 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
23267 SWIGINTERN PyObject
*NullFont_get(void) {
23268 PyObject
*pyobj
= 0;
23270 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
23275 SWIGINTERN
int NullColour_set(PyObject
*) {
23276 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
23281 SWIGINTERN PyObject
*NullColour_get(void) {
23282 PyObject
*pyobj
= 0;
23284 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
23289 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23290 PyObject
*resultobj
= 0;
23291 wxGDIObjListBase
*result
= 0 ;
23293 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
23307 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23308 PyObject
*resultobj
= 0;
23309 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
23312 PyObject
*swig_obj
[1] ;
23314 if (!args
) SWIG_fail
;
23315 swig_obj
[0] = args
;
23316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
23320 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_Py_Void();
23335 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23338 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
23339 return SWIG_Py_Void();
23342 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 return SWIG_Python_InitShadowInstance(args
);
23346 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= 0;
23348 wxPenList
*arg1
= (wxPenList
*) 0 ;
23349 wxColour
*arg2
= 0 ;
23352 wxPen
*result
= 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 PyObject
* obj2
= 0 ;
23363 PyObject
* obj3
= 0 ;
23364 char * kwnames
[] = {
23365 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
23368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23370 if (!SWIG_IsOK(res1
)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23373 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23379 if (!SWIG_IsOK(ecode3
)) {
23380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
23382 arg3
= static_cast< int >(val3
);
23383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23384 if (!SWIG_IsOK(ecode4
)) {
23385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
23387 arg4
= static_cast< int >(val4
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
23401 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxPenList
*arg1
= (wxPenList
*) 0 ;
23404 wxPen
*arg2
= (wxPen
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 char * kwnames
[] = {
23412 (char *) "self",(char *) "pen", NULL
23415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
23420 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23422 if (!SWIG_IsOK(res2
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
23425 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 (arg1
)->AddPen(arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_Py_Void();
23439 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
= 0;
23441 wxPenList
*arg1
= (wxPenList
*) 0 ;
23442 wxPen
*arg2
= (wxPen
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "self",(char *) "pen", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
23458 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
23459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
23460 if (!SWIG_IsOK(res2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
23463 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->RemovePen(arg2
);
23467 wxPyEndAllowThreads(__tstate
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= SWIG_Py_Void();
23477 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23480 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
23481 return SWIG_Py_Void();
23484 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
= 0;
23486 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23487 wxColour
*arg2
= 0 ;
23488 int arg3
= (int) wxSOLID
;
23489 wxBrush
*result
= 0 ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 PyObject
* obj2
= 0 ;
23498 char * kwnames
[] = {
23499 (char *) "self",(char *) "colour",(char *) "style", NULL
23502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23504 if (!SWIG_IsOK(res1
)) {
23505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23507 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23514 if (!SWIG_IsOK(ecode3
)) {
23515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
23517 arg3
= static_cast< int >(val3
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
23532 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= 0;
23534 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23535 wxBrush
*arg2
= (wxBrush
*) 0 ;
23540 PyObject
* obj0
= 0 ;
23541 PyObject
* obj1
= 0 ;
23542 char * kwnames
[] = {
23543 (char *) "self",(char *) "brush", NULL
23546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23551 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23553 if (!SWIG_IsOK(res2
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23556 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->AddBrush(arg2
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_Py_Void();
23570 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
= 0;
23572 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
23573 wxBrush
*arg2
= (wxBrush
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char * kwnames
[] = {
23581 (char *) "self",(char *) "brush", NULL
23584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
23586 if (!SWIG_IsOK(res1
)) {
23587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
23589 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
23590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
23591 if (!SWIG_IsOK(res2
)) {
23592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
23594 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->RemoveBrush(arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_Py_Void();
23608 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23611 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
23612 return SWIG_Py_Void();
23615 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= 0;
23617 wxFontList
*arg1
= (wxFontList
*) 0 ;
23622 bool arg6
= (bool) false ;
23623 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23624 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23625 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
23626 wxFont
*result
= 0 ;
23639 bool temp7
= false ;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 PyObject
* obj2
= 0 ;
23645 PyObject
* obj3
= 0 ;
23646 PyObject
* obj4
= 0 ;
23647 PyObject
* obj5
= 0 ;
23648 PyObject
* obj6
= 0 ;
23649 PyObject
* obj7
= 0 ;
23650 char * kwnames
[] = {
23651 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
23654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23656 if (!SWIG_IsOK(res1
)) {
23657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23659 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23661 if (!SWIG_IsOK(ecode2
)) {
23662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
23664 arg2
= static_cast< int >(val2
);
23665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23666 if (!SWIG_IsOK(ecode3
)) {
23667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
23669 arg3
= static_cast< int >(val3
);
23670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23671 if (!SWIG_IsOK(ecode4
)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
23674 arg4
= static_cast< int >(val4
);
23675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23676 if (!SWIG_IsOK(ecode5
)) {
23677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
23679 arg5
= static_cast< int >(val5
);
23681 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
23682 if (!SWIG_IsOK(ecode6
)) {
23683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
23685 arg6
= static_cast< bool >(val6
);
23689 arg7
= wxString_in_helper(obj6
);
23690 if (arg7
== NULL
) SWIG_fail
;
23695 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23696 if (!SWIG_IsOK(ecode8
)) {
23697 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
23699 arg8
= static_cast< wxFontEncoding
>(val8
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
23722 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
= 0;
23724 wxFontList
*arg1
= (wxFontList
*) 0 ;
23725 wxFont
*arg2
= (wxFont
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char * kwnames
[] = {
23733 (char *) "self",(char *) "font", NULL
23736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23738 if (!SWIG_IsOK(res1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23741 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23743 if (!SWIG_IsOK(res2
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
23746 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 (arg1
)->AddFont(arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_Py_Void();
23760 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
= 0;
23762 wxFontList
*arg1
= (wxFontList
*) 0 ;
23763 wxFont
*arg2
= (wxFont
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 PyObject
* obj1
= 0 ;
23770 char * kwnames
[] = {
23771 (char *) "self",(char *) "font", NULL
23774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
23779 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
23780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
23781 if (!SWIG_IsOK(res2
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
23784 arg2
= reinterpret_cast< wxFont
* >(argp2
);
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 (arg1
)->RemoveFont(arg2
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= SWIG_Py_Void();
23798 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23801 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
23802 return SWIG_Py_Void();
23805 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23806 PyObject
*resultobj
= 0;
23807 wxColourDatabase
*result
= 0 ;
23809 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
23811 if (!wxPyCheckForApp()) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (wxColourDatabase
*)new wxColourDatabase();
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
23824 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23825 PyObject
*resultobj
= 0;
23826 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23829 PyObject
*swig_obj
[1] ;
23831 if (!args
) SWIG_fail
;
23832 swig_obj
[0] = args
;
23833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
23834 if (!SWIG_IsOK(res1
)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23837 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_Py_Void();
23852 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
= 0;
23854 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23855 wxString
*arg2
= 0 ;
23859 bool temp2
= false ;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 char * kwnames
[] = {
23863 (char *) "self",(char *) "name", NULL
23866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23871 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23873 arg2
= wxString_in_helper(obj1
);
23874 if (arg2
== NULL
) SWIG_fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
23898 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
= 0;
23900 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23901 wxColour
*arg2
= 0 ;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 char * kwnames
[] = {
23909 (char *) "self",(char *) "colour", NULL
23912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23914 if (!SWIG_IsOK(res1
)) {
23915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
23917 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23920 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23941 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
= 0;
23943 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23944 wxString
*arg2
= 0 ;
23945 wxColour
*arg3
= 0 ;
23948 bool temp2
= false ;
23950 PyObject
* obj0
= 0 ;
23951 PyObject
* obj1
= 0 ;
23952 PyObject
* obj2
= 0 ;
23953 char * kwnames
[] = {
23954 (char *) "self",(char *) "name",(char *) "colour", NULL
23957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
23959 if (!SWIG_IsOK(res1
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
23962 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
23964 arg2
= wxString_in_helper(obj1
);
23965 if (arg2
== NULL
) SWIG_fail
;
23970 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_Py_Void();
23993 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
= 0;
23995 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
23996 wxString
*arg2
= 0 ;
24002 bool temp2
= false ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 PyObject
* obj2
= 0 ;
24012 PyObject
* obj3
= 0 ;
24013 PyObject
* obj4
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
24023 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
24025 arg2
= wxString_in_helper(obj1
);
24026 if (arg2
== NULL
) SWIG_fail
;
24029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24030 if (!SWIG_IsOK(ecode3
)) {
24031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
24033 arg3
= static_cast< int >(val3
);
24034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24035 if (!SWIG_IsOK(ecode4
)) {
24036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
24038 arg4
= static_cast< int >(val4
);
24039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24040 if (!SWIG_IsOK(ecode5
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
24043 arg5
= static_cast< int >(val5
);
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_Py_Void();
24065 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24068 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
24069 return SWIG_Py_Void();
24072 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24073 return SWIG_Python_InitShadowInstance(args
);
24076 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 PyObject
*resultobj
= 0;
24078 wxFontList
*result
= 0 ;
24080 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (wxFontList
*)_wxPyInitTheFontList();
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
24094 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 PyObject
*resultobj
= 0;
24096 wxPenList
*result
= 0 ;
24098 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (wxPenList
*)_wxPyInitThePenList();
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
24112 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24113 PyObject
*resultobj
= 0;
24114 wxBrushList
*result
= 0 ;
24116 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxBrushList
*)_wxPyInitTheBrushList();
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
24130 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24131 PyObject
*resultobj
= 0;
24132 wxColourDatabase
*result
= 0 ;
24134 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
24148 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24149 PyObject
*resultobj
= 0;
24150 wxEffects
*result
= 0 ;
24152 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 result
= (wxEffects
*)new wxEffects();
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
24166 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24167 PyObject
*resultobj
= 0;
24168 wxEffects
*arg1
= (wxEffects
*) 0 ;
24172 PyObject
*swig_obj
[1] ;
24174 if (!args
) SWIG_fail
;
24175 swig_obj
[0] = args
;
24176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24177 if (!SWIG_IsOK(res1
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24180 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24194 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24195 PyObject
*resultobj
= 0;
24196 wxEffects
*arg1
= (wxEffects
*) 0 ;
24200 PyObject
*swig_obj
[1] ;
24202 if (!args
) SWIG_fail
;
24203 swig_obj
[0] = args
;
24204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24208 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24222 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 PyObject
*resultobj
= 0;
24224 wxEffects
*arg1
= (wxEffects
*) 0 ;
24228 PyObject
*swig_obj
[1] ;
24230 if (!args
) SWIG_fail
;
24231 swig_obj
[0] = args
;
24232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24233 if (!SWIG_IsOK(res1
)) {
24234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
24236 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24250 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24251 PyObject
*resultobj
= 0;
24252 wxEffects
*arg1
= (wxEffects
*) 0 ;
24256 PyObject
*swig_obj
[1] ;
24258 if (!args
) SWIG_fail
;
24259 swig_obj
[0] = args
;
24260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24264 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24278 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24279 PyObject
*resultobj
= 0;
24280 wxEffects
*arg1
= (wxEffects
*) 0 ;
24284 PyObject
*swig_obj
[1] ;
24286 if (!args
) SWIG_fail
;
24287 swig_obj
[0] = args
;
24288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24289 if (!SWIG_IsOK(res1
)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
24292 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
24306 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxEffects
*arg1
= (wxEffects
*) 0 ;
24309 wxColour
*arg2
= 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 char * kwnames
[] = {
24316 (char *) "self",(char *) "c", NULL
24319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24321 if (!SWIG_IsOK(res1
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24324 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_Py_Void();
24342 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24343 PyObject
*resultobj
= 0;
24344 wxEffects
*arg1
= (wxEffects
*) 0 ;
24345 wxColour
*arg2
= 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char * kwnames
[] = {
24352 (char *) "self",(char *) "c", NULL
24355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24360 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= SWIG_Py_Void();
24378 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= 0;
24380 wxEffects
*arg1
= (wxEffects
*) 0 ;
24381 wxColour
*arg2
= 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char * kwnames
[] = {
24388 (char *) "self",(char *) "c", NULL
24391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24393 if (!SWIG_IsOK(res1
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
24396 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 resultobj
= SWIG_Py_Void();
24414 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
= 0;
24416 wxEffects
*arg1
= (wxEffects
*) 0 ;
24417 wxColour
*arg2
= 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 char * kwnames
[] = {
24424 (char *) "self",(char *) "c", NULL
24427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24429 if (!SWIG_IsOK(res1
)) {
24430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24432 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= SWIG_Py_Void();
24450 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
= 0;
24452 wxEffects
*arg1
= (wxEffects
*) 0 ;
24453 wxColour
*arg2
= 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 char * kwnames
[] = {
24460 (char *) "self",(char *) "c", NULL
24463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
24468 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24471 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= SWIG_Py_Void();
24486 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxEffects
*arg1
= (wxEffects
*) 0 ;
24489 wxColour
*arg2
= 0 ;
24490 wxColour
*arg3
= 0 ;
24491 wxColour
*arg4
= 0 ;
24492 wxColour
*arg5
= 0 ;
24493 wxColour
*arg6
= 0 ;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 PyObject
* obj2
= 0 ;
24504 PyObject
* obj3
= 0 ;
24505 PyObject
* obj4
= 0 ;
24506 PyObject
* obj5
= 0 ;
24507 char * kwnames
[] = {
24508 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
24511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24513 if (!SWIG_IsOK(res1
)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
24516 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24519 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24523 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24527 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
24531 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
24535 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= SWIG_Py_Void();
24550 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
= 0;
24552 wxEffects
*arg1
= (wxEffects
*) 0 ;
24555 int arg4
= (int) 1 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 PyObject
* obj2
= 0 ;
24566 PyObject
* obj3
= 0 ;
24567 char * kwnames
[] = {
24568 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
24571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24573 if (!SWIG_IsOK(res1
)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
24576 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
24578 if (!SWIG_IsOK(res2
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
24584 arg2
= reinterpret_cast< wxDC
* >(argp2
);
24587 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
24590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24591 if (!SWIG_IsOK(ecode4
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
24594 arg4
= static_cast< int >(val4
);
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= SWIG_Py_Void();
24609 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
= 0;
24611 wxEffects
*arg1
= (wxEffects
*) 0 ;
24614 wxBitmap
*arg4
= 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 PyObject
* obj2
= 0 ;
24626 PyObject
* obj3
= 0 ;
24627 char * kwnames
[] = {
24628 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
24631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
24633 if (!SWIG_IsOK(res1
)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
24636 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
24639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24642 if (!SWIG_IsOK(res3
)) {
24643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
24648 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24649 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
24650 if (!SWIG_IsOK(res4
)) {
24651 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
24656 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24672 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24675 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
24676 return SWIG_Py_Void();
24679 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24680 return SWIG_Python_InitShadowInstance(args
);
24683 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24688 wxSplitterRenderParams
*result
= 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 PyObject
* obj2
= 0 ;
24698 char * kwnames
[] = {
24699 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
24702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24704 if (!SWIG_IsOK(ecode1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
24707 arg1
= static_cast< int >(val1
);
24708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24709 if (!SWIG_IsOK(ecode2
)) {
24710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
24712 arg2
= static_cast< int >(val2
);
24713 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24714 if (!SWIG_IsOK(ecode3
)) {
24715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
24717 arg3
= static_cast< bool >(val3
);
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
24731 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 PyObject
*resultobj
= 0;
24733 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24736 PyObject
*swig_obj
[1] ;
24738 if (!args
) SWIG_fail
;
24739 swig_obj
[0] = args
;
24740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24744 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_Py_Void();
24759 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24760 PyObject
*resultobj
= 0;
24761 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24765 PyObject
*swig_obj
[1] ;
24767 if (!args
) SWIG_fail
;
24768 swig_obj
[0] = args
;
24769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24773 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24774 result
= (int)(int) ((arg1
)->widthSash
);
24775 resultobj
= SWIG_From_int(static_cast< int >(result
));
24782 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24783 PyObject
*resultobj
= 0;
24784 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24788 PyObject
*swig_obj
[1] ;
24790 if (!args
) SWIG_fail
;
24791 swig_obj
[0] = args
;
24792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24796 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24797 result
= (int)(int) ((arg1
)->border
);
24798 resultobj
= SWIG_From_int(static_cast< int >(result
));
24805 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24806 PyObject
*resultobj
= 0;
24807 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
24811 PyObject
*swig_obj
[1] ;
24813 if (!args
) SWIG_fail
;
24814 swig_obj
[0] = args
;
24815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
24816 if (!SWIG_IsOK(res1
)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
24819 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
24820 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
24821 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
24828 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24831 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
24832 return SWIG_Py_Void();
24835 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24836 return SWIG_Python_InitShadowInstance(args
);
24839 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= 0;
24843 wxRendererVersion
*result
= 0 ;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 char * kwnames
[] = {
24851 (char *) "version_",(char *) "age_", NULL
24854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24856 if (!SWIG_IsOK(ecode1
)) {
24857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
24859 arg1
= static_cast< int >(val1
);
24860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24861 if (!SWIG_IsOK(ecode2
)) {
24862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
24864 arg2
= static_cast< int >(val2
);
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
24878 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24879 PyObject
*resultobj
= 0;
24880 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24883 PyObject
*swig_obj
[1] ;
24885 if (!args
) SWIG_fail
;
24886 swig_obj
[0] = args
;
24887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24891 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_Py_Void();
24906 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
= 0;
24908 wxRendererVersion
*arg1
= 0 ;
24912 PyObject
* obj0
= 0 ;
24913 char * kwnames
[] = {
24914 (char *) "ver", NULL
24917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
24918 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
24919 if (!SWIG_IsOK(res1
)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
24925 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24941 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 PyObject
*resultobj
= 0;
24943 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24947 PyObject
*swig_obj
[1] ;
24949 if (!args
) SWIG_fail
;
24950 swig_obj
[0] = args
;
24951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24952 if (!SWIG_IsOK(res1
)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24955 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24956 result
= (int)(int) ((arg1
)->version
);
24957 resultobj
= SWIG_From_int(static_cast< int >(result
));
24964 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24965 PyObject
*resultobj
= 0;
24966 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
24970 PyObject
*swig_obj
[1] ;
24972 if (!args
) SWIG_fail
;
24973 swig_obj
[0] = args
;
24974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
24978 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
24979 result
= (int)(int) ((arg1
)->age
);
24980 resultobj
= SWIG_From_int(static_cast< int >(result
));
24987 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24990 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
24991 return SWIG_Py_Void();
24994 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24995 return SWIG_Python_InitShadowInstance(args
);
24998 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
= 0;
25000 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25001 wxWindow
*arg2
= (wxWindow
*) 0 ;
25004 int arg5
= (int) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 PyObject
* obj1
= 0 ;
25016 PyObject
* obj2
= 0 ;
25017 PyObject
* obj3
= 0 ;
25018 PyObject
* obj4
= 0 ;
25019 char * kwnames
[] = {
25020 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25028 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25029 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25030 if (!SWIG_IsOK(res2
)) {
25031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25033 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25034 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25035 if (!SWIG_IsOK(res3
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
25041 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25044 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25048 if (!SWIG_IsOK(ecode5
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
25051 arg5
= static_cast< int >(val5
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_Py_Void();
25066 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
= 0;
25068 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25069 wxWindow
*arg2
= (wxWindow
*) 0 ;
25072 int arg5
= (int) 0 ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 PyObject
* obj2
= 0 ;
25085 PyObject
* obj3
= 0 ;
25086 PyObject
* obj4
= 0 ;
25087 char * kwnames
[] = {
25088 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25096 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25098 if (!SWIG_IsOK(res2
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25101 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25102 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25103 if (!SWIG_IsOK(res3
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
25109 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25112 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25115 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25116 if (!SWIG_IsOK(ecode5
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
25119 arg5
= static_cast< int >(val5
);
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_Py_Void();
25134 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
= 0;
25136 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25137 wxWindow
*arg2
= (wxWindow
*) 0 ;
25140 int arg5
= (int) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 PyObject
* obj1
= 0 ;
25152 PyObject
* obj2
= 0 ;
25153 PyObject
* obj3
= 0 ;
25154 PyObject
* obj4
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25164 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25166 if (!SWIG_IsOK(res2
)) {
25167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
25169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25170 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25171 if (!SWIG_IsOK(res3
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
25177 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25180 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25184 if (!SWIG_IsOK(ecode5
)) {
25185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
25187 arg5
= static_cast< int >(val5
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= SWIG_Py_Void();
25202 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
= 0;
25204 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25205 wxWindow
*arg2
= (wxWindow
*) 0 ;
25209 wxOrientation arg6
;
25210 int arg7
= (int) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 PyObject
* obj1
= 0 ;
25226 PyObject
* obj2
= 0 ;
25227 PyObject
* obj3
= 0 ;
25228 PyObject
* obj4
= 0 ;
25229 PyObject
* obj5
= 0 ;
25230 PyObject
* obj6
= 0 ;
25231 char * kwnames
[] = {
25232 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
25235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25237 if (!SWIG_IsOK(res1
)) {
25238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25240 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25242 if (!SWIG_IsOK(res2
)) {
25243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
25245 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25246 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25247 if (!SWIG_IsOK(res3
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
25253 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25256 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25259 if (!SWIG_IsOK(ecode5
)) {
25260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
25262 arg5
= static_cast< int >(val5
);
25263 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25264 if (!SWIG_IsOK(ecode6
)) {
25265 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
25267 arg6
= static_cast< wxOrientation
>(val6
);
25269 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
25270 if (!SWIG_IsOK(ecode7
)) {
25271 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
25273 arg7
= static_cast< int >(val7
);
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= SWIG_Py_Void();
25288 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
= 0;
25290 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25291 wxWindow
*arg2
= (wxWindow
*) 0 ;
25294 int arg5
= (int) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 PyObject
* obj2
= 0 ;
25307 PyObject
* obj3
= 0 ;
25308 PyObject
* obj4
= 0 ;
25309 char * kwnames
[] = {
25310 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25318 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25320 if (!SWIG_IsOK(res2
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25324 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25325 if (!SWIG_IsOK(res3
)) {
25326 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
25331 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25334 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25337 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25338 if (!SWIG_IsOK(ecode5
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
25341 arg5
= static_cast< int >(val5
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_Py_Void();
25356 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
= 0;
25358 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25359 wxWindow
*arg2
= (wxWindow
*) 0 ;
25362 int arg5
= (int) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 PyObject
* obj2
= 0 ;
25375 PyObject
* obj3
= 0 ;
25376 PyObject
* obj4
= 0 ;
25377 char * kwnames
[] = {
25378 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25383 if (!SWIG_IsOK(res1
)) {
25384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25386 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25387 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25388 if (!SWIG_IsOK(res2
)) {
25389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
25391 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25392 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25393 if (!SWIG_IsOK(res3
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
25399 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25402 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25406 if (!SWIG_IsOK(ecode5
)) {
25407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
25409 arg5
= static_cast< int >(val5
);
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_Py_Void();
25424 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
= 0;
25426 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25427 wxWindow
*arg2
= (wxWindow
*) 0 ;
25430 int arg5
= (int) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 PyObject
* obj2
= 0 ;
25443 PyObject
* obj3
= 0 ;
25444 PyObject
* obj4
= 0 ;
25445 char * kwnames
[] = {
25446 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25454 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25455 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25456 if (!SWIG_IsOK(res2
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
25459 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25460 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25461 if (!SWIG_IsOK(res3
)) {
25462 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
25467 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25470 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25474 if (!SWIG_IsOK(ecode5
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
25477 arg5
= static_cast< int >(val5
);
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_Py_Void();
25492 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
= 0;
25494 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25495 wxWindow
*arg2
= (wxWindow
*) 0 ;
25498 int arg5
= (int) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 PyObject
* obj2
= 0 ;
25511 PyObject
* obj3
= 0 ;
25512 PyObject
* obj4
= 0 ;
25513 char * kwnames
[] = {
25514 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25519 if (!SWIG_IsOK(res1
)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25522 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25524 if (!SWIG_IsOK(res2
)) {
25525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
25527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25528 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25529 if (!SWIG_IsOK(res3
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
25535 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25538 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25542 if (!SWIG_IsOK(ecode5
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
25545 arg5
= static_cast< int >(val5
);
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 resultobj
= SWIG_Py_Void();
25560 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
= 0;
25562 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25563 wxWindow
*arg2
= (wxWindow
*) 0 ;
25566 int arg5
= (int) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 PyObject
* obj2
= 0 ;
25579 PyObject
* obj3
= 0 ;
25580 PyObject
* obj4
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25592 if (!SWIG_IsOK(res2
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
25595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25597 if (!SWIG_IsOK(res3
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
25603 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25606 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
25609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25610 if (!SWIG_IsOK(ecode5
)) {
25611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
25613 arg5
= static_cast< int >(val5
);
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25621 resultobj
= SWIG_Py_Void();
25628 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25629 PyObject
*resultobj
= 0;
25630 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25631 wxWindow
*arg2
= (wxWindow
*) 0 ;
25632 SwigValueWrapper
<wxSplitterRenderParams
> result
;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 char * kwnames
[] = {
25640 (char *) "self",(char *) "win", NULL
25643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25648 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25650 if (!SWIG_IsOK(res2
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
25653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
25667 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 PyObject
*resultobj
= 0;
25669 wxRendererNative
*result
= 0 ;
25671 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 wxRendererNative
&_result_ref
= wxRendererNative::Get();
25676 result
= (wxRendererNative
*) &_result_ref
;
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25688 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25689 PyObject
*resultobj
= 0;
25690 wxRendererNative
*result
= 0 ;
25692 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
25697 result
= (wxRendererNative
*) &_result_ref
;
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25709 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25710 PyObject
*resultobj
= 0;
25711 wxRendererNative
*result
= 0 ;
25713 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
25718 result
= (wxRendererNative
*) &_result_ref
;
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25730 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
= 0;
25732 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25733 wxRendererNative
*result
= 0 ;
25736 PyObject
* obj0
= 0 ;
25737 char * kwnames
[] = {
25738 (char *) "renderer", NULL
25741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
25742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25743 if (!SWIG_IsOK(res1
)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
25746 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25760 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25761 PyObject
*resultobj
= 0;
25762 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
25763 SwigValueWrapper
<wxRendererVersion
> result
;
25766 PyObject
*swig_obj
[1] ;
25768 if (!args
) SWIG_fail
;
25769 swig_obj
[0] = args
;
25770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
25774 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
25778 wxPyEndAllowThreads(__tstate
);
25779 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
25788 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25791 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
25792 return SWIG_Py_Void();
25795 static PyMethodDef SwigMethods
[] = {
25796 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
25797 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
25798 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
25799 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
25800 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
25801 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
25805 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
25806 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
25807 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
25808 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
25809 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
25814 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"Colour_Get", (PyCFunction
)_wrap_Colour_Get
, METH_O
, NULL
},
25817 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
25818 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
25819 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
25820 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
25822 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
25825 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
25826 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
25827 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
25828 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
25830 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
25831 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
25832 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
25833 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
25834 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
25835 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
25836 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
25843 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
25845 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
25846 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
25850 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
25851 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
25854 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
25858 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
25859 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
25860 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
25861 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
25862 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
25863 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
25864 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
25866 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
25872 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
25874 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
25875 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
25876 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
25877 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
25878 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
25879 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
25880 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
25886 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
25896 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
25897 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
25899 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
25900 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
25901 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
25903 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
25904 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
25909 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
25911 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
25912 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
25913 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
25914 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
25920 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
25921 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
25923 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
25924 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
25926 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
25928 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
25929 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
25930 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
25931 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
25934 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
25938 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
25939 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
25941 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
25944 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
25946 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
25947 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
25948 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
25949 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
25954 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
25955 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
25960 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
25961 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
25967 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
25971 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
25981 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
25984 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
25985 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
25987 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
25988 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
25989 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
25990 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
25991 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
25992 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
25993 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
25994 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
25995 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
25996 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
25997 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
25998 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
25999 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
26000 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
26001 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
26002 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
26003 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
26005 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
26006 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
26007 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
26008 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
26009 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
26010 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
26011 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
26012 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26017 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26019 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
26022 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
26023 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
26025 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
26026 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
26027 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
26028 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
26029 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
26030 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
26031 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
26032 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
26033 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
26035 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
26036 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
26037 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
26040 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
26041 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
26042 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
26045 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
26051 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26055 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
26056 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
26057 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
26059 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26060 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
26065 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
26068 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
26069 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
26070 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
26071 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
26072 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
26073 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
26074 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
26075 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
26076 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
26077 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
26078 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
26079 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
26080 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26083 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26084 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26085 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26086 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26087 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26088 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26089 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26090 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26091 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
26092 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
26093 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
26094 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26095 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
26096 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
26097 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26098 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
26099 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
26100 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
26101 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
26102 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26103 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26104 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26105 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_O
, NULL
},
26106 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_O
, NULL
},
26107 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
26108 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
26109 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
26110 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
26111 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
26112 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
26113 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
26114 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
26115 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
26116 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26117 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
26118 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26119 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26120 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
26121 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
26122 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
26123 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
26124 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
26125 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
26126 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
26127 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
26128 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26129 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26130 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26131 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26132 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26133 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26134 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26135 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26136 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
26137 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
26138 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
26139 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
26140 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
26141 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
26142 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
26143 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26144 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26145 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26146 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26147 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26148 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
26149 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
26150 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
26151 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26152 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26153 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26154 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26155 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26156 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26157 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26158 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26159 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26160 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26161 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26162 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26163 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26164 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26165 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26166 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26167 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26168 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26169 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26170 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26171 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26172 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26173 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26174 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26175 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26176 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26177 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26178 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26179 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26180 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26181 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26182 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26183 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26184 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26185 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26186 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26187 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26188 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26189 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26190 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26191 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26192 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26193 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26194 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26195 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26196 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26197 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26198 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26199 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
26200 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26201 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
26202 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
26203 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
26204 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26205 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26206 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26207 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26208 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26209 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26210 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
26211 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
26212 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
26213 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
26214 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
26215 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26216 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26217 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26218 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26219 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
26220 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
26221 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
26222 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
26223 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26224 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26225 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26226 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26227 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26228 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26229 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26230 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26231 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
26232 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
26233 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
26234 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
26235 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
26236 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
26237 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
26238 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
26239 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
26240 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
26241 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
26242 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
26243 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26244 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26245 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
26246 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26247 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
26248 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26249 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
26250 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26251 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
26252 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
26253 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26254 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26255 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
26256 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
26257 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26258 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26259 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26260 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
26261 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26262 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
26263 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26264 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26265 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
26266 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
26267 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
26268 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
26269 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
26270 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
26271 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
26272 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26273 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26274 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26275 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26276 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26277 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26278 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
26279 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
26280 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26281 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26282 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
26283 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
26284 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
26285 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
26286 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
26287 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
26288 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
26289 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26290 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
26291 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
26292 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
26293 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26294 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26295 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
26296 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
26297 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
26298 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26299 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
26300 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
26301 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26302 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
26303 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
26304 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26305 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
26306 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
26307 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26308 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
26309 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
26310 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26311 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
26312 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26313 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26314 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
26315 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
26316 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
26317 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26318 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
26319 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
26320 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26321 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
26322 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
26323 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
26324 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
26325 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
26326 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
26327 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26328 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
26329 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
26330 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
26331 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26332 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
26333 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
26334 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26335 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
26336 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26337 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26338 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26339 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26340 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26341 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26342 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26343 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
26344 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26345 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
26346 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26347 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
26348 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
26349 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
26350 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
26351 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
26352 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
26353 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26354 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26355 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26356 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26357 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26358 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
26359 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
26360 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
26361 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
26362 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
26363 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
26364 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26365 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26366 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26367 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
26368 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26369 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26370 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26371 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
26372 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26373 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26374 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26375 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
26376 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
26377 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
26378 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26379 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26380 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26381 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26382 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
26383 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
26384 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
26385 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
26386 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
26387 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
26388 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
26389 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
26390 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
26391 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
26392 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
26393 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
26394 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26395 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26396 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26397 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26398 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26399 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26400 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26401 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26402 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
26403 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
26404 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26405 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
26406 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
26407 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
26408 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
26409 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
26410 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
26411 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26412 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
26413 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26414 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
26415 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
26416 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
26417 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
26418 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26419 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26420 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26421 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26422 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26423 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26424 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26425 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26426 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26427 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26428 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
26429 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
26430 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
26431 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26432 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
26433 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
26434 { NULL
, NULL
, 0, NULL
}
26438 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26440 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
26441 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
26443 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
26444 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26446 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
26447 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
26449 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
26450 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
26452 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
26453 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
26455 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
26456 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
26458 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
26459 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
26461 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
26462 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
26464 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
26465 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
26467 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
26468 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
26470 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
26471 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
26473 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
26474 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
26476 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
26477 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
26479 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
26480 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
26482 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
26483 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
26485 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
26486 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
26488 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
26489 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26491 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
26492 return (void *)((wxDC
*) ((wxClientDC
*) x
));
26494 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
26495 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
26497 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
26498 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
26500 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
26501 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
26503 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
26504 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
26506 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
26507 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
26509 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
26510 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
26512 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
26513 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26515 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26518 static void *_p_wxPenTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
26521 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
26524 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26527 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26530 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26533 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26536 static void *_p_wxIconTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
26539 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26542 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26545 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) ((wxSizer
*) x
));
26548 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26551 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26554 static void *_p_wxEventTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) ((wxEvent
*) x
));
26557 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26560 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26563 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26566 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
26569 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26572 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26575 static void *_p_wxDCTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) ((wxDC
*) x
));
26578 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26581 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26584 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26587 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26590 static void *_p_wxControlTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26593 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26596 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
26599 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26602 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
26605 static void *_p_wxRegionTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
26608 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26611 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
26614 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
26617 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) ((wxEffects
*) x
));
26620 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26623 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26626 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
26629 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26632 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26635 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
26638 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26641 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26644 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26647 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26650 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26653 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26656 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26659 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26662 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26665 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26668 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26671 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26674 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26677 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26680 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26683 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26686 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26689 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
26690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
26692 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26693 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26695 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26696 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26698 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26701 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26702 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26704 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
26705 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
26707 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
26708 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
26710 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
26711 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
26713 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
26714 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
26716 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
26717 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
26719 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26720 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26722 static void *_p_wxImageTo_p_wxObject(void *x
) {
26723 return (void *)((wxObject
*) ((wxImage
*) x
));
26725 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26726 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26728 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
26729 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
26731 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
26732 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
26734 static void *_p_wxImageListTo_p_wxObject(void *x
) {
26735 return (void *)((wxObject
*) ((wxImageList
*) x
));
26737 static void *_p_wxCursorTo_p_wxObject(void *x
) {
26738 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
26740 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
26741 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
26743 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
26744 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
26746 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26749 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26750 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26752 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26753 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26755 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26758 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26759 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26761 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26764 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
26765 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
26767 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26768 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26770 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
26771 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
26773 static void *_p_wxMaskTo_p_wxObject(void *x
) {
26774 return (void *)((wxObject
*) ((wxMask
*) x
));
26776 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26779 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26780 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26782 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26783 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26785 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26786 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26788 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26789 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26791 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26792 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26794 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26797 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26798 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26800 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26801 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26803 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26804 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26806 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26809 static void *_p_wxFontTo_p_wxObject(void *x
) {
26810 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
26812 static void *_p_wxBrushTo_p_wxObject(void *x
) {
26813 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
26815 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
26816 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
26818 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26821 static void *_p_wxColourTo_p_wxObject(void *x
) {
26822 return (void *)((wxObject
*) ((wxColour
*) x
));
26824 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26827 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26828 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26830 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26831 return (void *)((wxWindow
*) ((wxControl
*) x
));
26833 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26834 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26836 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26837 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26839 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
26840 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
26841 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};
26842 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
26843 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
26844 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
26845 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
26846 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
26847 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
26848 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
26849 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
26850 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
26851 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
26852 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
26853 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
26854 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
26855 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
26856 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
26857 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
26858 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
26859 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
26860 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
26861 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
26862 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
26863 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
26864 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
26865 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
26866 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
26867 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
26868 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
26869 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
26870 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
26871 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
26872 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
26873 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
26874 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
26875 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
26876 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
26877 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
26878 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
26879 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
26880 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
26881 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
26882 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
26883 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
26884 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
26885 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
26886 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
26887 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
26888 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
26889 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
26890 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
26891 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
26892 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
26893 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
26894 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
26895 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
26896 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
26897 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
26898 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
26899 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
26900 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
26901 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
26902 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
26903 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
26904 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
26905 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
26906 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
26907 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
26908 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
26909 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
26910 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
26911 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
26912 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
26913 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
26914 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
26915 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
26916 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
26917 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
26918 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
26919 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
26920 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
26921 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
26922 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
26923 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
26924 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
26925 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
26926 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
26927 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
26928 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
26929 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
26930 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
26931 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
26932 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
26933 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
26934 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
26935 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
26936 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
26937 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
26938 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
26939 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
26940 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
26941 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
26942 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
26943 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
26944 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
26945 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
26946 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
26947 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
26948 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
26949 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
26950 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
26951 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
26952 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
26953 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
26954 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
26955 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
26956 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
26957 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
26958 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
26959 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
26960 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
26961 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
26962 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
26963 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
26964 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
26965 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
26966 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
26967 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
26968 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
26969 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
26970 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
26971 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
26972 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
26973 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
26974 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
26975 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
26976 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
26978 static swig_type_info
*swig_type_initial
[] = {
26981 &_swigt__p_form_ops_t
,
26983 &_swigt__p_unsigned_char
,
26984 &_swigt__p_unsigned_int
,
26985 &_swigt__p_unsigned_long
,
26986 &_swigt__p_wxANIHandler
,
26987 &_swigt__p_wxAcceleratorTable
,
26988 &_swigt__p_wxActivateEvent
,
26989 &_swigt__p_wxBMPHandler
,
26990 &_swigt__p_wxBitmap
,
26991 &_swigt__p_wxBoxSizer
,
26992 &_swigt__p_wxBrush
,
26993 &_swigt__p_wxBrushList
,
26994 &_swigt__p_wxBufferedDC
,
26995 &_swigt__p_wxBufferedPaintDC
,
26996 &_swigt__p_wxCURHandler
,
26997 &_swigt__p_wxChildFocusEvent
,
26998 &_swigt__p_wxClientDC
,
26999 &_swigt__p_wxClipboardTextEvent
,
27000 &_swigt__p_wxCloseEvent
,
27001 &_swigt__p_wxColour
,
27002 &_swigt__p_wxColourDatabase
,
27003 &_swigt__p_wxCommandEvent
,
27004 &_swigt__p_wxContextMenuEvent
,
27005 &_swigt__p_wxControl
,
27006 &_swigt__p_wxControlWithItems
,
27007 &_swigt__p_wxCursor
,
27010 &_swigt__p_wxDateEvent
,
27011 &_swigt__p_wxDisplayChangedEvent
,
27012 &_swigt__p_wxDropFilesEvent
,
27013 &_swigt__p_wxDuplexMode
,
27014 &_swigt__p_wxEffects
,
27015 &_swigt__p_wxEncodingConverter
,
27016 &_swigt__p_wxEraseEvent
,
27017 &_swigt__p_wxEvent
,
27018 &_swigt__p_wxEvtHandler
,
27019 &_swigt__p_wxFSFile
,
27020 &_swigt__p_wxFileSystem
,
27021 &_swigt__p_wxFlexGridSizer
,
27022 &_swigt__p_wxFocusEvent
,
27024 &_swigt__p_wxFontList
,
27025 &_swigt__p_wxFontMapper
,
27026 &_swigt__p_wxGBSizerItem
,
27027 &_swigt__p_wxGDIObjListBase
,
27028 &_swigt__p_wxGDIObject
,
27029 &_swigt__p_wxGIFHandler
,
27030 &_swigt__p_wxGridBagSizer
,
27031 &_swigt__p_wxGridSizer
,
27032 &_swigt__p_wxICOHandler
,
27034 &_swigt__p_wxIconBundle
,
27035 &_swigt__p_wxIconLocation
,
27036 &_swigt__p_wxIconizeEvent
,
27037 &_swigt__p_wxIdleEvent
,
27038 &_swigt__p_wxImage
,
27039 &_swigt__p_wxImageHandler
,
27040 &_swigt__p_wxImageList
,
27041 &_swigt__p_wxIndividualLayoutConstraint
,
27042 &_swigt__p_wxInitDialogEvent
,
27043 &_swigt__p_wxJPEGHandler
,
27044 &_swigt__p_wxKeyEvent
,
27045 &_swigt__p_wxLanguageInfo
,
27046 &_swigt__p_wxLayoutConstraints
,
27047 &_swigt__p_wxLocale
,
27049 &_swigt__p_wxMaximizeEvent
,
27050 &_swigt__p_wxMemoryDC
,
27052 &_swigt__p_wxMenuBar
,
27053 &_swigt__p_wxMenuEvent
,
27054 &_swigt__p_wxMenuItem
,
27055 &_swigt__p_wxMetaFile
,
27056 &_swigt__p_wxMetaFileDC
,
27057 &_swigt__p_wxMirrorDC
,
27058 &_swigt__p_wxMouseCaptureChangedEvent
,
27059 &_swigt__p_wxMouseEvent
,
27060 &_swigt__p_wxMoveEvent
,
27061 &_swigt__p_wxNativeEncodingInfo
,
27062 &_swigt__p_wxNativeFontInfo
,
27063 &_swigt__p_wxNavigationKeyEvent
,
27064 &_swigt__p_wxNcPaintEvent
,
27065 &_swigt__p_wxNotifyEvent
,
27066 &_swigt__p_wxObject
,
27067 &_swigt__p_wxPCXHandler
,
27068 &_swigt__p_wxPNGHandler
,
27069 &_swigt__p_wxPNMHandler
,
27070 &_swigt__p_wxPaintDC
,
27071 &_swigt__p_wxPaintEvent
,
27072 &_swigt__p_wxPalette
,
27073 &_swigt__p_wxPaletteChangedEvent
,
27074 &_swigt__p_wxPaperSize
,
27076 &_swigt__p_wxPenList
,
27077 &_swigt__p_wxPoint
,
27078 &_swigt__p_wxPostScriptDC
,
27079 &_swigt__p_wxPrintData
,
27080 &_swigt__p_wxPrinterDC
,
27081 &_swigt__p_wxPyApp
,
27082 &_swigt__p_wxPyCommandEvent
,
27083 &_swigt__p_wxPyEvent
,
27084 &_swigt__p_wxPyFontEnumerator
,
27085 &_swigt__p_wxPyImageHandler
,
27086 &_swigt__p_wxPySizer
,
27087 &_swigt__p_wxPyValidator
,
27088 &_swigt__p_wxQueryNewPaletteEvent
,
27090 &_swigt__p_wxRegion
,
27091 &_swigt__p_wxRegionIterator
,
27092 &_swigt__p_wxRendererNative
,
27093 &_swigt__p_wxRendererVersion
,
27094 &_swigt__p_wxScreenDC
,
27095 &_swigt__p_wxScrollEvent
,
27096 &_swigt__p_wxScrollWinEvent
,
27097 &_swigt__p_wxSetCursorEvent
,
27098 &_swigt__p_wxShowEvent
,
27100 &_swigt__p_wxSizeEvent
,
27101 &_swigt__p_wxSizer
,
27102 &_swigt__p_wxSizerItem
,
27103 &_swigt__p_wxSplitterRenderParams
,
27104 &_swigt__p_wxStaticBoxSizer
,
27105 &_swigt__p_wxStdDialogButtonSizer
,
27106 &_swigt__p_wxStockGDI
,
27107 &_swigt__p_wxString
,
27108 &_swigt__p_wxSysColourChangedEvent
,
27109 &_swigt__p_wxTIFFHandler
,
27110 &_swigt__p_wxUpdateUIEvent
,
27111 &_swigt__p_wxValidator
,
27112 &_swigt__p_wxWindow
,
27113 &_swigt__p_wxWindowCreateEvent
,
27114 &_swigt__p_wxWindowDC
,
27115 &_swigt__p_wxWindowDestroyEvent
,
27116 &_swigt__p_wxXPMHandler
,
27119 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
27120 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
27121 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
27122 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
27123 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
27124 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
27125 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
27126 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
27127 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
27128 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
27129 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}};
27130 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27131 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
27132 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
27133 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
27134 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
27135 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}};
27136 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
27137 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
27138 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
27139 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
27140 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
27141 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
27142 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
27143 static swig_cast_info _swigc__p_wxGDIObjListBase
[] = { {&_swigt__p_wxGDIObjListBase
, 0, 0, 0}, {&_swigt__p_wxBrushList
, _p_wxBrushListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxFontList
, _p_wxFontListTo_p_wxGDIObjListBase
, 0, 0}, {&_swigt__p_wxPenList
, _p_wxPenListTo_p_wxGDIObjListBase
, 0, 0},{0, 0, 0, 0}};
27144 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}};
27145 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
27146 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
27147 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
27148 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
27149 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
27150 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
27151 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
27152 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
27153 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}};
27154 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
27155 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
27156 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
27157 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
27158 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
27159 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
27160 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27161 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
27162 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
27163 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
27164 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27165 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27166 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
27167 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
27168 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
27169 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
27170 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
27171 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27172 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
27173 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
27174 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
27175 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27176 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
27177 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27178 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27179 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27180 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
27181 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
27182 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
27183 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
27184 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
27185 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27186 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27187 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
27188 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
27189 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27190 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
27191 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27192 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
27193 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27194 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27195 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
27196 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
27197 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
27198 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27199 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
27200 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
27201 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
27202 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
27203 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27204 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
27205 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27206 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27207 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
27208 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
27209 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
27210 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
27211 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
27212 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
27213 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
27214 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
27215 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27216 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27217 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
27218 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
27219 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
27220 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27221 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
27222 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
27223 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27224 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27225 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
27226 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27227 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
27228 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
27229 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27230 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
27231 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
27232 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
27233 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
27234 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
27235 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
27236 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
27237 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
27238 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
27239 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
27240 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
27241 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
27242 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
27243 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
27244 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
27245 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
27246 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
27247 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
27248 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
27249 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
27250 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
27251 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
27252 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
27253 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
27254 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
27255 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}};
27256 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
27258 static swig_cast_info
*swig_cast_initial
[] = {
27261 _swigc__p_form_ops_t
,
27263 _swigc__p_unsigned_char
,
27264 _swigc__p_unsigned_int
,
27265 _swigc__p_unsigned_long
,
27266 _swigc__p_wxANIHandler
,
27267 _swigc__p_wxAcceleratorTable
,
27268 _swigc__p_wxActivateEvent
,
27269 _swigc__p_wxBMPHandler
,
27270 _swigc__p_wxBitmap
,
27271 _swigc__p_wxBoxSizer
,
27273 _swigc__p_wxBrushList
,
27274 _swigc__p_wxBufferedDC
,
27275 _swigc__p_wxBufferedPaintDC
,
27276 _swigc__p_wxCURHandler
,
27277 _swigc__p_wxChildFocusEvent
,
27278 _swigc__p_wxClientDC
,
27279 _swigc__p_wxClipboardTextEvent
,
27280 _swigc__p_wxCloseEvent
,
27281 _swigc__p_wxColour
,
27282 _swigc__p_wxColourDatabase
,
27283 _swigc__p_wxCommandEvent
,
27284 _swigc__p_wxContextMenuEvent
,
27285 _swigc__p_wxControl
,
27286 _swigc__p_wxControlWithItems
,
27287 _swigc__p_wxCursor
,
27290 _swigc__p_wxDateEvent
,
27291 _swigc__p_wxDisplayChangedEvent
,
27292 _swigc__p_wxDropFilesEvent
,
27293 _swigc__p_wxDuplexMode
,
27294 _swigc__p_wxEffects
,
27295 _swigc__p_wxEncodingConverter
,
27296 _swigc__p_wxEraseEvent
,
27298 _swigc__p_wxEvtHandler
,
27299 _swigc__p_wxFSFile
,
27300 _swigc__p_wxFileSystem
,
27301 _swigc__p_wxFlexGridSizer
,
27302 _swigc__p_wxFocusEvent
,
27304 _swigc__p_wxFontList
,
27305 _swigc__p_wxFontMapper
,
27306 _swigc__p_wxGBSizerItem
,
27307 _swigc__p_wxGDIObjListBase
,
27308 _swigc__p_wxGDIObject
,
27309 _swigc__p_wxGIFHandler
,
27310 _swigc__p_wxGridBagSizer
,
27311 _swigc__p_wxGridSizer
,
27312 _swigc__p_wxICOHandler
,
27314 _swigc__p_wxIconBundle
,
27315 _swigc__p_wxIconLocation
,
27316 _swigc__p_wxIconizeEvent
,
27317 _swigc__p_wxIdleEvent
,
27319 _swigc__p_wxImageHandler
,
27320 _swigc__p_wxImageList
,
27321 _swigc__p_wxIndividualLayoutConstraint
,
27322 _swigc__p_wxInitDialogEvent
,
27323 _swigc__p_wxJPEGHandler
,
27324 _swigc__p_wxKeyEvent
,
27325 _swigc__p_wxLanguageInfo
,
27326 _swigc__p_wxLayoutConstraints
,
27327 _swigc__p_wxLocale
,
27329 _swigc__p_wxMaximizeEvent
,
27330 _swigc__p_wxMemoryDC
,
27332 _swigc__p_wxMenuBar
,
27333 _swigc__p_wxMenuEvent
,
27334 _swigc__p_wxMenuItem
,
27335 _swigc__p_wxMetaFile
,
27336 _swigc__p_wxMetaFileDC
,
27337 _swigc__p_wxMirrorDC
,
27338 _swigc__p_wxMouseCaptureChangedEvent
,
27339 _swigc__p_wxMouseEvent
,
27340 _swigc__p_wxMoveEvent
,
27341 _swigc__p_wxNativeEncodingInfo
,
27342 _swigc__p_wxNativeFontInfo
,
27343 _swigc__p_wxNavigationKeyEvent
,
27344 _swigc__p_wxNcPaintEvent
,
27345 _swigc__p_wxNotifyEvent
,
27346 _swigc__p_wxObject
,
27347 _swigc__p_wxPCXHandler
,
27348 _swigc__p_wxPNGHandler
,
27349 _swigc__p_wxPNMHandler
,
27350 _swigc__p_wxPaintDC
,
27351 _swigc__p_wxPaintEvent
,
27352 _swigc__p_wxPalette
,
27353 _swigc__p_wxPaletteChangedEvent
,
27354 _swigc__p_wxPaperSize
,
27356 _swigc__p_wxPenList
,
27358 _swigc__p_wxPostScriptDC
,
27359 _swigc__p_wxPrintData
,
27360 _swigc__p_wxPrinterDC
,
27362 _swigc__p_wxPyCommandEvent
,
27363 _swigc__p_wxPyEvent
,
27364 _swigc__p_wxPyFontEnumerator
,
27365 _swigc__p_wxPyImageHandler
,
27366 _swigc__p_wxPySizer
,
27367 _swigc__p_wxPyValidator
,
27368 _swigc__p_wxQueryNewPaletteEvent
,
27370 _swigc__p_wxRegion
,
27371 _swigc__p_wxRegionIterator
,
27372 _swigc__p_wxRendererNative
,
27373 _swigc__p_wxRendererVersion
,
27374 _swigc__p_wxScreenDC
,
27375 _swigc__p_wxScrollEvent
,
27376 _swigc__p_wxScrollWinEvent
,
27377 _swigc__p_wxSetCursorEvent
,
27378 _swigc__p_wxShowEvent
,
27380 _swigc__p_wxSizeEvent
,
27382 _swigc__p_wxSizerItem
,
27383 _swigc__p_wxSplitterRenderParams
,
27384 _swigc__p_wxStaticBoxSizer
,
27385 _swigc__p_wxStdDialogButtonSizer
,
27386 _swigc__p_wxStockGDI
,
27387 _swigc__p_wxString
,
27388 _swigc__p_wxSysColourChangedEvent
,
27389 _swigc__p_wxTIFFHandler
,
27390 _swigc__p_wxUpdateUIEvent
,
27391 _swigc__p_wxValidator
,
27392 _swigc__p_wxWindow
,
27393 _swigc__p_wxWindowCreateEvent
,
27394 _swigc__p_wxWindowDC
,
27395 _swigc__p_wxWindowDestroyEvent
,
27396 _swigc__p_wxXPMHandler
,
27400 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27402 static swig_const_info swig_const_table
[] = {
27403 {0, 0, 0, 0.0, 0, 0}};
27408 /* -----------------------------------------------------------------------------
27409 * Type initialization:
27410 * This problem is tough by the requirement that no dynamic
27411 * memory is used. Also, since swig_type_info structures store pointers to
27412 * swig_cast_info structures and swig_cast_info structures store pointers back
27413 * to swig_type_info structures, we need some lookup code at initialization.
27414 * The idea is that swig generates all the structures that are needed.
27415 * The runtime then collects these partially filled structures.
27416 * The SWIG_InitializeModule function takes these initial arrays out of
27417 * swig_module, and does all the lookup, filling in the swig_module.types
27418 * array with the correct data and linking the correct swig_cast_info
27419 * structures together.
27421 * The generated swig_type_info structures are assigned staticly to an initial
27422 * array. We just loop though that array, and handle each type individually.
27423 * First we lookup if this type has been already loaded, and if so, use the
27424 * loaded structure instead of the generated one. Then we have to fill in the
27425 * cast linked list. The cast data is initially stored in something like a
27426 * two-dimensional array. Each row corresponds to a type (there are the same
27427 * number of rows as there are in the swig_type_initial array). Each entry in
27428 * a column is one of the swig_cast_info structures for that type.
27429 * The cast_initial array is actually an array of arrays, because each row has
27430 * a variable number of columns. So to actually build the cast linked list,
27431 * we find the array of casts associated with the type, and loop through it
27432 * adding the casts to the list. The one last trick we need to do is making
27433 * sure the type pointer in the swig_cast_info struct is correct.
27435 * First off, we lookup the cast->type name to see if it is already loaded.
27436 * There are three cases to handle:
27437 * 1) If the cast->type has already been loaded AND the type we are adding
27438 * casting info to has not been loaded (it is in this module), THEN we
27439 * replace the cast->type pointer with the type pointer that has already
27441 * 2) If BOTH types (the one we are adding casting info to, and the
27442 * cast->type) are loaded, THEN the cast info has already been loaded by
27443 * the previous module so we just ignore it.
27444 * 3) Finally, if cast->type has not already been loaded, then we add that
27445 * swig_cast_info to the linked list (because the cast->type) pointer will
27447 * ----------------------------------------------------------------------------- */
27457 #define SWIGRUNTIME_DEBUG
27461 SWIG_InitializeModule(void *clientdata
) {
27463 swig_module_info
*module_head
;
27464 static int init_run
= 0;
27466 clientdata
= clientdata
;
27468 if (init_run
) return;
27471 /* Initialize the swig_module */
27472 swig_module
.type_initial
= swig_type_initial
;
27473 swig_module
.cast_initial
= swig_cast_initial
;
27475 /* Try and load any already created modules */
27476 module_head
= SWIG_GetModule(clientdata
);
27478 swig_module
.next
= module_head
->next
;
27479 module_head
->next
= &swig_module
;
27481 /* This is the first module loaded */
27482 swig_module
.next
= &swig_module
;
27483 SWIG_SetModule(clientdata
, &swig_module
);
27486 /* Now work on filling in swig_module.types */
27487 #ifdef SWIGRUNTIME_DEBUG
27488 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
27490 for (i
= 0; i
< swig_module
.size
; ++i
) {
27491 swig_type_info
*type
= 0;
27492 swig_type_info
*ret
;
27493 swig_cast_info
*cast
;
27495 #ifdef SWIGRUNTIME_DEBUG
27496 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27499 /* if there is another module already loaded */
27500 if (swig_module
.next
!= &swig_module
) {
27501 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
27504 /* Overwrite clientdata field */
27505 #ifdef SWIGRUNTIME_DEBUG
27506 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
27508 if (swig_module
.type_initial
[i
]->clientdata
) {
27509 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
27510 #ifdef SWIGRUNTIME_DEBUG
27511 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
27515 type
= swig_module
.type_initial
[i
];
27518 /* Insert casting types */
27519 cast
= swig_module
.cast_initial
[i
];
27520 while (cast
->type
) {
27521 /* Don't need to add information already in the list */
27523 #ifdef SWIGRUNTIME_DEBUG
27524 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
27526 if (swig_module
.next
!= &swig_module
) {
27527 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
27528 #ifdef SWIGRUNTIME_DEBUG
27529 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
27533 if (type
== swig_module
.type_initial
[i
]) {
27534 #ifdef SWIGRUNTIME_DEBUG
27535 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
27540 /* Check for casting already in the list */
27541 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
27542 #ifdef SWIGRUNTIME_DEBUG
27543 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
27545 if (!ocast
) ret
= 0;
27550 #ifdef SWIGRUNTIME_DEBUG
27551 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
27554 type
->cast
->prev
= cast
;
27555 cast
->next
= type
->cast
;
27561 /* Set entry in modules->types array equal to the type */
27562 swig_module
.types
[i
] = type
;
27564 swig_module
.types
[i
] = 0;
27566 #ifdef SWIGRUNTIME_DEBUG
27567 printf("**** SWIG_InitializeModule: Cast List ******\n");
27568 for (i
= 0; i
< swig_module
.size
; ++i
) {
27570 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
27571 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
27572 while (cast
->type
) {
27573 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
27577 printf("---- Total casts: %d\n",j
);
27579 printf("**** SWIG_InitializeModule: Cast List ******\n");
27583 /* This function will propagate the clientdata field of type to
27584 * any new swig_type_info structures that have been added into the list
27585 * of equivalent types. It is like calling
27586 * SWIG_TypeClientData(type, clientdata) a second time.
27589 SWIG_PropagateClientData(void) {
27591 swig_cast_info
*equiv
;
27592 static int init_run
= 0;
27594 if (init_run
) return;
27597 for (i
= 0; i
< swig_module
.size
; i
++) {
27598 if (swig_module
.types
[i
]->clientdata
) {
27599 equiv
= swig_module
.types
[i
]->cast
;
27601 if (!equiv
->converter
) {
27602 if (equiv
->type
&& !equiv
->type
->clientdata
)
27603 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
27605 equiv
= equiv
->next
;
27625 /* Python-specific SWIG API */
27626 #define SWIG_newvarlink() SWIG_Python_newvarlink()
27627 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
27628 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
27630 /* -----------------------------------------------------------------------------
27631 * global variable support code.
27632 * ----------------------------------------------------------------------------- */
27634 typedef struct swig_globalvar
{
27635 char *name
; /* Name of global variable */
27636 PyObject
*(*get_attr
)(void); /* Return the current value */
27637 int (*set_attr
)(PyObject
*); /* Set the value */
27638 struct swig_globalvar
*next
;
27641 typedef struct swig_varlinkobject
{
27643 swig_globalvar
*vars
;
27644 } swig_varlinkobject
;
27646 SWIGINTERN PyObject
*
27647 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
27648 return PyString_FromString("<Swig global variables>");
27651 SWIGINTERN PyObject
*
27652 swig_varlink_str(swig_varlinkobject
*v
) {
27653 PyObject
*str
= PyString_FromString("(");
27654 swig_globalvar
*var
;
27655 for (var
= v
->vars
; var
; var
=var
->next
) {
27656 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
27657 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
27659 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
27664 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
27665 PyObject
*str
= swig_varlink_str(v
);
27666 fprintf(fp
,"Swig global variables ");
27667 fprintf(fp
,"%s\n", PyString_AsString(str
));
27673 swig_varlink_dealloc(swig_varlinkobject
*v
) {
27674 swig_globalvar
*var
= v
->vars
;
27676 swig_globalvar
*n
= var
->next
;
27683 SWIGINTERN PyObject
*
27684 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
27685 PyObject
*res
= NULL
;
27686 swig_globalvar
*var
= v
->vars
;
27688 if (strcmp(var
->name
,n
) == 0) {
27689 res
= (*var
->get_attr
)();
27694 if (res
== NULL
&& !PyErr_Occurred()) {
27695 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27701 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
27703 swig_globalvar
*var
= v
->vars
;
27705 if (strcmp(var
->name
,n
) == 0) {
27706 res
= (*var
->set_attr
)(p
);
27711 if (res
== 1 && !PyErr_Occurred()) {
27712 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
27717 SWIGINTERN PyTypeObject
*
27718 swig_varlink_type(void) {
27719 static char varlink__doc__
[] = "Swig var link object";
27720 static PyTypeObject varlink_type
;
27721 static int type_init
= 0;
27723 const PyTypeObject tmp
27725 PyObject_HEAD_INIT(NULL
)
27726 0, /* Number of items in variable part (ob_size) */
27727 (char *)"swigvarlink", /* Type name (tp_name) */
27728 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
27729 0, /* Itemsize (tp_itemsize) */
27730 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
27731 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
27732 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
27733 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
27734 0, /* tp_compare */
27735 (reprfunc
) swig_varlink_repr
, /* tp_repr */
27736 0, /* tp_as_number */
27737 0, /* tp_as_sequence */
27738 0, /* tp_as_mapping */
27741 (reprfunc
)swig_varlink_str
, /* tp_str */
27742 0, /* tp_getattro */
27743 0, /* tp_setattro */
27744 0, /* tp_as_buffer */
27746 varlink__doc__
, /* tp_doc */
27747 0, /* tp_traverse */
27749 0, /* tp_richcompare */
27750 0, /* tp_weaklistoffset */
27751 #if PY_VERSION_HEX >= 0x02020000
27752 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
27754 #if PY_VERSION_HEX >= 0x02030000
27757 #ifdef COUNT_ALLOCS
27758 0,0,0,0 /* tp_alloc -> tp_next */
27761 varlink_type
= tmp
;
27762 varlink_type
.ob_type
= &PyType_Type
;
27765 return &varlink_type
;
27768 /* Create a variable linking object for use later */
27769 SWIGINTERN PyObject
*
27770 SWIG_Python_newvarlink(void) {
27771 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
27775 return ((PyObject
*) result
);
27779 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
27780 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
27781 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
27783 size_t size
= strlen(name
)+1;
27784 gv
->name
= (char *)malloc(size
);
27786 strncpy(gv
->name
,name
,size
);
27787 gv
->get_attr
= get_attr
;
27788 gv
->set_attr
= set_attr
;
27789 gv
->next
= v
->vars
;
27795 SWIGINTERN PyObject
*
27797 static PyObject
*_SWIG_globals
= 0;
27798 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
27799 return _SWIG_globals
;
27802 /* -----------------------------------------------------------------------------
27803 * constants/methods manipulation
27804 * ----------------------------------------------------------------------------- */
27806 /* Install Constants */
27808 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
27811 for (i
= 0; constants
[i
].type
; ++i
) {
27812 switch(constants
[i
].type
) {
27813 case SWIG_PY_POINTER
:
27814 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
27816 case SWIG_PY_BINARY
:
27817 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
27824 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
27830 /* -----------------------------------------------------------------------------*/
27831 /* Fix SwigMethods to carry the callback ptrs when needed */
27832 /* -----------------------------------------------------------------------------*/
27835 SWIG_Python_FixMethods(PyMethodDef
*methods
,
27836 swig_const_info
*const_table
,
27837 swig_type_info
**types
,
27838 swig_type_info
**types_initial
) {
27840 for (i
= 0; methods
[i
].ml_name
; ++i
) {
27841 char *c
= methods
[i
].ml_doc
;
27842 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
27844 swig_const_info
*ci
= 0;
27845 char *name
= c
+ 10;
27846 for (j
= 0; const_table
[j
].type
; ++j
) {
27847 if (strncmp(const_table
[j
].name
, name
,
27848 strlen(const_table
[j
].name
)) == 0) {
27849 ci
= &(const_table
[j
]);
27854 size_t shift
= (ci
->ptype
) - types
;
27855 swig_type_info
*ty
= types_initial
[shift
];
27856 size_t ldoc
= (c
- methods
[i
].ml_doc
);
27857 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
27858 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
27861 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
27863 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
27865 strncpy(buff
, "swig_ptr: ", 10);
27867 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
27868 methods
[i
].ml_doc
= ndoc
;
27880 /* -----------------------------------------------------------------------------*
27881 * Partial Init method
27882 * -----------------------------------------------------------------------------*/
27887 SWIGEXPORT
void SWIG_init(void) {
27890 /* Fix SwigMethods to carry the callback ptrs when needed */
27891 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
27893 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27894 d
= PyModule_GetDict(m
);
27896 SWIG_InitializeModule(0);
27897 SWIG_InstallConstants(d
,swig_const_table
);
27900 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
27901 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
27902 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
27903 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
27904 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
27905 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
27906 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
27907 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
27908 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
27909 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
27910 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
27911 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
27912 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
27913 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
27914 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
27915 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
27916 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
27917 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
27918 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
27919 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
27920 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
27921 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
27922 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
27923 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
27924 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
27925 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
27926 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
27927 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
27928 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
27929 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
27930 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
27931 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
27932 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
27933 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
27934 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
27935 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
27936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
27937 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
27938 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
27939 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
27940 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
27941 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
27942 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
27943 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
27944 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
27945 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
27946 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
27947 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
27948 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
27949 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
27950 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
27951 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
27952 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
27953 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
27954 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
27955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
27956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
27957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
27958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
27959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
27960 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
27961 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
27962 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
27963 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
27964 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
27965 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
27966 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
27967 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
27968 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
27969 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
27970 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
27971 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
27972 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
27973 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
27974 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
27975 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
27976 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
27977 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
27978 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
27979 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
27980 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
27981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
27982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
27983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
27984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
27985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
27986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
27987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
27988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
27989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
27990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
27991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
27992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
27993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
27994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
27995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
27996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
27997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
27998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
27999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
28000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
28001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
28002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
28003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
28004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
28005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
28006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
28007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
28008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
28009 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
28010 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
28011 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
28012 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
28013 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
28014 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
28015 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
28016 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
28017 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
28018 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
28019 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
28020 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
28021 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
28022 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
28023 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
28024 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
28025 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
28026 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
28027 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
28028 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
28029 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
28031 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
28033 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
28034 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
28035 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
28036 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
28037 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
28038 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
28039 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
28040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
28041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
28042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
28043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
28044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
28045 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
28046 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
28047 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
28048 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
28049 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
28050 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
28051 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
28052 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
28053 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
28054 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
28055 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
28056 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
28057 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
28058 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
28059 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
28060 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
28061 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
28062 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
28063 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
28064 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
28065 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
28066 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
28067 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
28068 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
28069 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
28070 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
28071 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
28072 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
28073 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
28074 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
28075 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
28076 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
28077 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
28078 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
28079 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
28080 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
28081 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
28082 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
28083 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
28084 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
28085 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
28086 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
28087 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
28088 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
28089 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
28090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
28091 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
28092 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
28093 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
28094 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
28095 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
28096 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
28097 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
28098 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
28099 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
28100 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
28101 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
28102 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
28103 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
28104 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
28105 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
28106 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
28107 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
28108 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
28109 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
28110 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
28111 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
28112 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
28113 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
28114 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
28115 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
28116 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
28117 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
28118 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
28119 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
28120 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
28121 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
28122 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
28123 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
28124 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
28125 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
28126 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
28127 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
28128 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
28129 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
28130 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
28131 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
28132 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
28133 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
28134 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
28135 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
28136 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
28137 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
28138 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
28139 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
28140 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
28141 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
28142 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
28143 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
28144 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
28145 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
28146 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
28147 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
28148 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
28149 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
28150 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
28151 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
28152 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
28153 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
28154 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
28155 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
28156 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
28157 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
28158 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
28159 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
28160 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
28161 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
28162 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
28163 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
28164 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
28165 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
28166 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
28167 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
28168 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
28169 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
28170 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
28171 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
28172 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
28173 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
28174 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
28175 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
28176 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
28177 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
28178 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
28179 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
28180 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
28181 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
28182 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
28183 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
28184 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
28185 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
28186 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
28187 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
28188 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
28189 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
28190 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
28191 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
28192 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
28193 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
28194 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
28195 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
28196 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
28197 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
28198 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
28199 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
28200 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
28201 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
28202 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
28203 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
28204 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
28205 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
28206 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
28207 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
28208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
28209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
28210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
28211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
28212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
28213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
28214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
28215 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
28216 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
28217 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
28218 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
28219 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
28220 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
28221 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
28222 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
28223 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
28224 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
28225 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
28226 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
28227 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
28228 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
28229 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
28230 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
28231 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
28232 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
28233 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
28234 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
28235 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
28236 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
28237 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
28238 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
28239 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
28240 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
28241 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
28242 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
28243 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
28244 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
28245 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
28246 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
28247 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
28248 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
28249 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
28250 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
28251 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
28252 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
28253 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
28254 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
28255 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
28256 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
28257 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
28258 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
28259 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
28260 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
28261 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
28262 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
28263 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
28264 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
28265 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
28266 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
28267 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
28268 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
28269 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
28270 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
28271 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
28272 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
28273 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
28274 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
28275 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
28276 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
28277 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
28278 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
28279 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
28280 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
28281 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
28282 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
28283 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
28284 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
28285 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
28286 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
28287 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
28288 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
28289 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
28290 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
28291 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
28292 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
28293 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
28294 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
28295 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
28296 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
28297 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
28298 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
28299 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
28300 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
28301 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
28302 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
28303 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
28304 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
28305 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
28306 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
28307 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
28308 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
28309 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
28310 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
28311 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
28312 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
28313 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
28314 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
28315 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
28316 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
28317 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
28318 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
28319 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
28320 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
28321 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
28322 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
28323 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
28324 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
28325 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
28326 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
28327 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
28328 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
28329 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
28330 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
28331 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
28332 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
28333 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
28334 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
28335 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
28336 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
28337 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
28338 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
28339 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
28340 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
28341 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
28342 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
28343 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
28344 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
28345 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
28346 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
28348 // Work around a chicken/egg problem in drawlist.cpp
28349 wxPyDrawList_SetAPIPtr();