1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxColourDatabase swig_types[27]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[28]
2495 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2496 #define SWIGTYPE_p_wxControl swig_types[30]
2497 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2498 #define SWIGTYPE_p_wxCursor swig_types[32]
2499 #define SWIGTYPE_p_wxDC swig_types[33]
2500 #define SWIGTYPE_p_wxDash swig_types[34]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[35]
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505 #define SWIGTYPE_p_wxEffects swig_types[39]
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508 #define SWIGTYPE_p_wxEvent swig_types[42]
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFSFile swig_types[44]
2511 #define SWIGTYPE_p_wxFileSystem swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontList swig_types[49]
2516 #define SWIGTYPE_p_wxFontMapper swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGDIObjListBase swig_types[52]
2519 #define SWIGTYPE_p_wxGDIObject swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxICOHandler swig_types[57]
2524 #define SWIGTYPE_p_wxIcon swig_types[58]
2525 #define SWIGTYPE_p_wxIconBundle swig_types[59]
2526 #define SWIGTYPE_p_wxIconLocation swig_types[60]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[61]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[62]
2529 #define SWIGTYPE_p_wxImage swig_types[63]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[64]
2531 #define SWIGTYPE_p_wxImageList swig_types[65]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[66]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[67]
2534 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
2536 #define SWIGTYPE_p_wxLanguageInfo swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxLocale swig_types[72]
2539 #define SWIGTYPE_p_wxMask swig_types[73]
2540 #define SWIGTYPE_p_wxMaximizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMemoryDC swig_types[75]
2542 #define SWIGTYPE_p_wxMenu swig_types[76]
2543 #define SWIGTYPE_p_wxMenuBar swig_types[77]
2544 #define SWIGTYPE_p_wxMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMenuItem swig_types[79]
2546 #define SWIGTYPE_p_wxMetaFile swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFileDC swig_types[81]
2548 #define SWIGTYPE_p_wxMirrorDC swig_types[82]
2549 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMoveEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[87]
2554 #define SWIGTYPE_p_wxNativeFontInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativePixelData swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[90]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[93]
2560 #define SWIGTYPE_p_wxObject swig_types[94]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[95]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPaintDC swig_types[98]
2565 #define SWIGTYPE_p_wxPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPalette swig_types[100]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[102]
2569 #define SWIGTYPE_p_wxPen swig_types[103]
2570 #define SWIGTYPE_p_wxPenList swig_types[104]
2571 #define SWIGTYPE_p_wxPixelDataBase swig_types[105]
2572 #define SWIGTYPE_p_wxPoint swig_types[106]
2573 #define SWIGTYPE_p_wxPostScriptDC swig_types[107]
2574 #define SWIGTYPE_p_wxPrintData swig_types[108]
2575 #define SWIGTYPE_p_wxPrinterDC swig_types[109]
2576 #define SWIGTYPE_p_wxPseudoDC swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[114]
2581 #define SWIGTYPE_p_wxPyImageHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPyLocale swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119]
2586 #define SWIGTYPE_p_wxRect swig_types[120]
2587 #define SWIGTYPE_p_wxRegion swig_types[121]
2588 #define SWIGTYPE_p_wxRegionIterator swig_types[122]
2589 #define SWIGTYPE_p_wxRendererNative swig_types[123]
2590 #define SWIGTYPE_p_wxRendererVersion swig_types[124]
2591 #define SWIGTYPE_p_wxScreenDC swig_types[125]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[126]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSize swig_types[130]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSizer swig_types[132]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[133]
2600 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[134]
2601 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2602 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStockGDI swig_types[137]
2604 #define SWIGTYPE_p_wxString swig_types[138]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[139]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[140]
2607 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[141]
2608 #define SWIGTYPE_p_wxValidator swig_types[142]
2609 #define SWIGTYPE_p_wxWindow swig_types[143]
2610 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[144]
2611 #define SWIGTYPE_p_wxWindowDC swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[146]
2613 #define SWIGTYPE_p_wxXPMHandler swig_types[147]
2614 static swig_type_info
*swig_types
[149];
2615 static swig_module_info swig_module
= {swig_types
, 148, 0, 0, 0, 0};
2616 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2617 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2619 /* -------- TYPES TABLE (END) -------- */
2621 #if (PY_VERSION_HEX <= 0x02000000)
2622 # if !defined(SWIG_PYTHON_CLASSIC)
2623 # error "This python version requires to use swig with the '-classic' option"
2626 #if (PY_VERSION_HEX <= 0x02020000)
2627 # error "This python version requires to use swig with the '-nomodern' option"
2629 #if (PY_VERSION_HEX <= 0x02020000)
2630 # error "This python version requires to use swig with the '-nomodernargs' option"
2633 # error "This python version requires to use swig with the '-nofastunpack' option"
2636 /*-----------------------------------------------
2637 @(target):= _gdi_.so
2638 ------------------------------------------------*/
2639 #define SWIG_init init_gdi_
2641 #define SWIG_name "_gdi_"
2643 #define SWIGVERSION 0x010329
2646 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2647 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2650 #include <stdexcept>
2654 class PyObject_ptr
{
2659 PyObject_ptr() :_obj(0)
2663 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2668 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2670 if (initial_ref
) Py_XINCREF(_obj
);
2673 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2675 Py_XINCREF(item
._obj
);
2686 operator PyObject
*() const
2691 PyObject
*operator->() const
2700 struct PyObject_var
: PyObject_ptr
{
2701 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2703 PyObject_var
& operator = (PyObject
* obj
)
2713 #include "wx/wxPython/wxPython.h"
2714 #include "wx/wxPython/pyclasses.h"
2717 static const wxString
wxPyEmptyString(wxEmptyString
);
2719 #define SWIG_From_long PyInt_FromLong
2722 SWIGINTERNINLINE PyObject
*
2723 SWIG_From_int (int value
)
2725 return SWIG_From_long (value
);
2731 # define LLONG_MIN LONG_LONG_MIN
2734 # define LLONG_MAX LONG_LONG_MAX
2737 # define ULLONG_MAX ULONG_LONG_MAX
2742 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2744 if (PyNumber_Check(obj
)) {
2745 if (val
) *val
= PyInt_AsLong(obj
);
2748 return SWIG_TypeError
;
2753 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2756 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2757 return SWIG_TypeError
;
2760 *val
= (unsigned long)v
;
2766 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2769 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2770 if (SWIG_IsOK(res
)) {
2771 if ((v
> UCHAR_MAX
)) {
2772 return SWIG_OverflowError
;
2774 if (val
) *val
= static_cast< unsigned char >(v
);
2781 SWIGINTERNINLINE PyObject
*
2782 SWIG_From_unsigned_SS_long (unsigned long value
)
2784 return (value
> LONG_MAX
) ?
2785 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_char (unsigned char value
)
2792 return SWIG_From_unsigned_SS_long (value
);
2795 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return false;
2798 if ( ! wxColour_helper(other
, &obj
) ) {
2802 return self
->operator==(*obj
);
2804 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return true;
2807 if ( ! wxColour_helper(other
, &obj
)) {
2811 return self
->operator!=(*obj
);
2815 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2817 if (obj
== Py_True
) {
2818 if (val
) *val
= true;
2820 } else if (obj
== Py_False
) {
2821 if (val
) *val
= false;
2825 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2826 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2831 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2832 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2836 int alpha
= wxALPHA_OPAQUE
;
2839 green
= self
->Green();
2840 blue
= self
->Blue();
2841 alpha
= self
->Alpha();
2843 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2844 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2845 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2847 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2850 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2851 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2855 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2858 int res
= SWIG_AsVal_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< int >(v
);
2869 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2871 int count
= self
->GetDashes(&dashes
);
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2873 PyObject
* retval
= PyList_New(0);
2874 for (int x
=0; x
<count
; x
++) {
2875 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2876 PyList_Append(retval
, pyint
);
2879 wxPyEndBlockThreads(blocked
);
2882 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 int size
= PyList_Size(pyDashes
);
2885 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2887 // black magic warning! The array of wxDashes needs to exist as
2888 // long as the pen does because wxPen does not copy the array. So
2889 // stick a copy in a Python string object and attach it to _self,
2890 // and then call SetDashes with a pointer to that array. Then
2891 // when the Python pen object is destroyed the array will be
2893 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2894 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2896 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2898 Py_DECREF(strDashes
);
2899 wxPyEndBlockThreads(blocked
);
2901 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2902 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2904 #include <wx/rawbmp.h>
2907 #include <wx/image.h>
2909 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2910 char** cArray
= NULL
;
2913 if (!PyList_Check(listOfStrings
)) {
2914 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2917 count
= PyList_Size(listOfStrings
);
2918 cArray
= new char*[count
];
2920 for(int x
=0; x
<count
; x
++) {
2921 // TODO: Need some validation and error checking here
2922 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2928 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2929 char** cArray
= NULL
;
2932 cArray
= ConvertListOfStrings(listOfStrings
);
2935 bmp
= new wxBitmap(cArray
);
2939 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2942 PyString_AsStringAndSize(bits
, &buf
, &length
);
2943 return new wxBitmap(buf
, width
, height
, depth
);
2945 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2946 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2947 wxSize
size(self
->GetWidth(), self
->GetHeight());
2950 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2951 wxMask
*mask
= new wxMask(*self
, colour
);
2952 self
->SetMask(mask
);
2954 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2955 self
->SetWidth(size
.x
);
2956 self
->SetHeight(size
.y
);
2958 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2959 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2961 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2962 // appears to me that the other platforms are already doing it, so I'll just
2963 // automatically do it for wxMSW here.
2965 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2966 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2968 #define wxPy_premultiply(p, a) (p)
2969 #define wxPy_unpremultiply(p, a) (p)
2973 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2974 buffer data
, int DATASIZE
,
2975 buffer alpha
, int ALPHASIZE
)
2977 if (DATASIZE
!= width
*height
*3) {
2978 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2982 if (ALPHASIZE
!= width
*height
) {
2983 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2987 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2988 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2990 // raise an exception...
2991 wxPyErr_SetString(PyExc_RuntimeError
,
2992 "Failed to gain raw access to bitmap data.");
2997 wxAlphaPixelData::Iterator
p(pixData
);
2998 for (int y
=0; y
<height
; y
++) {
2999 wxAlphaPixelData::Iterator rowStart
= p
;
3000 for (int x
=0; x
<width
; x
++) {
3001 byte a
= *(alpha
++);
3002 p
.Red() = wxPy_premultiply(*(data
++), a
);
3003 p
.Green() = wxPy_premultiply(*(data
++), a
);
3004 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3009 p
.OffsetY(pixData
, 1);
3014 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3016 if (DATASIZE
!= width
*height
*3) {
3017 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3022 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3046 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3048 if (DATASIZE
!= width
*height
*4) {
3049 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3053 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3054 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3056 // raise an exception...
3057 wxPyErr_SetString(PyExc_RuntimeError
,
3058 "Failed to gain raw access to bitmap data.");
3063 wxAlphaPixelData::Iterator
p(pixData
);
3064 for (int y
=0; y
<height
; y
++) {
3065 wxAlphaPixelData::Iterator rowStart
= p
;
3066 for (int x
=0; x
<width
; x
++) {
3068 p
.Red() = wxPy_premultiply(*(data
++), a
);
3069 p
.Green() = wxPy_premultiply(*(data
++), a
);
3070 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3071 p
.Alpha() = a
; data
++;
3075 p
.OffsetY(pixData
, 1);
3081 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3083 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3084 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3085 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3087 self
->Green() = green
;
3088 self
->Blue() = blue
;
3090 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3091 PyObject
* rv
= PyTuple_New(3);
3092 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3093 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3094 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3098 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3100 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3101 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3102 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3103 self
->Red() = wxPy_premultiply(red
, alpha
);
3104 self
->Green() = wxPy_premultiply(green
, alpha
);
3105 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3106 self
->Alpha() = alpha
;
3108 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3109 PyObject
* rv
= PyTuple_New(4);
3110 int red
= self
->Red();
3111 int green
= self
->Green();
3112 int blue
= self
->Blue();
3113 int alpha
= self
->Alpha();
3115 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3116 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3117 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3118 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3121 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3123 return new wxMask(bitmap
, *wxBLACK
);
3125 return new wxMask(bitmap
, colour
);
3128 #include <wx/iconbndl.h>
3130 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3131 wxIcon
* icon
= new wxIcon();
3132 icon
->CopyFromBitmap(bmp
);
3135 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3136 char** cArray
= NULL
;
3139 cArray
= ConvertListOfStrings(listOfStrings
);
3142 icon
= new wxIcon(cArray
);
3146 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3147 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3149 return new wxIconLocation(*filename
, num
);
3154 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3156 self
->SetIndex(num
);
3161 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3163 return self
->GetIndex();
3168 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3170 wxImage
img(cursorName
, type
);
3171 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3172 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3173 return new wxCursor(img
);
3175 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3178 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3181 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3184 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3185 return self
->operator bool();
3188 #include <wx/fontutil.h>
3189 #include <wx/fontmap.h>
3190 #include <wx/fontenum.h>
3192 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3193 return self
->ToString();
3196 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3197 { wxPyRaiseNotImplemented(); return NULL
; }
3199 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3200 { wxPyRaiseNotImplemented(); return false; }
3203 SWIGINTERNINLINE PyObject
*
3204 SWIG_From_size_t (size_t value
)
3206 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3210 SWIGINTERNINLINE
int
3211 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3214 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3215 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3219 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3220 wxFontEncoding alt_enc
;
3221 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3222 return PyInt_FromLong(alt_enc
);
3228 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3229 wxNativeFontInfo nfi
;
3230 nfi
.FromString(info
);
3231 return new wxFont(nfi
);
3233 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3234 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3236 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3237 return wxFontBase::New(pixelSize
, family
,
3238 style
, weight
, underlined
,
3241 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3242 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3244 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3245 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3247 class wxPyFontEnumerator
: public wxFontEnumerator
{
3249 wxPyFontEnumerator() {}
3250 ~wxPyFontEnumerator() {}
3252 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3253 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3258 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3259 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3262 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3264 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3265 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3266 ret
= wxArrayString2PyList_helper(arr
);
3267 wxPyEndBlockThreads(blocked
);
3270 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3272 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 ret
= wxArrayString2PyList_helper(arr
);
3275 wxPyEndBlockThreads(blocked
);
3281 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3284 loc
= new wxLocale();
3286 loc
= new wxLocale(language
, flags
);
3287 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3288 // for the floating point conversions and such to work right.
3289 #if PY_VERSION_HEX < 0x02040000
3290 setlocale(LC_NUMERIC
, "C");
3294 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3295 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3296 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3297 // for the floating point conversions and such to work right.
3298 #if PY_VERSION_HEX < 0x02040000
3299 setlocale(LC_NUMERIC
, "C");
3303 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3304 bool rc
= self
->Init(language
, flags
);
3305 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3306 // for the floating point conversions and such to work right.
3307 #if PY_VERSION_HEX < 0x02040000
3308 setlocale(LC_NUMERIC
, "C");
3313 class wxPyLocale
: public wxLocale
3318 wxPyLocale(const wxChar
*szName
, // name (for messages)
3319 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3320 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3321 bool bLoadDefault
= true, // preload wxstd.mo?
3322 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3324 wxPyLocale(int language
, // wxLanguage id or custom language
3325 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3329 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3330 const wxChar
*szDomain
= NULL
) const;
3331 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3332 const wxChar
*szOrigString2
, size_t n
,
3333 const wxChar
*szDomain
= NULL
) const;
3335 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3336 const wxChar
*szDomain
= NULL
) const;
3337 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3338 const wxChar
*szOrigString2
, size_t n
,
3339 const wxChar
*szDomain
= NULL
) const;
3343 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3346 wxPyLocale::wxPyLocale() : wxLocale()
3350 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3351 const wxChar
*szShort
, // dir prefix (for msg files)
3352 const wxChar
*szLocale
, // locale (for setlocale)
3353 bool bLoadDefault
, // preload wxstd.mo?
3354 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3355 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3359 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3360 int flags
) : wxLocale(language
, flags
)
3364 wxPyLocale::~wxPyLocale()
3368 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3369 const wxChar
*szDomain
) const
3371 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3372 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3375 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szOrigString2
, size_t n
,
3377 const wxChar
*szDomain
) const
3379 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3380 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3383 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3384 const wxChar
*szDomain
) const
3387 static wxString str
;
3388 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3391 PyObject
* param1
= wx2PyString(szOrigString
);
3392 PyObject
* param2
= wx2PyString(szDomain
);
3393 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3397 str
= Py2wxString(ret
);
3401 wxPyEndBlockThreads(blocked
);
3402 return (found
? (wxChar
*)str
.c_str() : NULL
);
3405 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3406 const wxChar
*szOrigString2
, size_t n
,
3407 const wxChar
*szDomain
) const
3410 static wxString str
;
3411 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3412 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3413 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3414 PyObject
* param1
= wx2PyString(szOrigString
);
3415 PyObject
* param2
= wx2PyString(szOrigString2
);
3416 PyObject
* param4
= wx2PyString(szDomain
);
3417 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3422 str
= Py2wxString(ret
);
3426 wxPyEndBlockThreads(blocked
);
3427 return (found
? (wxChar
*)str
.c_str() : NULL
);
3430 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3433 loc
= new wxPyLocale();
3435 loc
= new wxPyLocale(language
, flags
);
3436 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3437 // for the floating point conversions and such to work right.
3438 #if PY_VERSION_HEX < 0x02040000
3439 setlocale(LC_NUMERIC
, "C");
3444 #include "wx/wxPython/pydrawxxx.h"
3446 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3448 self
->GetPixel(x
, y
, &col
);
3451 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3453 self
->GetPixel(pt
, &col
);
3458 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3460 if (PyNumber_Check(obj
)) {
3461 if (val
) *val
= PyFloat_AsDouble(obj
);
3464 return SWIG_TypeError
;
3467 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3469 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3472 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3474 self
->GetClippingBox(rect
);
3477 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3479 self
->GetPartialTextExtents(text
, widths
);
3483 #define SWIG_From_double PyFloat_FromDouble
3485 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3486 self
->SetLogicalOrigin(point
.x
, point
.y
);
3488 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3489 self
->SetDeviceOrigin(point
.x
, point
.y
);
3491 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3492 self
->CalcBoundingBox(point
.x
, point
.y
);
3494 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3495 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3497 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3498 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3500 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3501 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3503 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3510 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3513 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3521 #include <wx/dcbuffer.h>
3524 #include <wx/dcps.h>
3527 #include <wx/metafile.h>
3531 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3532 self
->AddColour(name
, wxColour(red
, green
, blue
));
3535 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3536 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3537 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3538 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3541 #include <wx/effects.h>
3544 #include "wx/renderer.h"
3547 SWIGINTERNINLINE PyObject
*
3548 SWIG_From_bool (bool value
)
3550 return PyBool_FromLong(value
? 1 : 0);
3554 #include "wx/wxPython/pseudodc.h"
3556 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3558 self
->GetIdBounds(id
, rect
);
3564 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3565 PyObject
*resultobj
= 0;
3566 wxGDIObject
*result
= 0 ;
3568 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3570 if (!wxPyCheckForApp()) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (wxGDIObject
*)new wxGDIObject();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3583 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3584 PyObject
*resultobj
= 0;
3585 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3588 PyObject
*swig_obj
[1] ;
3590 if (!args
) SWIG_fail
;
3592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3593 if (!SWIG_IsOK(res1
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3596 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_Py_Void();
3611 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3612 PyObject
*resultobj
= 0;
3613 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3617 PyObject
*swig_obj
[1] ;
3619 if (!args
) SWIG_fail
;
3621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3622 if (!SWIG_IsOK(res1
)) {
3623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3625 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (bool)(arg1
)->IsNull();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3641 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3644 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3645 return SWIG_Py_Void();
3648 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3649 return SWIG_Python_InitShadowInstance(args
);
3652 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
= 0;
3654 byte arg1
= (byte
) 0 ;
3655 byte arg2
= (byte
) 0 ;
3656 byte arg3
= (byte
) 0 ;
3657 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3658 wxColour
*result
= 0 ;
3659 unsigned char val1
;
3661 unsigned char val2
;
3663 unsigned char val3
;
3665 unsigned char val4
;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3669 PyObject
* obj2
= 0 ;
3670 PyObject
* obj3
= 0 ;
3671 char * kwnames
[] = {
3672 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3677 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3678 if (!SWIG_IsOK(ecode1
)) {
3679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3681 arg1
= static_cast< byte
>(val1
);
3684 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3685 if (!SWIG_IsOK(ecode2
)) {
3686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3688 arg2
= static_cast< byte
>(val2
);
3691 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3692 if (!SWIG_IsOK(ecode3
)) {
3693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3695 arg3
= static_cast< byte
>(val3
);
3698 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3699 if (!SWIG_IsOK(ecode4
)) {
3700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3702 arg4
= static_cast< byte
>(val4
);
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3717 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
= 0;
3719 wxString
*arg1
= 0 ;
3720 wxColour
*result
= 0 ;
3721 bool temp1
= false ;
3722 PyObject
* obj0
= 0 ;
3723 char * kwnames
[] = {
3724 (char *) "colorName", NULL
3727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3729 arg1
= wxString_in_helper(obj0
);
3730 if (arg1
== NULL
) SWIG_fail
;
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3755 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
= 0;
3757 unsigned long arg1
;
3758 wxColour
*result
= 0 ;
3759 unsigned long val1
;
3761 PyObject
* obj0
= 0 ;
3762 char * kwnames
[] = {
3763 (char *) "colRGB", NULL
3766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3767 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3768 if (!SWIG_IsOK(ecode1
)) {
3769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3771 arg1
= static_cast< unsigned long >(val1
);
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (wxColour
*)new wxColour(arg1
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3785 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3786 PyObject
*resultobj
= 0;
3787 wxColour
*arg1
= (wxColour
*) 0 ;
3790 PyObject
*swig_obj
[1] ;
3792 if (!args
) SWIG_fail
;
3794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3795 if (!SWIG_IsOK(res1
)) {
3796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3798 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_Py_Void();
3813 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 PyObject
*resultobj
= 0;
3815 wxColour
*arg1
= (wxColour
*) 0 ;
3819 PyObject
*swig_obj
[1] ;
3821 if (!args
) SWIG_fail
;
3823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3824 if (!SWIG_IsOK(res1
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3827 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (byte
)(arg1
)->Red();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3841 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxColour
*arg1
= (wxColour
*) 0 ;
3847 PyObject
*swig_obj
[1] ;
3849 if (!args
) SWIG_fail
;
3851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3852 if (!SWIG_IsOK(res1
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3855 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (byte
)(arg1
)->Green();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3869 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3870 PyObject
*resultobj
= 0;
3871 wxColour
*arg1
= (wxColour
*) 0 ;
3875 PyObject
*swig_obj
[1] ;
3877 if (!args
) SWIG_fail
;
3879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3880 if (!SWIG_IsOK(res1
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3883 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (byte
)(arg1
)->Blue();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3897 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxColour
*arg1
= (wxColour
*) 0 ;
3903 PyObject
*swig_obj
[1] ;
3905 if (!args
) SWIG_fail
;
3907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3908 if (!SWIG_IsOK(res1
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3911 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (byte
)(arg1
)->Alpha();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3925 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3926 PyObject
*resultobj
= 0;
3927 wxColour
*arg1
= (wxColour
*) 0 ;
3931 PyObject
*swig_obj
[1] ;
3933 if (!args
) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3939 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Ok();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3955 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
= 0;
3957 wxColour
*arg1
= (wxColour
*) 0 ;
3961 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3964 unsigned char val2
;
3966 unsigned char val3
;
3968 unsigned char val4
;
3970 unsigned char val5
;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 PyObject
* obj2
= 0 ;
3975 PyObject
* obj3
= 0 ;
3976 PyObject
* obj4
= 0 ;
3977 char * kwnames
[] = {
3978 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
3982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3983 if (!SWIG_IsOK(res1
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3986 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3987 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3988 if (!SWIG_IsOK(ecode2
)) {
3989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3991 arg2
= static_cast< byte
>(val2
);
3992 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3993 if (!SWIG_IsOK(ecode3
)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3996 arg3
= static_cast< byte
>(val3
);
3997 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3998 if (!SWIG_IsOK(ecode4
)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4001 arg4
= static_cast< byte
>(val4
);
4003 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4004 if (!SWIG_IsOK(ecode5
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4007 arg5
= static_cast< byte
>(val5
);
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_Py_Void();
4022 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
= 0;
4024 wxColour
*arg1
= (wxColour
*) 0 ;
4025 unsigned long arg2
;
4028 unsigned long val2
;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4032 char * kwnames
[] = {
4033 (char *) "self",(char *) "colRGB", NULL
4036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4038 if (!SWIG_IsOK(res1
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4041 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4042 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4043 if (!SWIG_IsOK(ecode2
)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4046 arg2
= static_cast< unsigned long >(val2
);
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_Py_Void();
4060 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
= 0;
4062 wxColour
*arg1
= (wxColour
*) 0 ;
4063 wxString
*arg2
= 0 ;
4066 bool temp2
= false ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "self",(char *) "colourName", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4078 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4080 arg2
= wxString_in_helper(obj1
);
4081 if (arg2
== NULL
) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 (arg1
)->InitFromName((wxString
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_Py_Void();
4105 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= 0;
4107 wxColour
*arg1
= (wxColour
*) 0 ;
4108 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4116 char * kwnames
[] = {
4117 (char *) "self",(char *) "flags", NULL
4120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4122 if (!SWIG_IsOK(res1
)) {
4123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4125 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4128 if (!SWIG_IsOK(ecode2
)) {
4129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4131 arg2
= static_cast< long >(val2
);
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4152 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxColour
*arg1
= (wxColour
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4166 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_From_long(static_cast< long >(result
));
4180 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 wxColour
*arg1
= (wxColour
*) 0 ;
4183 PyObject
*arg2
= (PyObject
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4189 char * kwnames
[] = {
4190 (char *) "self",(char *) "other", NULL
4193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4195 if (!SWIG_IsOK(res1
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4198 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4201 result
= (bool)wxColour___eq__(arg1
,arg2
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4213 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
= 0;
4215 wxColour
*arg1
= (wxColour
*) 0 ;
4216 PyObject
*arg2
= (PyObject
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 char * kwnames
[] = {
4223 (char *) "self",(char *) "other", NULL
4226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4228 if (!SWIG_IsOK(res1
)) {
4229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4231 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4234 result
= (bool)wxColour___ne__(arg1
,arg2
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
= 0;
4248 wxColour
*arg1
= (wxColour
*) 0 ;
4249 bool arg2
= (bool) false ;
4250 PyObject
*result
= 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "self",(char *) "includeAlpha", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4263 if (!SWIG_IsOK(res1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4266 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4268 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4269 if (!SWIG_IsOK(ecode2
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4272 arg2
= static_cast< bool >(val2
);
4275 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4285 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4286 PyObject
*resultobj
= 0;
4287 wxColour
*arg1
= (wxColour
*) 0 ;
4288 unsigned long result
;
4291 PyObject
*swig_obj
[1] ;
4293 if (!args
) SWIG_fail
;
4295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4296 if (!SWIG_IsOK(res1
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4299 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4301 result
= (unsigned long)wxColour_GetRGB(arg1
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4311 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4314 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4315 return SWIG_Py_Void();
4318 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 return SWIG_Python_InitShadowInstance(args
);
4322 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= 0;
4325 unsigned char *arg2
= (unsigned char *) 0 ;
4326 unsigned char *arg3
= (unsigned char *) 0 ;
4327 unsigned char *arg4
= (unsigned char *) 0 ;
4328 wxPalette
*result
= 0 ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 PyObject
* obj2
= 0 ;
4340 PyObject
* obj3
= 0 ;
4341 char * kwnames
[] = {
4342 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4347 if (!SWIG_IsOK(ecode1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4350 arg1
= static_cast< int >(val1
);
4351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4352 if (!SWIG_IsOK(res2
)) {
4353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4355 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4356 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4357 if (!SWIG_IsOK(res3
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4360 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4361 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4362 if (!SWIG_IsOK(res4
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4365 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4367 if (!wxPyCheckForApp()) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4380 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4381 PyObject
*resultobj
= 0;
4382 wxPalette
*arg1
= (wxPalette
*) 0 ;
4385 PyObject
*swig_obj
[1] ;
4387 if (!args
) SWIG_fail
;
4389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4390 if (!SWIG_IsOK(res1
)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4393 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_Py_Void();
4408 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxPalette
*arg1
= (wxPalette
*) 0 ;
4417 unsigned char val2
;
4419 unsigned char val3
;
4421 unsigned char val4
;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 PyObject
* obj2
= 0 ;
4426 PyObject
* obj3
= 0 ;
4427 char * kwnames
[] = {
4428 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4433 if (!SWIG_IsOK(res1
)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4436 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4437 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4438 if (!SWIG_IsOK(ecode2
)) {
4439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4441 arg2
= static_cast< byte
>(val2
);
4442 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4443 if (!SWIG_IsOK(ecode3
)) {
4444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4446 arg3
= static_cast< byte
>(val3
);
4447 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4448 if (!SWIG_IsOK(ecode4
)) {
4449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4451 arg4
= static_cast< byte
>(val4
);
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_From_int(static_cast< int >(result
));
4465 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
= 0;
4467 wxPalette
*arg1
= (wxPalette
*) 0 ;
4469 byte
*arg3
= (byte
*) 0 ;
4470 byte
*arg4
= (byte
*) 0 ;
4471 byte
*arg5
= (byte
*) 0 ;
4478 int res3
= SWIG_TMPOBJ
;
4480 int res4
= SWIG_TMPOBJ
;
4482 int res5
= SWIG_TMPOBJ
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "pixel", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4497 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4502 arg2
= static_cast< int >(val2
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 if (SWIG_IsTmpObj(res3
)) {
4513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4515 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4518 if (SWIG_IsTmpObj(res4
)) {
4519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4521 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4524 if (SWIG_IsTmpObj(res5
)) {
4525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4527 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4536 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4537 PyObject
*resultobj
= 0;
4538 wxPalette
*arg1
= (wxPalette
*) 0 ;
4542 PyObject
*swig_obj
[1] ;
4544 if (!args
) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4550 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= SWIG_From_int(static_cast< int >(result
));
4564 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4565 PyObject
*resultobj
= 0;
4566 wxPalette
*arg1
= (wxPalette
*) 0 ;
4570 PyObject
*swig_obj
[1] ;
4572 if (!args
) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4578 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (bool)(arg1
)->Ok();
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4594 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4597 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4598 return SWIG_Py_Void();
4601 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4602 return SWIG_Python_InitShadowInstance(args
);
4605 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= 0 ;
4608 int arg2
= (int) 1 ;
4609 int arg3
= (int) wxSOLID
;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4618 PyObject
* obj2
= 0 ;
4619 char * kwnames
[] = {
4620 (char *) "colour",(char *) "width",(char *) "style", NULL
4623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4626 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4630 if (!SWIG_IsOK(ecode2
)) {
4631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4633 arg2
= static_cast< int >(val2
);
4636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4637 if (!SWIG_IsOK(ecode3
)) {
4638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4640 arg3
= static_cast< int >(val3
);
4643 if (!wxPyCheckForApp()) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4656 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4657 PyObject
*resultobj
= 0;
4658 wxPen
*arg1
= (wxPen
*) 0 ;
4661 PyObject
*swig_obj
[1] ;
4663 if (!args
) SWIG_fail
;
4665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4666 if (!SWIG_IsOK(res1
)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4669 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_Py_Void();
4684 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4685 PyObject
*resultobj
= 0;
4686 wxPen
*arg1
= (wxPen
*) 0 ;
4690 PyObject
*swig_obj
[1] ;
4692 if (!args
) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4698 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (int)(arg1
)->GetCap();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_From_int(static_cast< int >(result
));
4712 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxPen
*arg1
= (wxPen
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4726 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (arg1
)->GetColour();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4740 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxPen
*arg1
= (wxPen
*) 0 ;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4754 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (int)(arg1
)->GetJoin();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_int(static_cast< int >(result
));
4768 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4769 PyObject
*resultobj
= 0;
4770 wxPen
*arg1
= (wxPen
*) 0 ;
4774 PyObject
*swig_obj
[1] ;
4776 if (!args
) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4782 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (int)(arg1
)->GetStyle();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_From_int(static_cast< int >(result
));
4796 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4797 PyObject
*resultobj
= 0;
4798 wxPen
*arg1
= (wxPen
*) 0 ;
4802 PyObject
*swig_obj
[1] ;
4804 if (!args
) SWIG_fail
;
4806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4807 if (!SWIG_IsOK(res1
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4810 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (int)(arg1
)->GetWidth();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_From_int(static_cast< int >(result
));
4824 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4825 PyObject
*resultobj
= 0;
4826 wxPen
*arg1
= (wxPen
*) 0 ;
4830 PyObject
*swig_obj
[1] ;
4832 if (!args
) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4838 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (bool)(arg1
)->Ok();
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
= 0;
4856 wxPen
*arg1
= (wxPen
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4864 char * kwnames
[] = {
4865 (char *) "self",(char *) "cap_style", NULL
4868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4870 if (!SWIG_IsOK(res1
)) {
4871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4873 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4875 if (!SWIG_IsOK(ecode2
)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4878 arg2
= static_cast< int >(val2
);
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 (arg1
)->SetCap(arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_Py_Void();
4892 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
= 0;
4894 wxPen
*arg1
= (wxPen
*) 0 ;
4895 wxColour
*arg2
= 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4901 char * kwnames
[] = {
4902 (char *) "self",(char *) "colour", NULL
4905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4907 if (!SWIG_IsOK(res1
)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4910 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4913 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->SetColour(*arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_Py_Void();
4928 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
= 0;
4930 wxPen
*arg1
= (wxPen
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "self",(char *) "join_style", NULL
4942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4947 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4949 if (!SWIG_IsOK(ecode2
)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4952 arg2
= static_cast< int >(val2
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 (arg1
)->SetJoin(arg2
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= SWIG_Py_Void();
4966 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
= 0;
4968 wxPen
*arg1
= (wxPen
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 char * kwnames
[] = {
4977 (char *) "self",(char *) "style", NULL
4980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4985 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4987 if (!SWIG_IsOK(ecode2
)) {
4988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4990 arg2
= static_cast< int >(val2
);
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 (arg1
)->SetStyle(arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_Py_Void();
5004 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= 0;
5006 wxPen
*arg1
= (wxPen
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5014 char * kwnames
[] = {
5015 (char *) "self",(char *) "width", NULL
5018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5020 if (!SWIG_IsOK(res1
)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5023 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5025 if (!SWIG_IsOK(ecode2
)) {
5026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5028 arg2
= static_cast< int >(val2
);
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 (arg1
)->SetWidth(arg2
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_Py_Void();
5042 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
= 0;
5044 wxPen
*arg1
= (wxPen
*) 0 ;
5046 wxDash
*arg3
= (wxDash
*) 0 ;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5051 char * kwnames
[] = {
5052 (char *) "self",(char *) "dashes", NULL
5055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5057 if (!SWIG_IsOK(res1
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5060 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5062 arg2
= PyList_Size(obj1
);
5063 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5064 if (arg3
== NULL
) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetDashes(arg2
,arg3
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_Py_Void();
5074 if (arg3
) delete [] arg3
;
5079 if (arg3
) delete [] arg3
;
5085 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5086 PyObject
*resultobj
= 0;
5087 wxPen
*arg1
= (wxPen
*) 0 ;
5088 PyObject
*result
= 0 ;
5091 PyObject
*swig_obj
[1] ;
5093 if (!args
) SWIG_fail
;
5095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5096 if (!SWIG_IsOK(res1
)) {
5097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5099 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5113 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
= 0;
5115 wxPen
*arg1
= (wxPen
*) 0 ;
5116 PyObject
*arg2
= (PyObject
*) 0 ;
5117 PyObject
*arg3
= (PyObject
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 char * kwnames
[] = {
5124 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5132 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 wxPen__SetDashes(arg1
,arg2
,arg3
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_Py_Void();
5148 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5149 PyObject
*resultobj
= 0;
5150 wxPen
*arg1
= (wxPen
*) 0 ;
5154 PyObject
*swig_obj
[1] ;
5156 if (!args
) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5162 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_From_int(static_cast< int >(result
));
5176 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxPen
*arg1
= (wxPen
*) 0 ;
5179 wxBitmap
*result
= 0 ;
5182 PyObject
*swig_obj
[1] ;
5184 if (!args
) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5190 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (wxBitmap
*)(arg1
)->GetStipple();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5204 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
= 0;
5206 wxPen
*arg1
= (wxPen
*) 0 ;
5207 wxBitmap
*arg2
= 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5214 char * kwnames
[] = {
5215 (char *) "self",(char *) "stipple", NULL
5218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5223 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5225 if (!SWIG_IsOK(res2
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5231 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 (arg1
)->SetStipple(*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_Py_Void();
5245 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5248 wxPen
*arg2
= (wxPen
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "self",(char *) "other", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5262 if (!SWIG_IsOK(res1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5265 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5267 if (!SWIG_IsOK(res2
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5270 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5286 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxPen
*arg1
= (wxPen
*) 0 ;
5289 wxPen
*arg2
= (wxPen
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 char * kwnames
[] = {
5298 (char *) "self",(char *) "other", NULL
5301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5303 if (!SWIG_IsOK(res1
)) {
5304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5306 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5308 if (!SWIG_IsOK(res2
)) {
5309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5311 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5327 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5330 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5331 return SWIG_Py_Void();
5334 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 return SWIG_Python_InitShadowInstance(args
);
5338 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
= 0;
5340 wxColour
*arg1
= 0 ;
5341 int arg2
= (int) wxSOLID
;
5342 wxBrush
*result
= 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 char * kwnames
[] = {
5349 (char *) "colour",(char *) "style", NULL
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5359 if (!SWIG_IsOK(ecode2
)) {
5360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5362 arg2
= static_cast< int >(val2
);
5365 if (!wxPyCheckForApp()) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5378 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxBitmap
*arg1
= 0 ;
5381 wxBrush
*result
= 0 ;
5384 PyObject
* obj0
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "stippleBitmap", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5390 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5391 if (!SWIG_IsOK(res1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5399 if (!wxPyCheckForApp()) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5412 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5413 PyObject
*resultobj
= 0;
5414 wxBrush
*arg1
= (wxBrush
*) 0 ;
5417 PyObject
*swig_obj
[1] ;
5419 if (!args
) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5425 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= SWIG_Py_Void();
5440 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 wxBrush
*arg1
= (wxBrush
*) 0 ;
5443 wxColour
*arg2
= 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "col", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5458 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetColour((wxColour
const &)*arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
= 0;
5478 wxBrush
*arg1
= (wxBrush
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "self",(char *) "style", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5495 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5497 if (!SWIG_IsOK(ecode2
)) {
5498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5500 arg2
= static_cast< int >(val2
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetStyle(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_Py_Void();
5514 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
= 0;
5516 wxBrush
*arg1
= (wxBrush
*) 0 ;
5517 wxBitmap
*arg2
= 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 char * kwnames
[] = {
5525 (char *) "self",(char *) "stipple", NULL
5528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5533 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5535 if (!SWIG_IsOK(res2
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5541 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_Py_Void();
5555 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 PyObject
*resultobj
= 0;
5557 wxBrush
*arg1
= (wxBrush
*) 0 ;
5561 PyObject
*swig_obj
[1] ;
5563 if (!args
) SWIG_fail
;
5565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5566 if (!SWIG_IsOK(res1
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5569 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= ((wxBrush
const *)arg1
)->GetColour();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5583 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 wxBrush
*arg1
= (wxBrush
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5597 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_From_int(static_cast< int >(result
));
5611 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxBrush
*arg1
= (wxBrush
*) 0 ;
5614 wxBitmap
*result
= 0 ;
5617 PyObject
*swig_obj
[1] ;
5619 if (!args
) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5625 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5639 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5640 PyObject
*resultobj
= 0;
5641 wxBrush
*arg1
= (wxBrush
*) 0 ;
5645 PyObject
*swig_obj
[1] ;
5647 if (!args
) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5653 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5670 PyObject
*resultobj
= 0;
5671 wxBrush
*arg1
= (wxBrush
*) 0 ;
5675 PyObject
*swig_obj
[1] ;
5677 if (!args
) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5683 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (bool)(arg1
)->Ok();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5702 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5703 return SWIG_Py_Void();
5706 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5707 return SWIG_Python_InitShadowInstance(args
);
5710 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= 0;
5712 wxString
*arg1
= 0 ;
5713 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5714 wxBitmap
*result
= 0 ;
5715 bool temp1
= false ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 char * kwnames
[] = {
5721 (char *) "name",(char *) "type", NULL
5724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5726 arg1
= wxString_in_helper(obj0
);
5727 if (arg1
== NULL
) SWIG_fail
;
5731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5732 if (!SWIG_IsOK(ecode2
)) {
5733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5735 arg2
= static_cast< wxBitmapType
>(val2
);
5738 if (!wxPyCheckForApp()) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5759 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5760 PyObject
*resultobj
= 0;
5761 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5764 PyObject
*swig_obj
[1] ;
5766 if (!args
) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5772 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_Py_Void();
5785 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= 0;
5789 int arg3
= (int) -1 ;
5790 wxBitmap
*result
= 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5799 PyObject
* obj2
= 0 ;
5800 char * kwnames
[] = {
5801 (char *) "width",(char *) "height",(char *) "depth", NULL
5804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5806 if (!SWIG_IsOK(ecode1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5809 arg1
= static_cast< int >(val1
);
5810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5811 if (!SWIG_IsOK(ecode2
)) {
5812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5814 arg2
= static_cast< int >(val2
);
5816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5817 if (!SWIG_IsOK(ecode3
)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5820 arg3
= static_cast< int >(val3
);
5823 if (!wxPyCheckForApp()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5836 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5839 wxBitmap
*result
= 0 ;
5842 PyObject
* obj0
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "icon", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5855 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5857 if (!wxPyCheckForApp()) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5870 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5873 int arg2
= (int) -1 ;
5874 wxBitmap
*result
= 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "image",(char *) "depth", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5893 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5896 if (!SWIG_IsOK(ecode2
)) {
5897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5899 arg2
= static_cast< int >(val2
);
5902 if (!wxPyCheckForApp()) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5915 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
= 0;
5917 PyObject
*arg1
= (PyObject
*) 0 ;
5918 wxBitmap
*result
= 0 ;
5919 PyObject
* obj0
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "listOfStrings", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5927 if (!wxPyCheckForApp()) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5940 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= 0;
5942 PyObject
*arg1
= (PyObject
*) 0 ;
5945 int arg4
= (int) 1 ;
5946 wxBitmap
*result
= 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5955 PyObject
* obj2
= 0 ;
5956 PyObject
* obj3
= 0 ;
5957 char * kwnames
[] = {
5958 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5964 if (!SWIG_IsOK(ecode2
)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5967 arg2
= static_cast< int >(val2
);
5968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5969 if (!SWIG_IsOK(ecode3
)) {
5970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5972 arg3
= static_cast< int >(val3
);
5974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5975 if (!SWIG_IsOK(ecode4
)) {
5976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5978 arg4
= static_cast< int >(val4
);
5981 if (!wxPyCheckForApp()) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5994 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6008 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6010 result
= (long)(arg1
)->GetHandle();
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_From_long(static_cast< long >(result
));
6020 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
= 0;
6022 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6030 char * kwnames
[] = {
6031 (char *) "self",(char *) "handle", NULL
6034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6036 if (!SWIG_IsOK(res1
)) {
6037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6039 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6041 if (!SWIG_IsOK(ecode2
)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6044 arg2
= static_cast< long >(val2
);
6046 wxBitmap_SetHandle(arg1
,arg2
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= SWIG_Py_Void();
6056 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6057 PyObject
*resultobj
= 0;
6058 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6062 PyObject
*swig_obj
[1] ;
6064 if (!args
) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6070 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6072 result
= (bool)(arg1
)->Ok();
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 PyObject
*resultobj
= 0;
6086 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6090 PyObject
*swig_obj
[1] ;
6092 if (!args
) SWIG_fail
;
6094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6095 if (!SWIG_IsOK(res1
)) {
6096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6098 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6100 result
= (int)(arg1
)->GetWidth();
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_From_int(static_cast< int >(result
));
6110 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6111 PyObject
*resultobj
= 0;
6112 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6116 PyObject
*swig_obj
[1] ;
6118 if (!args
) SWIG_fail
;
6120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6121 if (!SWIG_IsOK(res1
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6126 result
= (int)(arg1
)->GetHeight();
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_From_int(static_cast< int >(result
));
6136 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6150 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6152 result
= (int)(arg1
)->GetDepth();
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_From_int(static_cast< int >(result
));
6162 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6168 PyObject
*swig_obj
[1] ;
6170 if (!args
) SWIG_fail
;
6172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6173 if (!SWIG_IsOK(res1
)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6176 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6178 result
= wxBitmap_GetSize(arg1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6188 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6191 SwigValueWrapper
<wxImage
> result
;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6202 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6204 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6214 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6215 PyObject
*resultobj
= 0;
6216 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6217 wxMask
*result
= 0 ;
6220 PyObject
*swig_obj
[1] ;
6222 if (!args
) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6228 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6230 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6240 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6243 wxMask
*arg2
= (wxMask
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6249 char * kwnames
[] = {
6250 (char *) "self",(char *) "mask", NULL
6253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6258 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6260 if (!SWIG_IsOK(res2
)) {
6261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6264 (arg1
)->SetMask(arg2
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_Py_Void();
6274 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 wxColour
*arg2
= 0 ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 char * kwnames
[] = {
6284 (char *) "self",(char *) "colour", NULL
6287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6289 if (!SWIG_IsOK(res1
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6292 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6298 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_Py_Void();
6308 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6312 SwigValueWrapper
<wxBitmap
> result
;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 char * kwnames
[] = {
6319 (char *) "self",(char *) "rect", NULL
6322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6324 if (!SWIG_IsOK(res1
)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6327 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6330 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6333 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6343 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
= 0;
6345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6346 wxString
*arg2
= 0 ;
6348 wxPalette
*arg4
= (wxPalette
*) NULL
;
6352 bool temp2
= false ;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6360 PyObject
* obj3
= 0 ;
6361 char * kwnames
[] = {
6362 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6367 if (!SWIG_IsOK(res1
)) {
6368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6370 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6372 arg2
= wxString_in_helper(obj1
);
6373 if (arg2
== NULL
) SWIG_fail
;
6376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6377 if (!SWIG_IsOK(ecode3
)) {
6378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6380 arg3
= static_cast< wxBitmapType
>(val3
);
6382 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6383 if (!SWIG_IsOK(res4
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6386 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6389 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6409 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= 0;
6411 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 wxString
*arg2
= 0 ;
6417 bool temp2
= false ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 PyObject
* obj2
= 0 ;
6423 char * kwnames
[] = {
6424 (char *) "self",(char *) "name",(char *) "type", NULL
6427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6432 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6434 arg2
= wxString_in_helper(obj1
);
6435 if (arg2
== NULL
) SWIG_fail
;
6438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6439 if (!SWIG_IsOK(ecode3
)) {
6440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6442 arg3
= static_cast< wxBitmapType
>(val3
);
6444 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6464 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6465 PyObject
*resultobj
= 0;
6466 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6467 wxPalette
*result
= 0 ;
6470 PyObject
*swig_obj
[1] ;
6472 if (!args
) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6480 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6490 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
= 0;
6492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6493 wxPalette
*arg2
= 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6500 char * kwnames
[] = {
6501 (char *) "self",(char *) "palette", NULL
6504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6511 if (!SWIG_IsOK(res2
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6517 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6519 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_Py_Void();
6529 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
= 0;
6531 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6539 PyObject
* obj1
= 0 ;
6540 char * kwnames
[] = {
6541 (char *) "self",(char *) "icon", NULL
6544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6551 if (!SWIG_IsOK(res2
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6557 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6559 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6571 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "self",(char *) "height", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6592 if (!SWIG_IsOK(ecode2
)) {
6593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6595 arg2
= static_cast< int >(val2
);
6597 (arg1
)->SetHeight(arg2
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_Py_Void();
6607 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= 0;
6609 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 char * kwnames
[] = {
6618 (char *) "self",(char *) "width", NULL
6621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6623 if (!SWIG_IsOK(res1
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6626 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6628 if (!SWIG_IsOK(ecode2
)) {
6629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6631 arg2
= static_cast< int >(val2
);
6633 (arg1
)->SetWidth(arg2
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_Py_Void();
6643 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 char * kwnames
[] = {
6654 (char *) "self",(char *) "depth", NULL
6657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6664 if (!SWIG_IsOK(ecode2
)) {
6665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6667 arg2
= static_cast< int >(val2
);
6669 (arg1
)->SetDepth(arg2
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_Py_Void();
6679 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
= 0;
6681 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6688 char * kwnames
[] = {
6689 (char *) "self",(char *) "size", NULL
6692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6694 if (!SWIG_IsOK(res1
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6703 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_Py_Void();
6713 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= 0;
6715 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6716 wxCursor
*arg2
= 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "self",(char *) "cursor", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6733 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6735 if (!SWIG_IsOK(res2
)) {
6736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6741 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6743 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6755 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
= 0;
6757 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6758 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 char * kwnames
[] = {
6767 (char *) "self",(char *) "other", NULL
6770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6772 if (!SWIG_IsOK(res1
)) {
6773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6775 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6777 if (!SWIG_IsOK(res2
)) {
6778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6780 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6782 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
= 0;
6796 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6797 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 char * kwnames
[] = {
6806 (char *) "self",(char *) "other", NULL
6809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6811 if (!SWIG_IsOK(res1
)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6814 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6816 if (!SWIG_IsOK(res2
)) {
6817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6819 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6821 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6836 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6837 return SWIG_Py_Void();
6840 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6841 return SWIG_Python_InitShadowInstance(args
);
6844 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6852 wxBitmap
*result
= 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6862 PyObject
* obj3
= 0 ;
6863 char * kwnames
[] = {
6864 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6869 if (!SWIG_IsOK(ecode1
)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6872 arg1
= static_cast< int >(val1
);
6873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6874 if (!SWIG_IsOK(ecode2
)) {
6875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6877 arg2
= static_cast< int >(val2
);
6879 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6883 if (obj3
!= Py_None
) {
6884 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6889 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6899 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
= 0;
6905 wxBitmap
*result
= 0 ;
6911 PyObject
* obj0
= 0 ;
6912 PyObject
* obj1
= 0 ;
6913 PyObject
* obj2
= 0 ;
6914 char * kwnames
[] = {
6915 (char *) "width",(char *) "height",(char *) "data", NULL
6918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6920 if (!SWIG_IsOK(ecode1
)) {
6921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6923 arg1
= static_cast< int >(val1
);
6924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6925 if (!SWIG_IsOK(ecode2
)) {
6926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6928 arg2
= static_cast< int >(val2
);
6930 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6934 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6944 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6945 PyObject
*resultobj
= 0;
6950 wxBitmap
*result
= 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6958 PyObject
* obj2
= 0 ;
6959 char * kwnames
[] = {
6960 (char *) "width",(char *) "height",(char *) "data", NULL
6963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6964 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6965 if (!SWIG_IsOK(ecode1
)) {
6966 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6968 arg1
= static_cast< int >(val1
);
6969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6970 if (!SWIG_IsOK(ecode2
)) {
6971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6973 arg2
= static_cast< int >(val2
);
6975 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6979 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6989 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6990 PyObject
*resultobj
= 0;
6991 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6995 PyObject
*swig_obj
[1] ;
6997 if (!args
) SWIG_fail
;
6999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7000 if (!SWIG_IsOK(res1
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7003 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7005 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7015 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7016 PyObject
*resultobj
= 0;
7017 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7021 PyObject
*swig_obj
[1] ;
7023 if (!args
) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7029 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7031 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_From_int(static_cast< int >(result
));
7041 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7042 PyObject
*resultobj
= 0;
7043 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7047 PyObject
*swig_obj
[1] ;
7049 if (!args
) SWIG_fail
;
7051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7052 if (!SWIG_IsOK(res1
)) {
7053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7055 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7057 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_From_int(static_cast< int >(result
));
7067 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7068 PyObject
*resultobj
= 0;
7069 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7073 PyObject
*swig_obj
[1] ;
7075 if (!args
) SWIG_fail
;
7077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7078 if (!SWIG_IsOK(res1
)) {
7079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7081 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7083 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7093 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7094 PyObject
*resultobj
= 0;
7095 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7099 PyObject
*swig_obj
[1] ;
7101 if (!args
) SWIG_fail
;
7103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7104 if (!SWIG_IsOK(res1
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7107 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7109 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_From_int(static_cast< int >(result
));
7119 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7122 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7123 return SWIG_Py_Void();
7126 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7127 PyObject
*resultobj
= 0;
7128 wxBitmap
*arg1
= 0 ;
7129 wxNativePixelData
*result
= 0 ;
7133 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7141 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7143 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7153 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7154 PyObject
*resultobj
= 0;
7155 wxBitmap
*arg1
= 0 ;
7157 wxNativePixelData
*result
= 0 ;
7162 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7173 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7176 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7186 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7187 PyObject
*resultobj
= 0;
7188 wxBitmap
*arg1
= 0 ;
7191 wxNativePixelData
*result
= 0 ;
7197 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7199 if (!SWIG_IsOK(res1
)) {
7200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7208 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7212 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7215 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7225 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7229 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7232 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7235 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7238 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7242 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7247 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7248 PyObject
*resultobj
= 0;
7249 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7252 PyObject
*swig_obj
[1] ;
7254 if (!args
) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7260 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= SWIG_Py_Void();
7273 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7274 PyObject
*resultobj
= 0;
7275 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7276 wxNativePixelData_Accessor result
;
7279 PyObject
*swig_obj
[1] ;
7281 if (!args
) SWIG_fail
;
7283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7284 if (!SWIG_IsOK(res1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7287 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7289 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7299 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7300 PyObject
*resultobj
= 0;
7301 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7304 PyObject
*swig_obj
[1] ;
7306 if (!args
) SWIG_fail
;
7308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7309 if (!SWIG_IsOK(res1
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7312 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_Py_Void();
7324 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7325 PyObject
*resultobj
= 0;
7326 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7330 PyObject
*swig_obj
[1] ;
7332 if (!args
) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7338 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7340 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7352 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7355 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7356 return SWIG_Py_Void();
7359 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7360 return SWIG_Python_InitShadowInstance(args
);
7363 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7364 PyObject
*resultobj
= 0;
7365 wxNativePixelData
*arg1
= 0 ;
7366 wxNativePixelData_Accessor
*result
= 0 ;
7370 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7372 if (!SWIG_IsOK(res1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7378 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7380 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7381 if (PyErr_Occurred()) SWIG_fail
;
7383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7390 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7391 PyObject
*resultobj
= 0;
7392 wxBitmap
*arg1
= 0 ;
7393 wxNativePixelData
*arg2
= 0 ;
7394 wxNativePixelData_Accessor
*result
= 0 ;
7400 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7402 if (!SWIG_IsOK(res1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7409 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7410 if (!SWIG_IsOK(res2
)) {
7411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7416 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7418 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7428 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7429 PyObject
*resultobj
= 0;
7430 wxNativePixelData_Accessor
*result
= 0 ;
7432 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7434 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7444 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7448 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7451 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7454 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7457 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7461 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7466 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7467 PyObject
*resultobj
= 0;
7468 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7471 PyObject
*swig_obj
[1] ;
7473 if (!args
) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7479 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= SWIG_Py_Void();
7492 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
= 0;
7494 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7495 wxNativePixelData
*arg2
= 0 ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7502 char * kwnames
[] = {
7503 (char *) "self",(char *) "data", NULL
7506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7508 if (!SWIG_IsOK(res1
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7511 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7513 if (!SWIG_IsOK(res2
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7519 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7521 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= SWIG_Py_Void();
7531 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7532 PyObject
*resultobj
= 0;
7533 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7537 PyObject
*swig_obj
[1] ;
7539 if (!args
) SWIG_fail
;
7541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7542 if (!SWIG_IsOK(res1
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7545 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7547 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7559 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7560 PyObject
*resultobj
= 0;
7561 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7564 PyObject
*swig_obj
[1] ;
7566 if (!args
) SWIG_fail
;
7568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7569 if (!SWIG_IsOK(res1
)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7572 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7574 wxNativePixelData_Accessor_nextPixel(arg1
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_Py_Void();
7584 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
= 0;
7586 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7587 wxNativePixelData
*arg2
= 0 ;
7598 PyObject
* obj0
= 0 ;
7599 PyObject
* obj1
= 0 ;
7600 PyObject
* obj2
= 0 ;
7601 PyObject
* obj3
= 0 ;
7602 char * kwnames
[] = {
7603 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7611 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7613 if (!SWIG_IsOK(res2
)) {
7614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7619 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7621 if (!SWIG_IsOK(ecode3
)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7624 arg3
= static_cast< int >(val3
);
7625 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7626 if (!SWIG_IsOK(ecode4
)) {
7627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7629 arg4
= static_cast< int >(val4
);
7631 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_Py_Void();
7641 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= 0;
7643 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7644 wxNativePixelData
*arg2
= 0 ;
7652 PyObject
* obj0
= 0 ;
7653 PyObject
* obj1
= 0 ;
7654 PyObject
* obj2
= 0 ;
7655 char * kwnames
[] = {
7656 (char *) "self",(char *) "data",(char *) "x", NULL
7659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7661 if (!SWIG_IsOK(res1
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7664 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7666 if (!SWIG_IsOK(res2
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7672 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7674 if (!SWIG_IsOK(ecode3
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7677 arg3
= static_cast< int >(val3
);
7679 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_Py_Void();
7689 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= 0;
7691 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7692 wxNativePixelData
*arg2
= 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7702 PyObject
* obj2
= 0 ;
7703 char * kwnames
[] = {
7704 (char *) "self",(char *) "data",(char *) "y", NULL
7707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7709 if (!SWIG_IsOK(res1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7712 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7714 if (!SWIG_IsOK(res2
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7720 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7722 if (!SWIG_IsOK(ecode3
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7725 arg3
= static_cast< int >(val3
);
7727 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_Py_Void();
7737 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7740 wxNativePixelData
*arg2
= 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7754 PyObject
* obj3
= 0 ;
7755 char * kwnames
[] = {
7756 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7761 if (!SWIG_IsOK(res1
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7764 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7766 if (!SWIG_IsOK(res2
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7772 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7774 if (!SWIG_IsOK(ecode3
)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7777 arg3
= static_cast< int >(val3
);
7778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7779 if (!SWIG_IsOK(ecode4
)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7782 arg4
= static_cast< int >(val4
);
7784 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_Py_Void();
7794 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
= 0;
7796 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7802 unsigned char val2
;
7804 unsigned char val3
;
7806 unsigned char val4
;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7810 PyObject
* obj2
= 0 ;
7811 PyObject
* obj3
= 0 ;
7812 char * kwnames
[] = {
7813 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7818 if (!SWIG_IsOK(res1
)) {
7819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7821 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7822 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7823 if (!SWIG_IsOK(ecode2
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7826 arg2
= static_cast< byte
>(val2
);
7827 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7828 if (!SWIG_IsOK(ecode3
)) {
7829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7831 arg3
= static_cast< byte
>(val3
);
7832 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7833 if (!SWIG_IsOK(ecode4
)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7836 arg4
= static_cast< byte
>(val4
);
7838 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_Py_Void();
7848 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7849 PyObject
*resultobj
= 0;
7850 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7851 PyObject
*result
= 0 ;
7854 PyObject
*swig_obj
[1] ;
7856 if (!args
) SWIG_fail
;
7858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7859 if (!SWIG_IsOK(res1
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7862 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7864 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7874 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7877 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7878 return SWIG_Py_Void();
7881 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 return SWIG_Python_InitShadowInstance(args
);
7885 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7886 PyObject
*resultobj
= 0;
7887 wxBitmap
*arg1
= 0 ;
7888 wxAlphaPixelData
*result
= 0 ;
7892 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7900 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7902 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7912 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7913 PyObject
*resultobj
= 0;
7914 wxBitmap
*arg1
= 0 ;
7916 wxAlphaPixelData
*result
= 0 ;
7921 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7923 if (!SWIG_IsOK(res1
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7929 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7932 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7935 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7945 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7946 PyObject
*resultobj
= 0;
7947 wxBitmap
*arg1
= 0 ;
7950 wxAlphaPixelData
*result
= 0 ;
7956 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7964 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7967 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7971 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7974 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7984 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7988 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7991 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7994 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7997 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8001 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8006 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 PyObject
*resultobj
= 0;
8008 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8011 PyObject
*swig_obj
[1] ;
8013 if (!args
) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8019 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= SWIG_Py_Void();
8032 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8035 wxAlphaPixelData_Accessor result
;
8038 PyObject
*swig_obj
[1] ;
8040 if (!args
) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8046 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8048 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8058 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 PyObject
*resultobj
= 0;
8060 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8063 PyObject
*swig_obj
[1] ;
8065 if (!args
) SWIG_fail
;
8067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8068 if (!SWIG_IsOK(res1
)) {
8069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8071 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= SWIG_Py_Void();
8083 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8084 PyObject
*resultobj
= 0;
8085 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8089 PyObject
*swig_obj
[1] ;
8091 if (!args
) SWIG_fail
;
8093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8094 if (!SWIG_IsOK(res1
)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8097 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8099 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8111 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8114 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8115 return SWIG_Py_Void();
8118 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8119 return SWIG_Python_InitShadowInstance(args
);
8122 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8123 PyObject
*resultobj
= 0;
8124 wxAlphaPixelData
*arg1
= 0 ;
8125 wxAlphaPixelData_Accessor
*result
= 0 ;
8129 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8131 if (!SWIG_IsOK(res1
)) {
8132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8137 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8139 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8149 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8150 PyObject
*resultobj
= 0;
8151 wxBitmap
*arg1
= 0 ;
8152 wxAlphaPixelData
*arg2
= 0 ;
8153 wxAlphaPixelData_Accessor
*result
= 0 ;
8159 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8161 if (!SWIG_IsOK(res1
)) {
8162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8168 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8169 if (!SWIG_IsOK(res2
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8175 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8177 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8187 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8188 PyObject
*resultobj
= 0;
8189 wxAlphaPixelData_Accessor
*result
= 0 ;
8191 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8193 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8203 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8207 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8210 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8213 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8216 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8220 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8225 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8226 PyObject
*resultobj
= 0;
8227 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8230 PyObject
*swig_obj
[1] ;
8232 if (!args
) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8238 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_Py_Void();
8251 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
= 0;
8253 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8254 wxAlphaPixelData
*arg2
= 0 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8261 char * kwnames
[] = {
8262 (char *) "self",(char *) "data", NULL
8265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8267 if (!SWIG_IsOK(res1
)) {
8268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8270 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8272 if (!SWIG_IsOK(res2
)) {
8273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8278 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8280 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_Py_Void();
8290 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8291 PyObject
*resultobj
= 0;
8292 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8296 PyObject
*swig_obj
[1] ;
8298 if (!args
) SWIG_fail
;
8300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8301 if (!SWIG_IsOK(res1
)) {
8302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8304 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8306 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8307 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8318 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8319 PyObject
*resultobj
= 0;
8320 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8323 PyObject
*swig_obj
[1] ;
8325 if (!args
) SWIG_fail
;
8327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8328 if (!SWIG_IsOK(res1
)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8331 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8333 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_Py_Void();
8343 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8346 wxAlphaPixelData
*arg2
= 0 ;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8360 PyObject
* obj3
= 0 ;
8361 char * kwnames
[] = {
8362 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8370 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8372 if (!SWIG_IsOK(res2
)) {
8373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8378 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8380 if (!SWIG_IsOK(ecode3
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8383 arg3
= static_cast< int >(val3
);
8384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8385 if (!SWIG_IsOK(ecode4
)) {
8386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8388 arg4
= static_cast< int >(val4
);
8390 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= SWIG_Py_Void();
8400 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
= 0;
8402 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8403 wxAlphaPixelData
*arg2
= 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8414 char * kwnames
[] = {
8415 (char *) "self",(char *) "data",(char *) "x", NULL
8418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8420 if (!SWIG_IsOK(res1
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8423 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8425 if (!SWIG_IsOK(res2
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8431 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8433 if (!SWIG_IsOK(ecode3
)) {
8434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8436 arg3
= static_cast< int >(val3
);
8438 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= SWIG_Py_Void();
8448 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
= 0;
8450 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8451 wxAlphaPixelData
*arg2
= 0 ;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 PyObject
* obj2
= 0 ;
8462 char * kwnames
[] = {
8463 (char *) "self",(char *) "data",(char *) "y", NULL
8466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8471 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8473 if (!SWIG_IsOK(res2
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8479 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8481 if (!SWIG_IsOK(ecode3
)) {
8482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8484 arg3
= static_cast< int >(val3
);
8486 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_Py_Void();
8496 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
= 0;
8498 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8499 wxAlphaPixelData
*arg2
= 0 ;
8510 PyObject
* obj0
= 0 ;
8511 PyObject
* obj1
= 0 ;
8512 PyObject
* obj2
= 0 ;
8513 PyObject
* obj3
= 0 ;
8514 char * kwnames
[] = {
8515 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8520 if (!SWIG_IsOK(res1
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8523 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8524 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8525 if (!SWIG_IsOK(res2
)) {
8526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8531 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8533 if (!SWIG_IsOK(ecode3
)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8536 arg3
= static_cast< int >(val3
);
8537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8538 if (!SWIG_IsOK(ecode4
)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8541 arg4
= static_cast< int >(val4
);
8543 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8544 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= SWIG_Py_Void();
8553 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8554 PyObject
*resultobj
= 0;
8555 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8562 unsigned char val2
;
8564 unsigned char val3
;
8566 unsigned char val4
;
8568 unsigned char val5
;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8572 PyObject
* obj2
= 0 ;
8573 PyObject
* obj3
= 0 ;
8574 PyObject
* obj4
= 0 ;
8575 char * kwnames
[] = {
8576 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8581 if (!SWIG_IsOK(res1
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8584 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8585 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8586 if (!SWIG_IsOK(ecode2
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8589 arg2
= static_cast< byte
>(val2
);
8590 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8591 if (!SWIG_IsOK(ecode3
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8594 arg3
= static_cast< byte
>(val3
);
8595 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8596 if (!SWIG_IsOK(ecode4
)) {
8597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8599 arg4
= static_cast< byte
>(val4
);
8600 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8601 if (!SWIG_IsOK(ecode5
)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8604 arg5
= static_cast< byte
>(val5
);
8606 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= SWIG_Py_Void();
8616 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 PyObject
*resultobj
= 0;
8618 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8619 PyObject
*result
= 0 ;
8622 PyObject
*swig_obj
[1] ;
8624 if (!args
) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8630 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8632 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8642 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8645 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8646 return SWIG_Py_Void();
8649 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8650 return SWIG_Python_InitShadowInstance(args
);
8653 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
= 0;
8655 wxBitmap
*arg1
= 0 ;
8656 wxColour
const &arg2_defvalue
= wxNullColour
;
8657 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8658 wxMask
*result
= 0 ;
8662 PyObject
* obj0
= 0 ;
8663 PyObject
* obj1
= 0 ;
8664 char * kwnames
[] = {
8665 (char *) "bitmap",(char *) "colour", NULL
8668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8669 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8670 if (!SWIG_IsOK(res1
)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8676 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8680 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8684 if (!wxPyCheckForApp()) SWIG_fail
;
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8687 wxPyEndAllowThreads(__tstate
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8697 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8698 PyObject
*resultobj
= 0;
8699 wxMask
*arg1
= (wxMask
*) 0 ;
8702 PyObject
*swig_obj
[1] ;
8704 if (!args
) SWIG_fail
;
8706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8707 if (!SWIG_IsOK(res1
)) {
8708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8710 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_Py_Void();
8723 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8726 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8727 return SWIG_Py_Void();
8730 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8731 return SWIG_Python_InitShadowInstance(args
);
8734 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
= 0;
8736 wxString
*arg1
= 0 ;
8738 int arg3
= (int) -1 ;
8739 int arg4
= (int) -1 ;
8740 wxIcon
*result
= 0 ;
8741 bool temp1
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8751 PyObject
* obj3
= 0 ;
8752 char * kwnames
[] = {
8753 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8758 arg1
= wxString_in_helper(obj0
);
8759 if (arg1
== NULL
) SWIG_fail
;
8762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8763 if (!SWIG_IsOK(ecode2
)) {
8764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8766 arg2
= static_cast< wxBitmapType
>(val2
);
8768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8769 if (!SWIG_IsOK(ecode3
)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8772 arg3
= static_cast< int >(val3
);
8775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8776 if (!SWIG_IsOK(ecode4
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8779 arg4
= static_cast< int >(val4
);
8782 if (!wxPyCheckForApp()) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8803 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8804 PyObject
*resultobj
= 0;
8805 wxIcon
*arg1
= (wxIcon
*) 0 ;
8808 PyObject
*swig_obj
[1] ;
8810 if (!args
) SWIG_fail
;
8812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8813 if (!SWIG_IsOK(res1
)) {
8814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8816 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_Py_Void();
8831 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8832 PyObject
*resultobj
= 0;
8833 wxIcon
*result
= 0 ;
8835 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8837 if (!wxPyCheckForApp()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (wxIcon
*)new wxIcon();
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8850 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
= 0;
8852 wxIconLocation
*arg1
= 0 ;
8853 wxIcon
*result
= 0 ;
8856 PyObject
* obj0
= 0 ;
8857 char * kwnames
[] = {
8858 (char *) "loc", NULL
8861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8862 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8863 if (!SWIG_IsOK(res1
)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8869 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8871 if (!wxPyCheckForApp()) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8884 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= 0;
8886 wxBitmap
*arg1
= 0 ;
8887 wxIcon
*result
= 0 ;
8890 PyObject
* obj0
= 0 ;
8891 char * kwnames
[] = {
8892 (char *) "bmp", NULL
8895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8903 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8905 if (!wxPyCheckForApp()) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8918 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
= 0;
8920 PyObject
*arg1
= (PyObject
*) 0 ;
8921 wxIcon
*result
= 0 ;
8922 PyObject
* obj0
= 0 ;
8923 char * kwnames
[] = {
8924 (char *) "listOfStrings", NULL
8927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8930 if (!wxPyCheckForApp()) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (wxIcon
*)new_wxIcon(arg1
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8943 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxIcon
*arg1
= (wxIcon
*) 0 ;
8946 wxString
*arg2
= 0 ;
8951 bool temp2
= false ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 PyObject
* obj2
= 0 ;
8957 char * kwnames
[] = {
8958 (char *) "self",(char *) "name",(char *) "type", NULL
8961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8963 if (!SWIG_IsOK(res1
)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8966 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8968 arg2
= wxString_in_helper(obj1
);
8969 if (arg2
== NULL
) SWIG_fail
;
8972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8973 if (!SWIG_IsOK(ecode3
)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8976 arg3
= static_cast< wxBitmapType
>(val3
);
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9000 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 PyObject
*resultobj
= 0;
9002 wxIcon
*arg1
= (wxIcon
*) 0 ;
9006 PyObject
*swig_obj
[1] ;
9008 if (!args
) SWIG_fail
;
9010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9011 if (!SWIG_IsOK(res1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9014 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (long)(arg1
)->GetHandle();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_From_long(static_cast< long >(result
));
9028 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
= 0;
9030 wxIcon
*arg1
= (wxIcon
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9038 char * kwnames
[] = {
9039 (char *) "self",(char *) "handle", NULL
9042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9044 if (!SWIG_IsOK(res1
)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9047 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9048 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9049 if (!SWIG_IsOK(ecode2
)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9052 arg2
= static_cast< long >(val2
);
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 wxIcon_SetHandle(arg1
,arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_Py_Void();
9066 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9067 PyObject
*resultobj
= 0;
9068 wxIcon
*arg1
= (wxIcon
*) 0 ;
9072 PyObject
*swig_obj
[1] ;
9074 if (!args
) SWIG_fail
;
9076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9077 if (!SWIG_IsOK(res1
)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
9080 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (bool)(arg1
)->Ok();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9096 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9097 PyObject
*resultobj
= 0;
9098 wxIcon
*arg1
= (wxIcon
*) 0 ;
9102 PyObject
*swig_obj
[1] ;
9104 if (!args
) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9110 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (int)(arg1
)->GetWidth();
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_From_int(static_cast< int >(result
));
9124 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9125 PyObject
*resultobj
= 0;
9126 wxIcon
*arg1
= (wxIcon
*) 0 ;
9130 PyObject
*swig_obj
[1] ;
9132 if (!args
) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9138 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (int)(arg1
)->GetHeight();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_From_int(static_cast< int >(result
));
9152 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9153 PyObject
*resultobj
= 0;
9154 wxIcon
*arg1
= (wxIcon
*) 0 ;
9158 PyObject
*swig_obj
[1] ;
9160 if (!args
) SWIG_fail
;
9162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9163 if (!SWIG_IsOK(res1
)) {
9164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9166 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (int)(arg1
)->GetDepth();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= SWIG_From_int(static_cast< int >(result
));
9180 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
= 0;
9182 wxIcon
*arg1
= (wxIcon
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9190 char * kwnames
[] = {
9191 (char *) "self",(char *) "w", NULL
9194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9196 if (!SWIG_IsOK(res1
)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9199 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9201 if (!SWIG_IsOK(ecode2
)) {
9202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9204 arg2
= static_cast< int >(val2
);
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 (arg1
)->SetWidth(arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_Py_Void();
9218 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= 0;
9220 wxIcon
*arg1
= (wxIcon
*) 0 ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9228 char * kwnames
[] = {
9229 (char *) "self",(char *) "h", NULL
9232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9234 if (!SWIG_IsOK(res1
)) {
9235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9239 if (!SWIG_IsOK(ecode2
)) {
9240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9242 arg2
= static_cast< int >(val2
);
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 (arg1
)->SetHeight(arg2
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_Py_Void();
9256 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
= 0;
9258 wxIcon
*arg1
= (wxIcon
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 char * kwnames
[] = {
9267 (char *) "self",(char *) "d", NULL
9270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9272 if (!SWIG_IsOK(res1
)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9275 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9277 if (!SWIG_IsOK(ecode2
)) {
9278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9280 arg2
= static_cast< int >(val2
);
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 (arg1
)->SetDepth(arg2
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= SWIG_Py_Void();
9294 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
= 0;
9296 wxIcon
*arg1
= (wxIcon
*) 0 ;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 char * kwnames
[] = {
9304 (char *) "self",(char *) "size", NULL
9307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9309 if (!SWIG_IsOK(res1
)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9312 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9315 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 (arg1
)->SetSize((wxSize
const &)*arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_Py_Void();
9330 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= 0;
9332 wxIcon
*arg1
= (wxIcon
*) 0 ;
9333 wxBitmap
*arg2
= 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 char * kwnames
[] = {
9341 (char *) "self",(char *) "bmp", NULL
9344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9346 if (!SWIG_IsOK(res1
)) {
9347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9349 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9351 if (!SWIG_IsOK(res2
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9357 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_Py_Void();
9371 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9374 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9375 return SWIG_Py_Void();
9378 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9379 return SWIG_Python_InitShadowInstance(args
);
9382 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
= 0;
9384 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9385 int arg2
= (int) 0 ;
9386 wxIconLocation
*result
= 0 ;
9387 bool temp1
= false ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 char * kwnames
[] = {
9393 (char *) "filename",(char *) "num", NULL
9396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9399 arg1
= wxString_in_helper(obj0
);
9400 if (arg1
== NULL
) SWIG_fail
;
9405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9406 if (!SWIG_IsOK(ecode2
)) {
9407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9409 arg2
= static_cast< int >(val2
);
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9432 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9433 PyObject
*resultobj
= 0;
9434 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9437 PyObject
*swig_obj
[1] ;
9439 if (!args
) SWIG_fail
;
9441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9442 if (!SWIG_IsOK(res1
)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9445 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= SWIG_Py_Void();
9460 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 PyObject
*resultobj
= 0;
9462 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9466 PyObject
*swig_obj
[1] ;
9468 if (!args
) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9474 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9490 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9493 wxString
*arg2
= 0 ;
9496 bool temp2
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "filename", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9508 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9510 arg2
= wxString_in_helper(obj1
);
9511 if (arg2
== NULL
) SWIG_fail
;
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->SetFileName((wxString
const &)*arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9536 PyObject
*resultobj
= 0;
9537 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9538 wxString
*result
= 0 ;
9541 PyObject
*swig_obj
[1] ;
9543 if (!args
) SWIG_fail
;
9545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9546 if (!SWIG_IsOK(res1
)) {
9547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9549 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9554 result
= (wxString
*) &_result_ref
;
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9563 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9572 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
= 0;
9574 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9580 PyObject
* obj0
= 0 ;
9581 PyObject
* obj1
= 0 ;
9582 char * kwnames
[] = {
9583 (char *) "self",(char *) "num", NULL
9586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9588 if (!SWIG_IsOK(res1
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9591 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9593 if (!SWIG_IsOK(ecode2
)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9596 arg2
= static_cast< int >(val2
);
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 wxIconLocation_SetIndex(arg1
,arg2
);
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9603 resultobj
= SWIG_Py_Void();
9610 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9611 PyObject
*resultobj
= 0;
9612 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9616 PyObject
*swig_obj
[1] ;
9618 if (!args
) SWIG_fail
;
9620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9621 if (!SWIG_IsOK(res1
)) {
9622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9624 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (int)wxIconLocation_GetIndex(arg1
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_From_int(static_cast< int >(result
));
9638 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9641 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9642 return SWIG_Py_Void();
9645 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9646 return SWIG_Python_InitShadowInstance(args
);
9649 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9650 PyObject
*resultobj
= 0;
9651 wxIconBundle
*result
= 0 ;
9653 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (wxIconBundle
*)new wxIconBundle();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9667 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxString
*arg1
= 0 ;
9671 wxIconBundle
*result
= 0 ;
9672 bool temp1
= false ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "file",(char *) "type", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9683 arg1
= wxString_in_helper(obj0
);
9684 if (arg1
== NULL
) SWIG_fail
;
9687 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9688 if (!SWIG_IsOK(ecode2
)) {
9689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9691 arg2
= static_cast< long >(val2
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9713 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
= 0;
9716 wxIconBundle
*result
= 0 ;
9719 PyObject
* obj0
= 0 ;
9720 char * kwnames
[] = {
9721 (char *) "icon", NULL
9724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9725 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9726 if (!SWIG_IsOK(res1
)) {
9727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9732 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9746 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9751 PyObject
*swig_obj
[1] ;
9753 if (!args
) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9759 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_Py_Void();
9774 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "icon", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9793 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9795 if (!SWIG_IsOK(res2
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9801 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_Py_Void();
9815 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9818 wxString
*arg2
= 0 ;
9822 bool temp2
= false ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 char * kwnames
[] = {
9829 (char *) "self",(char *) "file",(char *) "type", NULL
9832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9837 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9839 arg2
= wxString_in_helper(obj1
);
9840 if (arg2
== NULL
) SWIG_fail
;
9843 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9844 if (!SWIG_IsOK(ecode3
)) {
9845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9847 arg3
= static_cast< long >(val3
);
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_Py_Void();
9869 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
= 0;
9871 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9873 wxIcon
*result
= 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "size", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9888 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9891 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9897 result
= (wxIcon
*) &_result_ref
;
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9903 wxIcon
* resultptr
= new wxIcon(*result
);
9904 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9912 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9915 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9916 return SWIG_Py_Void();
9919 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9920 return SWIG_Python_InitShadowInstance(args
);
9923 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
= 0;
9925 wxString
*arg1
= 0 ;
9927 int arg3
= (int) 0 ;
9928 int arg4
= (int) 0 ;
9929 wxCursor
*result
= 0 ;
9930 bool temp1
= false ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9939 PyObject
* obj2
= 0 ;
9940 PyObject
* obj3
= 0 ;
9941 char * kwnames
[] = {
9942 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9947 arg1
= wxString_in_helper(obj0
);
9948 if (arg1
== NULL
) SWIG_fail
;
9951 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9952 if (!SWIG_IsOK(ecode2
)) {
9953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9955 arg2
= static_cast< long >(val2
);
9957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9958 if (!SWIG_IsOK(ecode3
)) {
9959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9961 arg3
= static_cast< int >(val3
);
9964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9965 if (!SWIG_IsOK(ecode4
)) {
9966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9968 arg4
= static_cast< int >(val4
);
9971 if (!wxPyCheckForApp()) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9992 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 PyObject
*resultobj
= 0;
9994 wxCursor
*arg1
= (wxCursor
*) 0 ;
9997 PyObject
*swig_obj
[1] ;
9999 if (!args
) SWIG_fail
;
10000 swig_obj
[0] = args
;
10001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10005 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10020 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
= 0;
10023 wxCursor
*result
= 0 ;
10026 PyObject
* obj0
= 0 ;
10027 char * kwnames
[] = {
10028 (char *) "id", NULL
10031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10032 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10033 if (!SWIG_IsOK(ecode1
)) {
10034 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10036 arg1
= static_cast< int >(val1
);
10038 if (!wxPyCheckForApp()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (wxCursor
*)new wxCursor(arg1
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10051 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
= 0;
10053 wxImage
*arg1
= 0 ;
10054 wxCursor
*result
= 0 ;
10057 PyObject
* obj0
= 0 ;
10058 char * kwnames
[] = {
10059 (char *) "image", NULL
10062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10063 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10064 if (!SWIG_IsOK(res1
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10070 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10072 if (!wxPyCheckForApp()) SWIG_fail
;
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10085 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10086 PyObject
*resultobj
= 0;
10087 wxCursor
*arg1
= (wxCursor
*) 0 ;
10091 PyObject
*swig_obj
[1] ;
10093 if (!args
) SWIG_fail
;
10094 swig_obj
[0] = args
;
10095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10099 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (long)(arg1
)->GetHandle();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_From_long(static_cast< long >(result
));
10113 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
= 0;
10115 wxCursor
*arg1
= (wxCursor
*) 0 ;
10121 PyObject
* obj0
= 0 ;
10122 PyObject
* obj1
= 0 ;
10123 char * kwnames
[] = {
10124 (char *) "self",(char *) "handle", NULL
10127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10129 if (!SWIG_IsOK(res1
)) {
10130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10132 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10133 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10134 if (!SWIG_IsOK(ecode2
)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10137 arg2
= static_cast< long >(val2
);
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 wxCursor_SetHandle(arg1
,arg2
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_Py_Void();
10151 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10152 PyObject
*resultobj
= 0;
10153 wxCursor
*arg1
= (wxCursor
*) 0 ;
10157 PyObject
*swig_obj
[1] ;
10159 if (!args
) SWIG_fail
;
10160 swig_obj
[0] = args
;
10161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10162 if (!SWIG_IsOK(res1
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
10165 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (bool)(arg1
)->Ok();
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10181 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10182 PyObject
*resultobj
= 0;
10183 wxCursor
*arg1
= (wxCursor
*) 0 ;
10187 PyObject
*swig_obj
[1] ;
10189 if (!args
) SWIG_fail
;
10190 swig_obj
[0] = args
;
10191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10192 if (!SWIG_IsOK(res1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10195 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (int)(arg1
)->GetWidth();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_From_int(static_cast< int >(result
));
10209 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10210 PyObject
*resultobj
= 0;
10211 wxCursor
*arg1
= (wxCursor
*) 0 ;
10215 PyObject
*swig_obj
[1] ;
10217 if (!args
) SWIG_fail
;
10218 swig_obj
[0] = args
;
10219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10223 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)(arg1
)->GetHeight();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_From_int(static_cast< int >(result
));
10237 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10238 PyObject
*resultobj
= 0;
10239 wxCursor
*arg1
= (wxCursor
*) 0 ;
10243 PyObject
*swig_obj
[1] ;
10245 if (!args
) SWIG_fail
;
10246 swig_obj
[0] = args
;
10247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10251 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)(arg1
)->GetDepth();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_From_int(static_cast< int >(result
));
10265 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
= 0;
10267 wxCursor
*arg1
= (wxCursor
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 char * kwnames
[] = {
10276 (char *) "self",(char *) "w", NULL
10279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10284 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10286 if (!SWIG_IsOK(ecode2
)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10289 arg2
= static_cast< int >(val2
);
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->SetWidth(arg2
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_Py_Void();
10303 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
= 0;
10305 wxCursor
*arg1
= (wxCursor
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char * kwnames
[] = {
10314 (char *) "self",(char *) "h", NULL
10317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10319 if (!SWIG_IsOK(res1
)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10322 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10324 if (!SWIG_IsOK(ecode2
)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10327 arg2
= static_cast< int >(val2
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 (arg1
)->SetHeight(arg2
);
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_Py_Void();
10341 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxCursor
*arg1
= (wxCursor
*) 0 ;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char * kwnames
[] = {
10352 (char *) "self",(char *) "d", NULL
10355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10357 if (!SWIG_IsOK(res1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10360 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10362 if (!SWIG_IsOK(ecode2
)) {
10363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10365 arg2
= static_cast< int >(val2
);
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 (arg1
)->SetDepth(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_Py_Void();
10379 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
= 0;
10381 wxCursor
*arg1
= (wxCursor
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char * kwnames
[] = {
10389 (char *) "self",(char *) "size", NULL
10392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10394 if (!SWIG_IsOK(res1
)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10397 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10400 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 (arg1
)->SetSize((wxSize
const &)*arg2
);
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= SWIG_Py_Void();
10415 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10418 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10419 return SWIG_Py_Void();
10422 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10423 return SWIG_Python_InitShadowInstance(args
);
10426 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
= 0;
10428 int arg1
= (int) 0 ;
10429 int arg2
= (int) 0 ;
10430 int arg3
= (int) 0 ;
10431 int arg4
= (int) 0 ;
10432 wxRegion
*result
= 0 ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10451 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10452 if (!SWIG_IsOK(ecode1
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10455 arg1
= static_cast< int >(val1
);
10458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10459 if (!SWIG_IsOK(ecode2
)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10462 arg2
= static_cast< int >(val2
);
10465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10466 if (!SWIG_IsOK(ecode3
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10469 arg3
= static_cast< int >(val3
);
10472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10473 if (!SWIG_IsOK(ecode4
)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10476 arg4
= static_cast< int >(val4
);
10479 if (!wxPyCheckForApp()) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10492 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
= 0;
10494 wxBitmap
*arg1
= 0 ;
10495 wxRegion
*result
= 0 ;
10498 PyObject
* obj0
= 0 ;
10499 char * kwnames
[] = {
10500 (char *) "bmp", NULL
10503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10504 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10511 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10513 if (!wxPyCheckForApp()) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10526 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
= 0;
10528 wxBitmap
*arg1
= 0 ;
10529 wxColour
*arg2
= 0 ;
10530 int arg3
= (int) 0 ;
10531 wxRegion
*result
= 0 ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 char * kwnames
[] = {
10541 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10545 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10546 if (!SWIG_IsOK(res1
)) {
10547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10552 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10559 if (!SWIG_IsOK(ecode3
)) {
10560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10562 arg3
= static_cast< int >(val3
);
10565 if (!wxPyCheckForApp()) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10578 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
= 0;
10581 wxPoint
*arg2
= (wxPoint
*) 0 ;
10582 int arg3
= (int) wxWINDING_RULE
;
10583 wxRegion
*result
= 0 ;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "points",(char *) "fillStyle", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10594 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10595 if (arg2
== NULL
) SWIG_fail
;
10598 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10599 if (!SWIG_IsOK(ecode3
)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10602 arg3
= static_cast< int >(val3
);
10605 if (!wxPyCheckForApp()) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10613 if (arg2
) delete [] arg2
;
10618 if (arg2
) delete [] arg2
;
10624 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10625 PyObject
*resultobj
= 0;
10626 wxRegion
*arg1
= (wxRegion
*) 0 ;
10629 PyObject
*swig_obj
[1] ;
10631 if (!args
) SWIG_fail
;
10632 swig_obj
[0] = args
;
10633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10634 if (!SWIG_IsOK(res1
)) {
10635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10637 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_Py_Void();
10652 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10653 PyObject
*resultobj
= 0;
10654 wxRegion
*arg1
= (wxRegion
*) 0 ;
10657 PyObject
*swig_obj
[1] ;
10659 if (!args
) SWIG_fail
;
10660 swig_obj
[0] = args
;
10661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10662 if (!SWIG_IsOK(res1
)) {
10663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10665 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_Py_Void();
10679 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
= 0;
10681 wxRegion
*arg1
= (wxRegion
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 char * kwnames
[] = {
10695 (char *) "self",(char *) "x",(char *) "y", NULL
10698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10700 if (!SWIG_IsOK(res1
)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10703 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10705 if (!SWIG_IsOK(ecode2
)) {
10706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10708 arg2
= static_cast< int >(val2
);
10709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10710 if (!SWIG_IsOK(ecode3
)) {
10711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10713 arg3
= static_cast< int >(val3
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
= 0;
10731 wxRegion
*arg1
= (wxRegion
*) 0 ;
10734 wxRegionContain result
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "x",(char *) "y", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10753 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10755 if (!SWIG_IsOK(ecode2
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10758 arg2
= static_cast< int >(val2
);
10759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10760 if (!SWIG_IsOK(ecode3
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10763 arg3
= static_cast< int >(val3
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_From_int(static_cast< int >(result
));
10777 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
= 0;
10779 wxRegion
*arg1
= (wxRegion
*) 0 ;
10780 wxPoint
*arg2
= 0 ;
10781 wxRegionContain result
;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char * kwnames
[] = {
10788 (char *) "self",(char *) "pt", NULL
10791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10793 if (!SWIG_IsOK(res1
)) {
10794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10796 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= SWIG_From_int(static_cast< int >(result
));
10814 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
= 0;
10816 wxRegion
*arg1
= (wxRegion
*) 0 ;
10818 wxRegionContain result
;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "self",(char *) "rect", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10833 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10836 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_From_int(static_cast< int >(result
));
10851 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
= 0;
10853 wxRegion
*arg1
= (wxRegion
*) 0 ;
10858 wxRegionContain result
;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 PyObject
* obj3
= 0 ;
10873 PyObject
* obj4
= 0 ;
10874 char * kwnames
[] = {
10875 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10883 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10885 if (!SWIG_IsOK(ecode2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10888 arg2
= static_cast< int >(val2
);
10889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10890 if (!SWIG_IsOK(ecode3
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10893 arg3
= static_cast< int >(val3
);
10894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10895 if (!SWIG_IsOK(ecode4
)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10898 arg4
= static_cast< int >(val4
);
10899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10900 if (!SWIG_IsOK(ecode5
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10903 arg5
= static_cast< int >(val5
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_From_int(static_cast< int >(result
));
10917 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10918 PyObject
*resultobj
= 0;
10919 wxRegion
*arg1
= (wxRegion
*) 0 ;
10923 PyObject
*swig_obj
[1] ;
10925 if (!args
) SWIG_fail
;
10926 swig_obj
[0] = args
;
10927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10928 if (!SWIG_IsOK(res1
)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10931 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (arg1
)->GetBox();
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10945 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxRegion
*arg1
= (wxRegion
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 PyObject
* obj2
= 0 ;
10966 PyObject
* obj3
= 0 ;
10967 PyObject
* obj4
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10979 if (!SWIG_IsOK(ecode2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10982 arg2
= static_cast< int >(val2
);
10983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10984 if (!SWIG_IsOK(ecode3
)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10987 arg3
= static_cast< int >(val3
);
10988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10989 if (!SWIG_IsOK(ecode4
)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10992 arg4
= static_cast< int >(val4
);
10993 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10994 if (!SWIG_IsOK(ecode5
)) {
10995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10997 arg5
= static_cast< int >(val5
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11013 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= 0;
11015 wxRegion
*arg1
= (wxRegion
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 char * kwnames
[] = {
11024 (char *) "self",(char *) "rect", NULL
11027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11029 if (!SWIG_IsOK(res1
)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11032 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11035 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11052 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
= 0;
11054 wxRegion
*arg1
= (wxRegion
*) 0 ;
11055 wxRegion
*arg2
= 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 char * kwnames
[] = {
11064 (char *) "self",(char *) "region", NULL
11067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11069 if (!SWIG_IsOK(res1
)) {
11070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11072 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11074 if (!SWIG_IsOK(res2
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11080 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11097 PyObject
*resultobj
= 0;
11098 wxRegion
*arg1
= (wxRegion
*) 0 ;
11102 PyObject
*swig_obj
[1] ;
11104 if (!args
) SWIG_fail
;
11105 swig_obj
[0] = args
;
11106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (bool)(arg1
)->IsEmpty();
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11126 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
= 0;
11128 wxRegion
*arg1
= (wxRegion
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 PyObject
* obj2
= 0 ;
11147 PyObject
* obj3
= 0 ;
11148 PyObject
* obj4
= 0 ;
11149 char * kwnames
[] = {
11150 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11155 if (!SWIG_IsOK(res1
)) {
11156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11158 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11160 if (!SWIG_IsOK(ecode2
)) {
11161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11163 arg2
= static_cast< int >(val2
);
11164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11165 if (!SWIG_IsOK(ecode3
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11168 arg3
= static_cast< int >(val3
);
11169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11170 if (!SWIG_IsOK(ecode4
)) {
11171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11173 arg4
= static_cast< int >(val4
);
11174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11175 if (!SWIG_IsOK(ecode5
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11178 arg5
= static_cast< int >(val5
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxRegion
*arg1
= (wxRegion
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char * kwnames
[] = {
11205 (char *) "self",(char *) "rect", NULL
11208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11210 if (!SWIG_IsOK(res1
)) {
11211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11213 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11216 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxRegion
*arg1
= (wxRegion
*) 0 ;
11236 wxRegion
*arg2
= 0 ;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 char * kwnames
[] = {
11245 (char *) "self",(char *) "region", NULL
11248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11253 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11255 if (!SWIG_IsOK(res2
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11261 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11277 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
= 0;
11279 wxRegion
*arg1
= (wxRegion
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 PyObject
* obj3
= 0 ;
11299 PyObject
* obj4
= 0 ;
11300 char * kwnames
[] = {
11301 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11306 if (!SWIG_IsOK(res1
)) {
11307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11309 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11311 if (!SWIG_IsOK(ecode2
)) {
11312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11314 arg2
= static_cast< int >(val2
);
11315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11316 if (!SWIG_IsOK(ecode3
)) {
11317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11319 arg3
= static_cast< int >(val3
);
11320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11321 if (!SWIG_IsOK(ecode4
)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11324 arg4
= static_cast< int >(val4
);
11325 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11326 if (!SWIG_IsOK(ecode5
)) {
11327 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11329 arg5
= static_cast< int >(val5
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11345 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
= 0;
11347 wxRegion
*arg1
= (wxRegion
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 char * kwnames
[] = {
11356 (char *) "self",(char *) "rect", NULL
11359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11364 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11384 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
= 0;
11386 wxRegion
*arg1
= (wxRegion
*) 0 ;
11387 wxRegion
*arg2
= 0 ;
11393 PyObject
* obj0
= 0 ;
11394 PyObject
* obj1
= 0 ;
11395 char * kwnames
[] = {
11396 (char *) "self",(char *) "region", NULL
11399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11401 if (!SWIG_IsOK(res1
)) {
11402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11404 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11405 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11406 if (!SWIG_IsOK(res2
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11412 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11428 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
*resultobj
= 0;
11430 wxRegion
*arg1
= (wxRegion
*) 0 ;
11446 PyObject
* obj0
= 0 ;
11447 PyObject
* obj1
= 0 ;
11448 PyObject
* obj2
= 0 ;
11449 PyObject
* obj3
= 0 ;
11450 PyObject
* obj4
= 0 ;
11451 char * kwnames
[] = {
11452 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11460 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11462 if (!SWIG_IsOK(ecode2
)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11465 arg2
= static_cast< int >(val2
);
11466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11467 if (!SWIG_IsOK(ecode3
)) {
11468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11470 arg3
= static_cast< int >(val3
);
11471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11472 if (!SWIG_IsOK(ecode4
)) {
11473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11475 arg4
= static_cast< int >(val4
);
11476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11477 if (!SWIG_IsOK(ecode5
)) {
11478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11480 arg5
= static_cast< int >(val5
);
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11496 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
= 0;
11498 wxRegion
*arg1
= (wxRegion
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 char * kwnames
[] = {
11507 (char *) "self",(char *) "rect", NULL
11510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11515 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11518 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11535 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
= 0;
11537 wxRegion
*arg1
= (wxRegion
*) 0 ;
11538 wxRegion
*arg2
= 0 ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 char * kwnames
[] = {
11547 (char *) "self",(char *) "region", NULL
11550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11555 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11557 if (!SWIG_IsOK(res2
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11563 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11579 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11580 PyObject
*resultobj
= 0;
11581 wxRegion
*arg1
= (wxRegion
*) 0 ;
11582 SwigValueWrapper
<wxBitmap
> result
;
11585 PyObject
*swig_obj
[1] ;
11587 if (!args
) SWIG_fail
;
11588 swig_obj
[0] = args
;
11589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11593 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (arg1
)->ConvertToBitmap();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11607 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
= 0;
11609 wxRegion
*arg1
= (wxRegion
*) 0 ;
11610 wxBitmap
*arg2
= 0 ;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 char * kwnames
[] = {
11619 (char *) "self",(char *) "bmp", NULL
11622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11627 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11629 if (!SWIG_IsOK(res2
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11635 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11651 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
= 0;
11653 wxRegion
*arg1
= (wxRegion
*) 0 ;
11654 wxBitmap
*arg2
= 0 ;
11655 wxColour
*arg3
= 0 ;
11656 int arg4
= (int) 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 PyObject
* obj3
= 0 ;
11669 char * kwnames
[] = {
11670 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11678 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11680 if (!SWIG_IsOK(res2
)) {
11681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11686 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11689 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11693 if (!SWIG_IsOK(ecode4
)) {
11694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11696 arg4
= static_cast< int >(val4
);
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11701 wxPyEndAllowThreads(__tstate
);
11702 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11713 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11716 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11717 return SWIG_Py_Void();
11720 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 return SWIG_Python_InitShadowInstance(args
);
11724 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
= 0;
11726 wxRegion
*arg1
= 0 ;
11727 wxRegionIterator
*result
= 0 ;
11730 PyObject
* obj0
= 0 ;
11731 char * kwnames
[] = {
11732 (char *) "region", NULL
11735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11736 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11743 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11745 if (!wxPyCheckForApp()) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11758 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11759 PyObject
*resultobj
= 0;
11760 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11763 PyObject
*swig_obj
[1] ;
11765 if (!args
) SWIG_fail
;
11766 swig_obj
[0] = args
;
11767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11768 if (!SWIG_IsOK(res1
)) {
11769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11771 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_Py_Void();
11786 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 PyObject
*resultobj
= 0;
11788 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11792 PyObject
*swig_obj
[1] ;
11794 if (!args
) SWIG_fail
;
11795 swig_obj
[0] = args
;
11796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11797 if (!SWIG_IsOK(res1
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11800 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (int)(arg1
)->GetX();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= SWIG_From_int(static_cast< int >(result
));
11814 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11815 PyObject
*resultobj
= 0;
11816 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11820 PyObject
*swig_obj
[1] ;
11822 if (!args
) SWIG_fail
;
11823 swig_obj
[0] = args
;
11824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11825 if (!SWIG_IsOK(res1
)) {
11826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11828 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 result
= (int)(arg1
)->GetY();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= SWIG_From_int(static_cast< int >(result
));
11842 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11843 PyObject
*resultobj
= 0;
11844 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11848 PyObject
*swig_obj
[1] ;
11850 if (!args
) SWIG_fail
;
11851 swig_obj
[0] = args
;
11852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11853 if (!SWIG_IsOK(res1
)) {
11854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11856 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (int)(arg1
)->GetW();
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= SWIG_From_int(static_cast< int >(result
));
11870 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11871 PyObject
*resultobj
= 0;
11872 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11876 PyObject
*swig_obj
[1] ;
11878 if (!args
) SWIG_fail
;
11879 swig_obj
[0] = args
;
11880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11881 if (!SWIG_IsOK(res1
)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11884 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (int)(arg1
)->GetWidth();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= SWIG_From_int(static_cast< int >(result
));
11898 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11899 PyObject
*resultobj
= 0;
11900 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11904 PyObject
*swig_obj
[1] ;
11906 if (!args
) SWIG_fail
;
11907 swig_obj
[0] = args
;
11908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11912 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (int)(arg1
)->GetH();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_From_int(static_cast< int >(result
));
11926 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11927 PyObject
*resultobj
= 0;
11928 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11932 PyObject
*swig_obj
[1] ;
11934 if (!args
) SWIG_fail
;
11935 swig_obj
[0] = args
;
11936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11940 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (int)(arg1
)->GetHeight();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_From_int(static_cast< int >(result
));
11954 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11955 PyObject
*resultobj
= 0;
11956 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11960 PyObject
*swig_obj
[1] ;
11962 if (!args
) SWIG_fail
;
11963 swig_obj
[0] = args
;
11964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11965 if (!SWIG_IsOK(res1
)) {
11966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11968 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (arg1
)->GetRect();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11982 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11983 PyObject
*resultobj
= 0;
11984 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11988 PyObject
*swig_obj
[1] ;
11990 if (!args
) SWIG_fail
;
11991 swig_obj
[0] = args
;
11992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11993 if (!SWIG_IsOK(res1
)) {
11994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11996 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (bool)(arg1
)->HaveRects();
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12012 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12013 PyObject
*resultobj
= 0;
12014 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12017 PyObject
*swig_obj
[1] ;
12019 if (!args
) SWIG_fail
;
12020 swig_obj
[0] = args
;
12021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12022 if (!SWIG_IsOK(res1
)) {
12023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12025 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_Py_Void();
12039 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 PyObject
*resultobj
= 0;
12041 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12044 PyObject
*swig_obj
[1] ;
12046 if (!args
) SWIG_fail
;
12047 swig_obj
[0] = args
;
12048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12049 if (!SWIG_IsOK(res1
)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12052 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 wxRegionIterator_Next(arg1
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_Py_Void();
12066 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12067 PyObject
*resultobj
= 0;
12068 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12072 PyObject
*swig_obj
[1] ;
12074 if (!args
) SWIG_fail
;
12075 swig_obj
[0] = args
;
12076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12077 if (!SWIG_IsOK(res1
)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12080 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12096 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12099 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12100 return SWIG_Py_Void();
12103 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 return SWIG_Python_InitShadowInstance(args
);
12107 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12108 PyObject
*resultobj
= 0;
12109 wxNativeFontInfo
*result
= 0 ;
12111 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12125 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12126 PyObject
*resultobj
= 0;
12127 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12130 PyObject
*swig_obj
[1] ;
12132 if (!args
) SWIG_fail
;
12133 swig_obj
[0] = args
;
12134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12138 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_Py_Void();
12153 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12154 PyObject
*resultobj
= 0;
12155 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12158 PyObject
*swig_obj
[1] ;
12160 if (!args
) SWIG_fail
;
12161 swig_obj
[0] = args
;
12162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12163 if (!SWIG_IsOK(res1
)) {
12164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12166 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_Py_Void();
12180 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
= 0;
12182 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 char * kwnames
[] = {
12191 (char *) "self",(char *) "font", NULL
12194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12199 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12201 if (!SWIG_IsOK(res2
)) {
12202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12207 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_Py_Void();
12221 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 PyObject
*resultobj
= 0;
12223 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12227 PyObject
*swig_obj
[1] ;
12229 if (!args
) SWIG_fail
;
12230 swig_obj
[0] = args
;
12231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12232 if (!SWIG_IsOK(res1
)) {
12233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12235 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_From_int(static_cast< int >(result
));
12249 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12250 PyObject
*resultobj
= 0;
12251 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12255 PyObject
*swig_obj
[1] ;
12257 if (!args
) SWIG_fail
;
12258 swig_obj
[0] = args
;
12259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12260 if (!SWIG_IsOK(res1
)) {
12261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12263 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12277 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12278 PyObject
*resultobj
= 0;
12279 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12280 wxFontStyle result
;
12283 PyObject
*swig_obj
[1] ;
12285 if (!args
) SWIG_fail
;
12286 swig_obj
[0] = args
;
12287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12288 if (!SWIG_IsOK(res1
)) {
12289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12291 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= SWIG_From_int(static_cast< int >(result
));
12305 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12306 PyObject
*resultobj
= 0;
12307 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12308 wxFontWeight result
;
12311 PyObject
*swig_obj
[1] ;
12313 if (!args
) SWIG_fail
;
12314 swig_obj
[0] = args
;
12315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12319 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_From_int(static_cast< int >(result
));
12333 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 PyObject
*resultobj
= 0;
12335 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12347 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12363 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 PyObject
*resultobj
= 0;
12365 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12369 PyObject
*swig_obj
[1] ;
12371 if (!args
) SWIG_fail
;
12372 swig_obj
[0] = args
;
12373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12377 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12397 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12398 PyObject
*resultobj
= 0;
12399 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12400 wxFontFamily result
;
12403 PyObject
*swig_obj
[1] ;
12405 if (!args
) SWIG_fail
;
12406 swig_obj
[0] = args
;
12407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12408 if (!SWIG_IsOK(res1
)) {
12409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12411 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= SWIG_From_int(static_cast< int >(result
));
12425 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12426 PyObject
*resultobj
= 0;
12427 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12428 wxFontEncoding result
;
12431 PyObject
*swig_obj
[1] ;
12433 if (!args
) SWIG_fail
;
12434 swig_obj
[0] = args
;
12435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12439 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_From_int(static_cast< int >(result
));
12453 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
= 0;
12455 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char * kwnames
[] = {
12464 (char *) "self",(char *) "pointsize", NULL
12467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12469 if (!SWIG_IsOK(res1
)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12472 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12474 if (!SWIG_IsOK(ecode2
)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12477 arg2
= static_cast< int >(val2
);
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 (arg1
)->SetPointSize(arg2
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= SWIG_Py_Void();
12491 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= 0;
12493 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 char * kwnames
[] = {
12501 (char *) "self",(char *) "pixelSize", NULL
12504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12506 if (!SWIG_IsOK(res1
)) {
12507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12509 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12512 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= SWIG_Py_Void();
12527 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
= 0;
12529 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char * kwnames
[] = {
12538 (char *) "self",(char *) "style", NULL
12541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12543 if (!SWIG_IsOK(res1
)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12546 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12548 if (!SWIG_IsOK(ecode2
)) {
12549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12551 arg2
= static_cast< wxFontStyle
>(val2
);
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->SetStyle(arg2
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_Py_Void();
12565 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
= 0;
12567 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12568 wxFontWeight arg2
;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char * kwnames
[] = {
12576 (char *) "self",(char *) "weight", NULL
12579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12581 if (!SWIG_IsOK(res1
)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12584 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12586 if (!SWIG_IsOK(ecode2
)) {
12587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12589 arg2
= static_cast< wxFontWeight
>(val2
);
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetWeight(arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_Py_Void();
12603 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "underlined", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12622 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12623 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12624 if (!SWIG_IsOK(ecode2
)) {
12625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12627 arg2
= static_cast< bool >(val2
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->SetUnderlined(arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12641 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
= 0;
12643 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "facename", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12659 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12661 wxString
* sptr
= wxString_in_helper(obj1
);
12662 if (sptr
== NULL
) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (bool)(arg1
)->SetFaceName(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12681 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
= 0;
12683 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12684 wxFontFamily arg2
;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char * kwnames
[] = {
12692 (char *) "self",(char *) "family", NULL
12695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12700 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12702 if (!SWIG_IsOK(ecode2
)) {
12703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12705 arg2
= static_cast< wxFontFamily
>(val2
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->SetFamily(arg2
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_Py_Void();
12719 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
= 0;
12721 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12722 wxFontEncoding arg2
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "encoding", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12738 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12740 if (!SWIG_IsOK(ecode2
)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12743 arg2
= static_cast< wxFontEncoding
>(val2
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->SetEncoding(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_Py_Void();
12757 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
= 0;
12759 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12760 wxString
*arg2
= 0 ;
12764 bool temp2
= false ;
12765 PyObject
* obj0
= 0 ;
12766 PyObject
* obj1
= 0 ;
12767 char * kwnames
[] = {
12768 (char *) "self",(char *) "s", NULL
12771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12776 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12778 arg2
= wxString_in_helper(obj1
);
12779 if (arg2
== NULL
) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12806 PyObject
*resultobj
= 0;
12807 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12811 PyObject
*swig_obj
[1] ;
12813 if (!args
) SWIG_fail
;
12814 swig_obj
[0] = args
;
12815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12816 if (!SWIG_IsOK(res1
)) {
12817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12819 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12839 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12840 PyObject
*resultobj
= 0;
12841 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12845 PyObject
*swig_obj
[1] ;
12847 if (!args
) SWIG_fail
;
12848 swig_obj
[0] = args
;
12849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12850 if (!SWIG_IsOK(res1
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12853 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= wxNativeFontInfo___str__(arg1
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12873 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12874 PyObject
*resultobj
= 0;
12875 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12876 wxString
*arg2
= 0 ;
12880 bool temp2
= false ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 char * kwnames
[] = {
12884 (char *) "self",(char *) "s", NULL
12887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12889 if (!SWIG_IsOK(res1
)) {
12890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12892 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12894 arg2
= wxString_in_helper(obj1
);
12895 if (arg2
== NULL
) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12921 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12922 PyObject
*resultobj
= 0;
12923 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12927 PyObject
*swig_obj
[1] ;
12929 if (!args
) SWIG_fail
;
12930 swig_obj
[0] = args
;
12931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12932 if (!SWIG_IsOK(res1
)) {
12933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12935 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12955 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12958 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12959 return SWIG_Py_Void();
12962 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 return SWIG_Python_InitShadowInstance(args
);
12966 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12968 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12969 wxString
*arg2
= (wxString
*) 0 ;
12972 bool temp2
= false ;
12973 PyObject
*swig_obj
[2] ;
12975 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12977 if (!SWIG_IsOK(res1
)) {
12978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12980 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12982 arg2
= wxString_in_helper(swig_obj
[1]);
12983 if (arg2
== NULL
) SWIG_fail
;
12986 if (arg1
) (arg1
)->facename
= *arg2
;
12988 resultobj
= SWIG_Py_Void();
13003 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13004 PyObject
*resultobj
= 0;
13005 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13006 wxString
*result
= 0 ;
13009 PyObject
*swig_obj
[1] ;
13011 if (!args
) SWIG_fail
;
13012 swig_obj
[0] = args
;
13013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13014 if (!SWIG_IsOK(res1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13017 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13018 result
= (wxString
*)& ((arg1
)->facename
);
13021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13032 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13033 PyObject
*resultobj
= 0;
13034 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13035 wxFontEncoding arg2
;
13040 PyObject
*swig_obj
[2] ;
13042 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13044 if (!SWIG_IsOK(res1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13047 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13048 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13049 if (!SWIG_IsOK(ecode2
)) {
13050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13052 arg2
= static_cast< wxFontEncoding
>(val2
);
13053 if (arg1
) (arg1
)->encoding
= arg2
;
13055 resultobj
= SWIG_Py_Void();
13062 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13063 PyObject
*resultobj
= 0;
13064 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13065 wxFontEncoding result
;
13068 PyObject
*swig_obj
[1] ;
13070 if (!args
) SWIG_fail
;
13071 swig_obj
[0] = args
;
13072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13073 if (!SWIG_IsOK(res1
)) {
13074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13076 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13077 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13078 resultobj
= SWIG_From_int(static_cast< int >(result
));
13085 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13086 PyObject
*resultobj
= 0;
13087 wxNativeEncodingInfo
*result
= 0 ;
13089 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13103 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 PyObject
*resultobj
= 0;
13105 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13108 PyObject
*swig_obj
[1] ;
13110 if (!args
) SWIG_fail
;
13111 swig_obj
[0] = args
;
13112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13113 if (!SWIG_IsOK(res1
)) {
13114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13116 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= SWIG_Py_Void();
13131 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
= 0;
13133 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13134 wxString
*arg2
= 0 ;
13138 bool temp2
= false ;
13139 PyObject
* obj0
= 0 ;
13140 PyObject
* obj1
= 0 ;
13141 char * kwnames
[] = {
13142 (char *) "self",(char *) "s", NULL
13145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13150 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13152 arg2
= wxString_in_helper(obj1
);
13153 if (arg2
== NULL
) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13179 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13180 PyObject
*resultobj
= 0;
13181 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13185 PyObject
*swig_obj
[1] ;
13187 if (!args
) SWIG_fail
;
13188 swig_obj
[0] = args
;
13189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13193 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13213 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13216 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13217 return SWIG_Py_Void();
13220 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 return SWIG_Python_InitShadowInstance(args
);
13224 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
= 0;
13226 wxFontEncoding arg1
;
13227 wxNativeEncodingInfo
*result
= 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char * kwnames
[] = {
13232 (char *) "encoding", NULL
13235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13236 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13237 if (!SWIG_IsOK(ecode1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13240 arg1
= static_cast< wxFontEncoding
>(val1
);
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13254 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
= 0;
13256 wxNativeEncodingInfo
*arg1
= 0 ;
13260 PyObject
* obj0
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "info", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13273 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13276 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13289 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13290 PyObject
*resultobj
= 0;
13291 wxFontMapper
*result
= 0 ;
13293 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxFontMapper
*)new wxFontMapper();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13307 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13308 PyObject
*resultobj
= 0;
13309 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13312 PyObject
*swig_obj
[1] ;
13314 if (!args
) SWIG_fail
;
13315 swig_obj
[0] = args
;
13316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13317 if (!SWIG_IsOK(res1
)) {
13318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13320 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_Py_Void();
13335 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13336 PyObject
*resultobj
= 0;
13337 wxFontMapper
*result
= 0 ;
13339 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (wxFontMapper
*)wxFontMapper::Get();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13353 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
= 0;
13355 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13356 wxFontMapper
*result
= 0 ;
13359 PyObject
* obj0
= 0 ;
13360 char * kwnames
[] = {
13361 (char *) "mapper", NULL
13364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13366 if (!SWIG_IsOK(res1
)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13369 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13383 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
= 0;
13385 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13386 wxString
*arg2
= 0 ;
13387 bool arg3
= (bool) true ;
13388 wxFontEncoding result
;
13391 bool temp2
= false ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 PyObject
* obj2
= 0 ;
13397 char * kwnames
[] = {
13398 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13403 if (!SWIG_IsOK(res1
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13406 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13408 arg2
= wxString_in_helper(obj1
);
13409 if (arg2
== NULL
) SWIG_fail
;
13413 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13414 if (!SWIG_IsOK(ecode3
)) {
13415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13417 arg3
= static_cast< bool >(val3
);
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_From_int(static_cast< int >(result
));
13440 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13441 PyObject
*resultobj
= 0;
13444 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13458 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13459 PyObject
*resultobj
= 0;
13461 wxFontEncoding result
;
13464 PyObject
* obj0
= 0 ;
13465 char * kwnames
[] = {
13469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13470 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13471 if (!SWIG_IsOK(ecode1
)) {
13472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13474 arg1
= static_cast< size_t >(val1
);
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13477 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= SWIG_From_int(static_cast< int >(result
));
13488 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13489 PyObject
*resultobj
= 0;
13490 wxFontEncoding arg1
;
13494 PyObject
* obj0
= 0 ;
13495 char * kwnames
[] = {
13496 (char *) "encoding", NULL
13499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13500 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13501 if (!SWIG_IsOK(ecode1
)) {
13502 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13504 arg1
= static_cast< wxFontEncoding
>(val1
);
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= wxFontMapper::GetEncodingName(arg1
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13524 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
= 0;
13526 wxFontEncoding arg1
;
13530 PyObject
* obj0
= 0 ;
13531 char * kwnames
[] = {
13532 (char *) "encoding", NULL
13535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13536 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13537 if (!SWIG_IsOK(ecode1
)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13540 arg1
= static_cast< wxFontEncoding
>(val1
);
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= wxFontMapper::GetEncodingDescription(arg1
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13560 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
= 0;
13562 wxString
*arg1
= 0 ;
13563 wxFontEncoding result
;
13564 bool temp1
= false ;
13565 PyObject
* obj0
= 0 ;
13566 char * kwnames
[] = {
13567 (char *) "name", NULL
13570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13572 arg1
= wxString_in_helper(obj0
);
13573 if (arg1
== NULL
) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_From_int(static_cast< int >(result
));
13597 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
= 0;
13599 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13600 wxString
*arg2
= 0 ;
13603 bool temp2
= false ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 char * kwnames
[] = {
13607 (char *) "self",(char *) "prefix", NULL
13610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13612 if (!SWIG_IsOK(res1
)) {
13613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13615 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13617 arg2
= wxString_in_helper(obj1
);
13618 if (arg2
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_Py_Void();
13642 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13643 PyObject
*resultobj
= 0;
13646 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 result
= wxFontMapper::GetDefaultConfigPath();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13666 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13667 PyObject
*resultobj
= 0;
13668 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13669 wxFontEncoding arg2
;
13670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13672 bool arg4
= (bool) true ;
13673 PyObject
*result
= 0 ;
13678 bool temp3
= false ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 PyObject
* obj2
= 0 ;
13684 PyObject
* obj3
= 0 ;
13685 char * kwnames
[] = {
13686 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13691 if (!SWIG_IsOK(res1
)) {
13692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13694 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13696 if (!SWIG_IsOK(ecode2
)) {
13697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13699 arg2
= static_cast< wxFontEncoding
>(val2
);
13702 arg3
= wxString_in_helper(obj2
);
13703 if (arg3
== NULL
) SWIG_fail
;
13708 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13709 if (!SWIG_IsOK(ecode4
)) {
13710 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13712 arg4
= static_cast< bool >(val4
);
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= result
;
13735 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
= 0;
13737 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13738 wxFontEncoding arg2
;
13739 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13746 bool temp3
= false ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 PyObject
* obj2
= 0 ;
13750 char * kwnames
[] = {
13751 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13756 if (!SWIG_IsOK(res1
)) {
13757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13759 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13761 if (!SWIG_IsOK(ecode2
)) {
13762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13764 arg2
= static_cast< wxFontEncoding
>(val2
);
13767 arg3
= wxString_in_helper(obj2
);
13768 if (arg3
== NULL
) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13795 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
= 0;
13797 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13798 wxWindow
*arg2
= (wxWindow
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 char * kwnames
[] = {
13806 (char *) "self",(char *) "parent", NULL
13809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13811 if (!SWIG_IsOK(res1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13814 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13816 if (!SWIG_IsOK(res2
)) {
13817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13819 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 (arg1
)->SetDialogParent(arg2
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_Py_Void();
13833 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13835 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13836 wxString
*arg2
= 0 ;
13839 bool temp2
= false ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "title", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13851 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13853 arg2
= wxString_in_helper(obj1
);
13854 if (arg2
== NULL
) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= SWIG_Py_Void();
13878 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13881 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13882 return SWIG_Py_Void();
13885 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13886 return SWIG_Python_InitShadowInstance(args
);
13889 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
= 0;
13895 bool arg5
= (bool) false ;
13896 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13897 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13898 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13899 wxFont
*result
= 0 ;
13910 bool temp6
= false ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 PyObject
* obj2
= 0 ;
13916 PyObject
* obj3
= 0 ;
13917 PyObject
* obj4
= 0 ;
13918 PyObject
* obj5
= 0 ;
13919 PyObject
* obj6
= 0 ;
13920 char * kwnames
[] = {
13921 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13926 if (!SWIG_IsOK(ecode1
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13929 arg1
= static_cast< int >(val1
);
13930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13931 if (!SWIG_IsOK(ecode2
)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13934 arg2
= static_cast< int >(val2
);
13935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13936 if (!SWIG_IsOK(ecode3
)) {
13937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13939 arg3
= static_cast< int >(val3
);
13940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13941 if (!SWIG_IsOK(ecode4
)) {
13942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13944 arg4
= static_cast< int >(val4
);
13946 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13947 if (!SWIG_IsOK(ecode5
)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13950 arg5
= static_cast< bool >(val5
);
13954 arg6
= wxString_in_helper(obj5
);
13955 if (arg6
== NULL
) SWIG_fail
;
13960 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13961 if (!SWIG_IsOK(ecode7
)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13964 arg7
= static_cast< wxFontEncoding
>(val7
);
13967 if (!wxPyCheckForApp()) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13988 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxFont
*arg1
= (wxFont
*) 0 ;
13993 PyObject
*swig_obj
[1] ;
13995 if (!args
) SWIG_fail
;
13996 swig_obj
[0] = args
;
13997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14001 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_Py_Void();
14016 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
= 0;
14018 wxNativeFontInfo
*arg1
= 0 ;
14019 wxFont
*result
= 0 ;
14022 PyObject
* obj0
= 0 ;
14023 char * kwnames
[] = {
14024 (char *) "info", NULL
14027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14028 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14029 if (!SWIG_IsOK(res1
)) {
14030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14035 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14037 if (!wxPyCheckForApp()) SWIG_fail
;
14038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14039 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14050 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
= 0;
14052 wxString
*arg1
= 0 ;
14053 wxFont
*result
= 0 ;
14054 bool temp1
= false ;
14055 PyObject
* obj0
= 0 ;
14056 char * kwnames
[] = {
14057 (char *) "info", NULL
14060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14062 arg1
= wxString_in_helper(obj0
);
14063 if (arg1
== NULL
) SWIG_fail
;
14067 if (!wxPyCheckForApp()) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14088 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
= 0;
14091 wxFontFamily arg2
;
14092 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14093 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14094 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14095 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14096 wxFont
*result
= 0 ;
14103 bool temp4
= false ;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 PyObject
* obj2
= 0 ;
14109 PyObject
* obj3
= 0 ;
14110 PyObject
* obj4
= 0 ;
14111 char * kwnames
[] = {
14112 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14116 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14117 if (!SWIG_IsOK(ecode1
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14120 arg1
= static_cast< int >(val1
);
14121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14122 if (!SWIG_IsOK(ecode2
)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14125 arg2
= static_cast< wxFontFamily
>(val2
);
14127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14128 if (!SWIG_IsOK(ecode3
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14131 arg3
= static_cast< int >(val3
);
14135 arg4
= wxString_in_helper(obj3
);
14136 if (arg4
== NULL
) SWIG_fail
;
14141 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14142 if (!SWIG_IsOK(ecode5
)) {
14143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14145 arg5
= static_cast< wxFontEncoding
>(val5
);
14148 if (!wxPyCheckForApp()) SWIG_fail
;
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14169 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
= 0;
14175 bool arg5
= (bool) false ;
14176 wxString
const &arg6_defvalue
= wxEmptyString
;
14177 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14178 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14179 wxFont
*result
= 0 ;
14189 bool temp6
= false ;
14192 PyObject
* obj0
= 0 ;
14193 PyObject
* obj1
= 0 ;
14194 PyObject
* obj2
= 0 ;
14195 PyObject
* obj3
= 0 ;
14196 PyObject
* obj4
= 0 ;
14197 PyObject
* obj5
= 0 ;
14198 PyObject
* obj6
= 0 ;
14199 char * kwnames
[] = {
14200 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14206 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14209 if (!SWIG_IsOK(ecode2
)) {
14210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14212 arg2
= static_cast< int >(val2
);
14213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14214 if (!SWIG_IsOK(ecode3
)) {
14215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14217 arg3
= static_cast< int >(val3
);
14218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14219 if (!SWIG_IsOK(ecode4
)) {
14220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14222 arg4
= static_cast< int >(val4
);
14224 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14225 if (!SWIG_IsOK(ecode5
)) {
14226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14228 arg5
= static_cast< bool >(val5
);
14232 arg6
= wxString_in_helper(obj5
);
14233 if (arg6
== NULL
) SWIG_fail
;
14238 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14239 if (!SWIG_IsOK(ecode7
)) {
14240 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14242 arg7
= static_cast< wxFontEncoding
>(val7
);
14245 if (!wxPyCheckForApp()) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14266 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
= 0;
14269 wxFontFamily arg2
;
14270 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14271 wxString
const &arg4_defvalue
= wxEmptyString
;
14272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14273 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14274 wxFont
*result
= 0 ;
14280 bool temp4
= false ;
14283 PyObject
* obj0
= 0 ;
14284 PyObject
* obj1
= 0 ;
14285 PyObject
* obj2
= 0 ;
14286 PyObject
* obj3
= 0 ;
14287 PyObject
* obj4
= 0 ;
14288 char * kwnames
[] = {
14289 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14295 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14298 if (!SWIG_IsOK(ecode2
)) {
14299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14301 arg2
= static_cast< wxFontFamily
>(val2
);
14303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14304 if (!SWIG_IsOK(ecode3
)) {
14305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14307 arg3
= static_cast< int >(val3
);
14311 arg4
= wxString_in_helper(obj3
);
14312 if (arg4
== NULL
) SWIG_fail
;
14317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14318 if (!SWIG_IsOK(ecode5
)) {
14319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14321 arg5
= static_cast< wxFontEncoding
>(val5
);
14324 if (!wxPyCheckForApp()) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14345 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14346 PyObject
*resultobj
= 0;
14347 wxFont
*arg1
= (wxFont
*) 0 ;
14351 PyObject
*swig_obj
[1] ;
14353 if (!args
) SWIG_fail
;
14354 swig_obj
[0] = args
;
14355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
14359 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (bool)((wxFont
const *)arg1
)->Ok();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
= 0;
14377 wxFont
*arg1
= (wxFont
*) 0 ;
14378 wxFont
*arg2
= (wxFont
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "self",(char *) "other", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14395 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14396 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14397 if (!SWIG_IsOK(res2
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14400 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= 0;
14418 wxFont
*arg1
= (wxFont
*) 0 ;
14419 wxFont
*arg2
= (wxFont
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char * kwnames
[] = {
14428 (char *) "self",(char *) "other", NULL
14431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14433 if (!SWIG_IsOK(res1
)) {
14434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14436 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14438 if (!SWIG_IsOK(res2
)) {
14439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14441 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxFont
*arg1
= (wxFont
*) 0 ;
14463 PyObject
*swig_obj
[1] ;
14465 if (!args
) SWIG_fail
;
14466 swig_obj
[0] = args
;
14467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14471 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_From_int(static_cast< int >(result
));
14485 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14486 PyObject
*resultobj
= 0;
14487 wxFont
*arg1
= (wxFont
*) 0 ;
14491 PyObject
*swig_obj
[1] ;
14493 if (!args
) SWIG_fail
;
14494 swig_obj
[0] = args
;
14495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14499 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14513 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14514 PyObject
*resultobj
= 0;
14515 wxFont
*arg1
= (wxFont
*) 0 ;
14519 PyObject
*swig_obj
[1] ;
14521 if (!args
) SWIG_fail
;
14522 swig_obj
[0] = args
;
14523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14527 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14544 PyObject
*resultobj
= 0;
14545 wxFont
*arg1
= (wxFont
*) 0 ;
14549 PyObject
*swig_obj
[1] ;
14551 if (!args
) SWIG_fail
;
14552 swig_obj
[0] = args
;
14553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14557 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 resultobj
= SWIG_From_int(static_cast< int >(result
));
14571 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14572 PyObject
*resultobj
= 0;
14573 wxFont
*arg1
= (wxFont
*) 0 ;
14577 PyObject
*swig_obj
[1] ;
14579 if (!args
) SWIG_fail
;
14580 swig_obj
[0] = args
;
14581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14582 if (!SWIG_IsOK(res1
)) {
14583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14585 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_From_int(static_cast< int >(result
));
14599 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14600 PyObject
*resultobj
= 0;
14601 wxFont
*arg1
= (wxFont
*) 0 ;
14605 PyObject
*swig_obj
[1] ;
14607 if (!args
) SWIG_fail
;
14608 swig_obj
[0] = args
;
14609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14613 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_From_int(static_cast< int >(result
));
14627 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14628 PyObject
*resultobj
= 0;
14629 wxFont
*arg1
= (wxFont
*) 0 ;
14633 PyObject
*swig_obj
[1] ;
14635 if (!args
) SWIG_fail
;
14636 swig_obj
[0] = args
;
14637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14638 if (!SWIG_IsOK(res1
)) {
14639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14641 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14657 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14658 PyObject
*resultobj
= 0;
14659 wxFont
*arg1
= (wxFont
*) 0 ;
14663 PyObject
*swig_obj
[1] ;
14665 if (!args
) SWIG_fail
;
14666 swig_obj
[0] = args
;
14667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14668 if (!SWIG_IsOK(res1
)) {
14669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14671 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 result
= ((wxFont
const *)arg1
)->GetFaceName();
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14691 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14692 PyObject
*resultobj
= 0;
14693 wxFont
*arg1
= (wxFont
*) 0 ;
14694 wxFontEncoding result
;
14697 PyObject
*swig_obj
[1] ;
14699 if (!args
) SWIG_fail
;
14700 swig_obj
[0] = args
;
14701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14702 if (!SWIG_IsOK(res1
)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14705 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= SWIG_From_int(static_cast< int >(result
));
14719 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14720 PyObject
*resultobj
= 0;
14721 wxFont
*arg1
= (wxFont
*) 0 ;
14722 wxNativeFontInfo
*result
= 0 ;
14725 PyObject
*swig_obj
[1] ;
14727 if (!args
) SWIG_fail
;
14728 swig_obj
[0] = args
;
14729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14733 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14747 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14748 PyObject
*resultobj
= 0;
14749 wxFont
*arg1
= (wxFont
*) 0 ;
14753 PyObject
*swig_obj
[1] ;
14755 if (!args
) SWIG_fail
;
14756 swig_obj
[0] = args
;
14757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14758 if (!SWIG_IsOK(res1
)) {
14759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14761 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14777 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14778 PyObject
*resultobj
= 0;
14779 wxFont
*arg1
= (wxFont
*) 0 ;
14783 PyObject
*swig_obj
[1] ;
14785 if (!args
) SWIG_fail
;
14786 swig_obj
[0] = args
;
14787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14788 if (!SWIG_IsOK(res1
)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14791 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14811 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14812 PyObject
*resultobj
= 0;
14813 wxFont
*arg1
= (wxFont
*) 0 ;
14817 PyObject
*swig_obj
[1] ;
14819 if (!args
) SWIG_fail
;
14820 swig_obj
[0] = args
;
14821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14825 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14845 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14846 PyObject
*resultobj
= 0;
14847 wxFont
*arg1
= (wxFont
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char * kwnames
[] = {
14856 (char *) "self",(char *) "pointSize", NULL
14859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14861 if (!SWIG_IsOK(res1
)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14864 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14866 if (!SWIG_IsOK(ecode2
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14869 arg2
= static_cast< int >(val2
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->SetPointSize(arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_Py_Void();
14883 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= 0;
14885 wxFont
*arg1
= (wxFont
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char * kwnames
[] = {
14893 (char *) "self",(char *) "pixelSize", NULL
14896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14898 if (!SWIG_IsOK(res1
)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14901 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_Py_Void();
14919 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14920 PyObject
*resultobj
= 0;
14921 wxFont
*arg1
= (wxFont
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 char * kwnames
[] = {
14930 (char *) "self",(char *) "family", NULL
14933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14935 if (!SWIG_IsOK(res1
)) {
14936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14938 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14940 if (!SWIG_IsOK(ecode2
)) {
14941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14943 arg2
= static_cast< int >(val2
);
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 (arg1
)->SetFamily(arg2
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_Py_Void();
14957 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14959 wxFont
*arg1
= (wxFont
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char * kwnames
[] = {
14968 (char *) "self",(char *) "style", NULL
14971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14976 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14978 if (!SWIG_IsOK(ecode2
)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14981 arg2
= static_cast< int >(val2
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 (arg1
)->SetStyle(arg2
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_Py_Void();
14995 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
= 0;
14997 wxFont
*arg1
= (wxFont
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "self",(char *) "weight", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15014 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15016 if (!SWIG_IsOK(ecode2
)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15019 arg2
= static_cast< int >(val2
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 (arg1
)->SetWeight(arg2
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_Py_Void();
15033 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
= 0;
15035 wxFont
*arg1
= (wxFont
*) 0 ;
15036 wxString
*arg2
= 0 ;
15040 bool temp2
= false ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "faceName", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15052 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15054 arg2
= wxString_in_helper(obj1
);
15055 if (arg2
== NULL
) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15081 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
= 0;
15083 wxFont
*arg1
= (wxFont
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char * kwnames
[] = {
15092 (char *) "self",(char *) "underlined", NULL
15095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15097 if (!SWIG_IsOK(res1
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15100 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15101 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15102 if (!SWIG_IsOK(ecode2
)) {
15103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15105 arg2
= static_cast< bool >(val2
);
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 (arg1
)->SetUnderlined(arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_Py_Void();
15119 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxFont
*arg1
= (wxFont
*) 0 ;
15122 wxFontEncoding arg2
;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char * kwnames
[] = {
15130 (char *) "self",(char *) "encoding", NULL
15133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15138 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15140 if (!SWIG_IsOK(ecode2
)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15143 arg2
= static_cast< wxFontEncoding
>(val2
);
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 (arg1
)->SetEncoding(arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_Py_Void();
15157 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
= 0;
15159 wxFont
*arg1
= (wxFont
*) 0 ;
15160 wxNativeFontInfo
*arg2
= 0 ;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char * kwnames
[] = {
15168 (char *) "self",(char *) "info", NULL
15171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15173 if (!SWIG_IsOK(res1
)) {
15174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15176 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15178 if (!SWIG_IsOK(res2
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15184 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= SWIG_Py_Void();
15198 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
= 0;
15200 wxFont
*arg1
= (wxFont
*) 0 ;
15201 wxString
*arg2
= 0 ;
15205 bool temp2
= false ;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 char * kwnames
[] = {
15209 (char *) "self",(char *) "info", NULL
15212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15214 if (!SWIG_IsOK(res1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15217 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15219 arg2
= wxString_in_helper(obj1
);
15220 if (arg2
== NULL
) SWIG_fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15246 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
= 0;
15248 wxFont
*arg1
= (wxFont
*) 0 ;
15249 wxString
*arg2
= 0 ;
15253 bool temp2
= false ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char * kwnames
[] = {
15257 (char *) "self",(char *) "info", NULL
15260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15265 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15267 arg2
= wxString_in_helper(obj1
);
15268 if (arg2
== NULL
) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15294 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15295 PyObject
*resultobj
= 0;
15296 wxFont
*arg1
= (wxFont
*) 0 ;
15300 PyObject
*swig_obj
[1] ;
15302 if (!args
) SWIG_fail
;
15303 swig_obj
[0] = args
;
15304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15305 if (!SWIG_IsOK(res1
)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15308 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15328 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15329 PyObject
*resultobj
= 0;
15330 wxFont
*arg1
= (wxFont
*) 0 ;
15334 PyObject
*swig_obj
[1] ;
15336 if (!args
) SWIG_fail
;
15337 swig_obj
[0] = args
;
15338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15339 if (!SWIG_IsOK(res1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15342 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= ((wxFont
const *)arg1
)->GetStyleString();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15362 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15363 PyObject
*resultobj
= 0;
15364 wxFont
*arg1
= (wxFont
*) 0 ;
15368 PyObject
*swig_obj
[1] ;
15370 if (!args
) SWIG_fail
;
15371 swig_obj
[0] = args
;
15372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15373 if (!SWIG_IsOK(res1
)) {
15374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15376 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15379 result
= ((wxFont
const *)arg1
)->GetWeightString();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15396 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
= 0;
15398 wxFont
*arg1
= (wxFont
*) 0 ;
15399 bool arg2
= (bool) true ;
15404 PyObject
* obj0
= 0 ;
15405 PyObject
* obj1
= 0 ;
15406 char * kwnames
[] = {
15407 (char *) "self",(char *) "no", NULL
15410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15412 if (!SWIG_IsOK(res1
)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15415 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15417 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15418 if (!SWIG_IsOK(ecode2
)) {
15419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15421 arg2
= static_cast< bool >(val2
);
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 (arg1
)->SetNoAntiAliasing(arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_Py_Void();
15436 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 PyObject
*resultobj
= 0;
15438 wxFont
*arg1
= (wxFont
*) 0 ;
15442 PyObject
*swig_obj
[1] ;
15444 if (!args
) SWIG_fail
;
15445 swig_obj
[0] = args
;
15446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15467 PyObject
*resultobj
= 0;
15468 wxFontEncoding result
;
15470 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15472 if (!wxPyCheckForApp()) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_From_int(static_cast< int >(result
));
15485 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
= 0;
15487 wxFontEncoding arg1
;
15490 PyObject
* obj0
= 0 ;
15491 char * kwnames
[] = {
15492 (char *) "encoding", NULL
15495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15497 if (!SWIG_IsOK(ecode1
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15500 arg1
= static_cast< wxFontEncoding
>(val1
);
15502 if (!wxPyCheckForApp()) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 wxFont::SetDefaultEncoding(arg1
);
15505 wxPyEndAllowThreads(__tstate
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= SWIG_Py_Void();
15515 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15518 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15519 return SWIG_Py_Void();
15522 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15523 return SWIG_Python_InitShadowInstance(args
);
15526 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15527 PyObject
*resultobj
= 0;
15528 wxPyFontEnumerator
*result
= 0 ;
15530 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15532 if (!wxPyCheckForApp()) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15545 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15546 PyObject
*resultobj
= 0;
15547 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15550 PyObject
*swig_obj
[1] ;
15552 if (!args
) SWIG_fail
;
15553 swig_obj
[0] = args
;
15554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15555 if (!SWIG_IsOK(res1
)) {
15556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15558 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 resultobj
= SWIG_Py_Void();
15573 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
= 0;
15575 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15576 PyObject
*arg2
= (PyObject
*) 0 ;
15577 PyObject
*arg3
= (PyObject
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 PyObject
* obj2
= 0 ;
15586 PyObject
* obj3
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15596 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15599 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15600 if (!SWIG_IsOK(ecode4
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15603 arg4
= static_cast< bool >(val4
);
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_Py_Void();
15617 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
= 0;
15619 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15620 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15621 bool arg3
= (bool) false ;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 PyObject
* obj2
= 0 ;
15632 char * kwnames
[] = {
15633 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15638 if (!SWIG_IsOK(res1
)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15641 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15644 if (!SWIG_IsOK(ecode2
)) {
15645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15647 arg2
= static_cast< wxFontEncoding
>(val2
);
15650 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15651 if (!SWIG_IsOK(ecode3
)) {
15652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15654 arg3
= static_cast< bool >(val3
);
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= 0;
15673 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15674 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15675 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15679 bool temp2
= false ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 char * kwnames
[] = {
15683 (char *) "self",(char *) "facename", NULL
15686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15688 if (!SWIG_IsOK(res1
)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15691 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15694 arg2
= wxString_in_helper(obj1
);
15695 if (arg2
== NULL
) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15722 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15723 PyObject
*resultobj
= 0;
15724 PyObject
*result
= 0 ;
15726 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
;
15740 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 PyObject
*result
= 0 ;
15744 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
;
15758 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
= 0;
15760 wxString
*arg1
= 0 ;
15762 bool temp1
= false ;
15763 PyObject
* obj0
= 0 ;
15764 char * kwnames
[] = {
15765 (char *) "str", NULL
15768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15770 arg1
= wxString_in_helper(obj0
);
15771 if (arg1
== NULL
) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15797 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15800 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15801 return SWIG_Py_Void();
15804 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 return SWIG_Python_InitShadowInstance(args
);
15808 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15809 PyObject
*resultobj
= 0;
15810 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15816 PyObject
*swig_obj
[2] ;
15818 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15820 if (!SWIG_IsOK(res1
)) {
15821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15823 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15824 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15825 if (!SWIG_IsOK(ecode2
)) {
15826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15828 arg2
= static_cast< int >(val2
);
15829 if (arg1
) (arg1
)->Language
= arg2
;
15831 resultobj
= SWIG_Py_Void();
15838 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15839 PyObject
*resultobj
= 0;
15840 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15844 PyObject
*swig_obj
[1] ;
15846 if (!args
) SWIG_fail
;
15847 swig_obj
[0] = args
;
15848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15849 if (!SWIG_IsOK(res1
)) {
15850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15852 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15853 result
= (int) ((arg1
)->Language
);
15854 resultobj
= SWIG_From_int(static_cast< int >(result
));
15861 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15862 PyObject
*resultobj
= 0;
15863 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15864 wxString
*arg2
= (wxString
*) 0 ;
15867 bool temp2
= false ;
15868 PyObject
*swig_obj
[2] ;
15870 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15872 if (!SWIG_IsOK(res1
)) {
15873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15875 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15877 arg2
= wxString_in_helper(swig_obj
[1]);
15878 if (arg2
== NULL
) SWIG_fail
;
15881 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15883 resultobj
= SWIG_Py_Void();
15898 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15899 PyObject
*resultobj
= 0;
15900 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15901 wxString
*result
= 0 ;
15904 PyObject
*swig_obj
[1] ;
15906 if (!args
) SWIG_fail
;
15907 swig_obj
[0] = args
;
15908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15909 if (!SWIG_IsOK(res1
)) {
15910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15912 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15913 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15916 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15918 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15927 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15928 PyObject
*resultobj
= 0;
15929 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15930 wxString
*arg2
= (wxString
*) 0 ;
15933 bool temp2
= false ;
15934 PyObject
*swig_obj
[2] ;
15936 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15938 if (!SWIG_IsOK(res1
)) {
15939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15941 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15943 arg2
= wxString_in_helper(swig_obj
[1]);
15944 if (arg2
== NULL
) SWIG_fail
;
15947 if (arg1
) (arg1
)->Description
= *arg2
;
15949 resultobj
= SWIG_Py_Void();
15964 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15965 PyObject
*resultobj
= 0;
15966 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15967 wxString
*result
= 0 ;
15970 PyObject
*swig_obj
[1] ;
15972 if (!args
) SWIG_fail
;
15973 swig_obj
[0] = args
;
15974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15975 if (!SWIG_IsOK(res1
)) {
15976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15978 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15979 result
= (wxString
*)& ((arg1
)->Description
);
15982 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15984 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15993 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15996 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15997 return SWIG_Py_Void();
16000 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
= 0;
16002 int arg1
= (int) -1 ;
16003 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16004 wxLocale
*result
= 0 ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char * kwnames
[] = {
16012 (char *) "language",(char *) "flags", NULL
16015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16018 if (!SWIG_IsOK(ecode1
)) {
16019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16021 arg1
= static_cast< int >(val1
);
16024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16025 if (!SWIG_IsOK(ecode2
)) {
16026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16028 arg2
= static_cast< int >(val2
);
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16043 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16044 PyObject
*resultobj
= 0;
16045 wxLocale
*arg1
= (wxLocale
*) 0 ;
16048 PyObject
*swig_obj
[1] ;
16050 if (!args
) SWIG_fail
;
16051 swig_obj
[0] = args
;
16052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16053 if (!SWIG_IsOK(res1
)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16056 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= SWIG_Py_Void();
16071 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
= 0;
16073 wxLocale
*arg1
= (wxLocale
*) 0 ;
16074 wxString
*arg2
= 0 ;
16075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16077 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16078 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16079 bool arg5
= (bool) true ;
16080 bool arg6
= (bool) false ;
16084 bool temp2
= false ;
16085 bool temp3
= false ;
16086 bool temp4
= false ;
16091 PyObject
* obj0
= 0 ;
16092 PyObject
* obj1
= 0 ;
16093 PyObject
* obj2
= 0 ;
16094 PyObject
* obj3
= 0 ;
16095 PyObject
* obj4
= 0 ;
16096 PyObject
* obj5
= 0 ;
16097 char * kwnames
[] = {
16098 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16106 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16108 arg2
= wxString_in_helper(obj1
);
16109 if (arg2
== NULL
) SWIG_fail
;
16114 arg3
= wxString_in_helper(obj2
);
16115 if (arg3
== NULL
) SWIG_fail
;
16121 arg4
= wxString_in_helper(obj3
);
16122 if (arg4
== NULL
) SWIG_fail
;
16127 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16128 if (!SWIG_IsOK(ecode5
)) {
16129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16131 arg5
= static_cast< bool >(val5
);
16134 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16135 if (!SWIG_IsOK(ecode6
)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16138 arg6
= static_cast< bool >(val6
);
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16179 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
= 0;
16181 wxLocale
*arg1
= (wxLocale
*) 0 ;
16182 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16183 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 PyObject
* obj2
= 0 ;
16194 char * kwnames
[] = {
16195 (char *) "self",(char *) "language",(char *) "flags", NULL
16198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16200 if (!SWIG_IsOK(res1
)) {
16201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16203 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16206 if (!SWIG_IsOK(ecode2
)) {
16207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16209 arg2
= static_cast< int >(val2
);
16212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16213 if (!SWIG_IsOK(ecode3
)) {
16214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16216 arg3
= static_cast< int >(val3
);
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16233 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 PyObject
*resultobj
= 0;
16237 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (int)wxLocale::GetSystemLanguage();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= SWIG_From_int(static_cast< int >(result
));
16251 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16252 PyObject
*resultobj
= 0;
16253 wxFontEncoding result
;
16255 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= SWIG_From_int(static_cast< int >(result
));
16269 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16270 PyObject
*resultobj
= 0;
16273 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= wxLocale::GetSystemEncodingName();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16293 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 PyObject
*resultobj
= 0;
16295 wxLocale
*arg1
= (wxLocale
*) 0 ;
16299 PyObject
*swig_obj
[1] ;
16301 if (!args
) SWIG_fail
;
16302 swig_obj
[0] = args
;
16303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16304 if (!SWIG_IsOK(res1
)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16307 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16310 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16323 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16324 PyObject
*resultobj
= 0;
16325 wxLocale
*arg1
= (wxLocale
*) 0 ;
16329 PyObject
*swig_obj
[1] ;
16331 if (!args
) SWIG_fail
;
16332 swig_obj
[0] = args
;
16333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16334 if (!SWIG_IsOK(res1
)) {
16335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16337 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= ((wxLocale
const *)arg1
)->GetLocale();
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16357 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 PyObject
*resultobj
= 0;
16359 wxLocale
*arg1
= (wxLocale
*) 0 ;
16363 PyObject
*swig_obj
[1] ;
16365 if (!args
) SWIG_fail
;
16366 swig_obj
[0] = args
;
16367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16371 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= SWIG_From_int(static_cast< int >(result
));
16385 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16386 PyObject
*resultobj
= 0;
16387 wxLocale
*arg1
= (wxLocale
*) 0 ;
16391 PyObject
*swig_obj
[1] ;
16393 if (!args
) SWIG_fail
;
16394 swig_obj
[0] = args
;
16395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16396 if (!SWIG_IsOK(res1
)) {
16397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16399 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 result
= ((wxLocale
const *)arg1
)->GetSysName();
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16419 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16420 PyObject
*resultobj
= 0;
16421 wxLocale
*arg1
= (wxLocale
*) 0 ;
16425 PyObject
*swig_obj
[1] ;
16427 if (!args
) SWIG_fail
;
16428 swig_obj
[0] = args
;
16429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16433 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16453 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
= 0;
16455 wxString
*arg1
= 0 ;
16456 bool temp1
= false ;
16457 PyObject
* obj0
= 0 ;
16458 char * kwnames
[] = {
16459 (char *) "prefix", NULL
16462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16464 arg1
= wxString_in_helper(obj0
);
16465 if (arg1
== NULL
) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= SWIG_Py_Void();
16489 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= 0;
16491 wxLocale
*arg1
= (wxLocale
*) 0 ;
16492 wxString
*arg2
= 0 ;
16496 bool temp2
= false ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char * kwnames
[] = {
16500 (char *) "self",(char *) "szDomain", NULL
16503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16505 if (!SWIG_IsOK(res1
)) {
16506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16508 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16510 arg2
= wxString_in_helper(obj1
);
16511 if (arg2
== NULL
) SWIG_fail
;
16515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16516 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16537 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
= 0;
16539 wxLocale
*arg1
= (wxLocale
*) 0 ;
16540 wxString
*arg2
= 0 ;
16544 bool temp2
= false ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char * kwnames
[] = {
16548 (char *) "self",(char *) "szDomain", NULL
16551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16553 if (!SWIG_IsOK(res1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16556 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16558 arg2
= wxString_in_helper(obj1
);
16559 if (arg2
== NULL
) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16585 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
= 0;
16588 wxLanguageInfo
*result
= 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char * kwnames
[] = {
16593 (char *) "lang", NULL
16596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16598 if (!SWIG_IsOK(ecode1
)) {
16599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16601 arg1
= static_cast< int >(val1
);
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16615 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
= 0;
16621 PyObject
* obj0
= 0 ;
16622 char * kwnames
[] = {
16623 (char *) "lang", NULL
16626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16627 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16628 if (!SWIG_IsOK(ecode1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16631 arg1
= static_cast< int >(val1
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= wxLocale::GetLanguageName(arg1
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16651 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16652 PyObject
*resultobj
= 0;
16653 wxString
*arg1
= 0 ;
16654 wxLanguageInfo
*result
= 0 ;
16655 bool temp1
= false ;
16656 PyObject
* obj0
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "locale", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16663 arg1
= wxString_in_helper(obj0
);
16664 if (arg1
== NULL
) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16688 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
= 0;
16690 wxLanguageInfo
*arg1
= 0 ;
16693 PyObject
* obj0
= 0 ;
16694 char * kwnames
[] = {
16695 (char *) "info", NULL
16698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16699 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16700 if (!SWIG_IsOK(res1
)) {
16701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16706 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_Py_Void();
16720 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= 0;
16722 wxLocale
*arg1
= (wxLocale
*) 0 ;
16723 wxString
*arg2
= 0 ;
16724 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16725 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16729 bool temp2
= false ;
16730 bool temp3
= false ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 PyObject
* obj2
= 0 ;
16734 char * kwnames
[] = {
16735 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16740 if (!SWIG_IsOK(res1
)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16743 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16745 arg2
= wxString_in_helper(obj1
);
16746 if (arg2
== NULL
) SWIG_fail
;
16751 arg3
= wxString_in_helper(obj2
);
16752 if (arg3
== NULL
) SWIG_fail
;
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16791 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16792 PyObject
*resultobj
= 0;
16793 wxLocale
*arg1
= (wxLocale
*) 0 ;
16794 wxString
*result
= 0 ;
16797 PyObject
*swig_obj
[1] ;
16799 if (!args
) SWIG_fail
;
16800 swig_obj
[0] = args
;
16801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16802 if (!SWIG_IsOK(res1
)) {
16803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16805 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16809 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16810 result
= (wxString
*) &_result_ref
;
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16828 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16831 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16832 return SWIG_Py_Void();
16835 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16836 return SWIG_Python_InitShadowInstance(args
);
16839 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
= 0;
16841 int arg1
= (int) -1 ;
16842 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16843 wxPyLocale
*result
= 0 ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "language",(char *) "flags", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16857 if (!SWIG_IsOK(ecode1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16860 arg1
= static_cast< int >(val1
);
16863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16864 if (!SWIG_IsOK(ecode2
)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16867 arg2
= static_cast< int >(val2
);
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16882 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16883 PyObject
*resultobj
= 0;
16884 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16887 PyObject
*swig_obj
[1] ;
16889 if (!args
) SWIG_fail
;
16890 swig_obj
[0] = args
;
16891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16892 if (!SWIG_IsOK(res1
)) {
16893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16895 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_Py_Void();
16910 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16913 PyObject
*arg2
= (PyObject
*) 0 ;
16914 PyObject
*arg3
= (PyObject
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 PyObject
* obj2
= 0 ;
16920 char * kwnames
[] = {
16921 (char *) "self",(char *) "self",(char *) "_class", NULL
16924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16926 if (!SWIG_IsOK(res1
)) {
16927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16929 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= SWIG_Py_Void();
16945 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
= 0;
16947 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16948 wxChar
*arg2
= (wxChar
*) 0 ;
16949 wxChar
*arg3
= (wxChar
*) NULL
;
16950 wxChar
*result
= 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 PyObject
* obj2
= 0 ;
16960 char * kwnames
[] = {
16961 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16966 if (!SWIG_IsOK(res1
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16969 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16971 if (!SWIG_IsOK(res2
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16974 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16976 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16977 if (!SWIG_IsOK(res3
)) {
16978 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16980 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16995 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16997 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16998 wxChar
*arg2
= (wxChar
*) 0 ;
16999 wxChar
*arg3
= (wxChar
*) 0 ;
17001 wxChar
*arg5
= (wxChar
*) NULL
;
17002 wxChar
*result
= 0 ;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 PyObject
* obj2
= 0 ;
17016 PyObject
* obj3
= 0 ;
17017 PyObject
* obj4
= 0 ;
17018 char * kwnames
[] = {
17019 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17027 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17029 if (!SWIG_IsOK(res2
)) {
17030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17032 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17033 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17034 if (!SWIG_IsOK(res3
)) {
17035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17037 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17038 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17039 if (!SWIG_IsOK(ecode4
)) {
17040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17042 arg4
= static_cast< size_t >(val4
);
17044 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17045 if (!SWIG_IsOK(res5
)) {
17046 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17048 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17063 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17067 return SWIG_Py_Void();
17070 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17071 return SWIG_Python_InitShadowInstance(args
);
17074 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17075 PyObject
*resultobj
= 0;
17076 wxLocale
*result
= 0 ;
17078 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (wxLocale
*)wxGetLocale();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17092 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17093 PyObject
*resultobj
= 0;
17094 wxString
*arg1
= 0 ;
17096 bool temp1
= false ;
17098 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17100 arg1
= wxString_in_helper(swig_obj
[0]);
17101 if (arg1
== NULL
) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= wxGetTranslation((wxString
const &)*arg1
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17131 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17132 PyObject
*resultobj
= 0;
17133 wxString
*arg1
= 0 ;
17134 wxString
*arg2
= 0 ;
17136 bool temp1
= false ;
17137 bool temp2
= false ;
17139 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17141 arg1
= wxString_in_helper(swig_obj
[0]);
17142 if (arg1
== NULL
) SWIG_fail
;
17146 arg2
= wxString_in_helper(swig_obj
[1]);
17147 if (arg2
== NULL
) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17185 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17186 PyObject
*resultobj
= 0;
17187 wxString
*arg1
= 0 ;
17188 wxString
*arg2
= 0 ;
17191 bool temp1
= false ;
17192 bool temp2
= false ;
17196 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17198 arg1
= wxString_in_helper(swig_obj
[0]);
17199 if (arg1
== NULL
) SWIG_fail
;
17203 arg2
= wxString_in_helper(swig_obj
[1]);
17204 if (arg2
== NULL
) SWIG_fail
;
17207 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17208 if (!SWIG_IsOK(ecode3
)) {
17209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17211 arg3
= static_cast< size_t >(val3
);
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17247 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17248 PyObject
*resultobj
= 0;
17249 wxString
*arg1
= 0 ;
17250 wxString
*arg2
= 0 ;
17252 wxString
*arg4
= 0 ;
17254 bool temp1
= false ;
17255 bool temp2
= false ;
17258 bool temp4
= false ;
17260 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17262 arg1
= wxString_in_helper(swig_obj
[0]);
17263 if (arg1
== NULL
) SWIG_fail
;
17267 arg2
= wxString_in_helper(swig_obj
[1]);
17268 if (arg2
== NULL
) SWIG_fail
;
17271 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17272 if (!SWIG_IsOK(ecode3
)) {
17273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17275 arg3
= static_cast< size_t >(val3
);
17277 arg4
= wxString_in_helper(swig_obj
[3]);
17278 if (arg4
== NULL
) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17324 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17328 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17331 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17334 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17337 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17340 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17344 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17349 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17350 PyObject
*resultobj
= 0;
17351 wxEncodingConverter
*result
= 0 ;
17353 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17367 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17368 PyObject
*resultobj
= 0;
17369 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17372 PyObject
*swig_obj
[1] ;
17374 if (!args
) SWIG_fail
;
17375 swig_obj
[0] = args
;
17376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17377 if (!SWIG_IsOK(res1
)) {
17378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17380 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= SWIG_Py_Void();
17395 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17396 PyObject
*resultobj
= 0;
17397 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17398 wxFontEncoding arg2
;
17399 wxFontEncoding arg3
;
17400 int arg4
= (int) wxCONVERT_STRICT
;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 PyObject
* obj2
= 0 ;
17413 PyObject
* obj3
= 0 ;
17414 char * kwnames
[] = {
17415 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17420 if (!SWIG_IsOK(res1
)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17423 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17425 if (!SWIG_IsOK(ecode2
)) {
17426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17428 arg2
= static_cast< wxFontEncoding
>(val2
);
17429 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17430 if (!SWIG_IsOK(ecode3
)) {
17431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17433 arg3
= static_cast< wxFontEncoding
>(val3
);
17435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17436 if (!SWIG_IsOK(ecode4
)) {
17437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17439 arg4
= static_cast< int >(val4
);
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17444 wxPyEndAllowThreads(__tstate
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17456 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
= 0;
17458 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17459 wxString
*arg2
= 0 ;
17463 bool temp2
= false ;
17464 PyObject
* obj0
= 0 ;
17465 PyObject
* obj1
= 0 ;
17466 char * kwnames
[] = {
17467 (char *) "self",(char *) "input", NULL
17470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17472 if (!SWIG_IsOK(res1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17475 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17477 arg2
= wxString_in_helper(obj1
);
17478 if (arg2
== NULL
) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17508 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
= 0;
17510 wxFontEncoding arg1
;
17511 int arg2
= (int) wxPLATFORM_CURRENT
;
17512 wxFontEncodingArray result
;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 char * kwnames
[] = {
17520 (char *) "enc",(char *) "platform", NULL
17523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17524 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17525 if (!SWIG_IsOK(ecode1
)) {
17526 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17528 arg1
= static_cast< wxFontEncoding
>(val1
);
17530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17531 if (!SWIG_IsOK(ecode2
)) {
17532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17534 arg2
= static_cast< int >(val2
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= PyList_New(0);
17544 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17545 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17546 PyList_Append(resultobj
, number
);
17556 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
= 0;
17558 wxFontEncoding arg1
;
17559 wxFontEncodingArray result
;
17562 PyObject
* obj0
= 0 ;
17563 char * kwnames
[] = {
17564 (char *) "enc", NULL
17567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17569 if (!SWIG_IsOK(ecode1
)) {
17570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17572 arg1
= static_cast< wxFontEncoding
>(val1
);
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17576 wxPyEndAllowThreads(__tstate
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= PyList_New(0);
17581 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17582 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17583 PyList_Append(resultobj
, number
);
17593 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= 0;
17595 wxFontEncoding arg1
;
17596 wxFontEncoding arg2
;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 char * kwnames
[] = {
17605 (char *) "encIn",(char *) "encOut", NULL
17608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17609 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17610 if (!SWIG_IsOK(ecode1
)) {
17611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17613 arg1
= static_cast< wxFontEncoding
>(val1
);
17614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17615 if (!SWIG_IsOK(ecode2
)) {
17616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17618 arg2
= static_cast< wxFontEncoding
>(val2
);
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17634 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17637 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17638 return SWIG_Py_Void();
17641 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17642 return SWIG_Python_InitShadowInstance(args
);
17645 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17646 PyObject
*resultobj
= 0;
17647 wxDC
*arg1
= (wxDC
*) 0 ;
17650 PyObject
*swig_obj
[1] ;
17652 if (!args
) SWIG_fail
;
17653 swig_obj
[0] = args
;
17654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17655 if (!SWIG_IsOK(res1
)) {
17656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= SWIG_Py_Void();
17673 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
= 0;
17675 wxDC
*arg1
= (wxDC
*) 0 ;
17678 wxColour
*arg4
= 0 ;
17679 int arg5
= (int) wxFLOOD_SURFACE
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 PyObject
* obj2
= 0 ;
17693 PyObject
* obj3
= 0 ;
17694 PyObject
* obj4
= 0 ;
17695 char * kwnames
[] = {
17696 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17701 if (!SWIG_IsOK(res1
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17706 if (!SWIG_IsOK(ecode2
)) {
17707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17709 arg2
= static_cast< int >(val2
);
17710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17711 if (!SWIG_IsOK(ecode3
)) {
17712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17714 arg3
= static_cast< int >(val3
);
17717 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17720 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17721 if (!SWIG_IsOK(ecode5
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17724 arg5
= static_cast< int >(val5
);
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17741 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
= 0;
17743 wxDC
*arg1
= (wxDC
*) 0 ;
17744 wxPoint
*arg2
= 0 ;
17745 wxColour
*arg3
= 0 ;
17746 int arg4
= (int) wxFLOOD_SURFACE
;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 PyObject
* obj2
= 0 ;
17757 PyObject
* obj3
= 0 ;
17758 char * kwnames
[] = {
17759 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17764 if (!SWIG_IsOK(res1
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17774 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17777 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17778 if (!SWIG_IsOK(ecode4
)) {
17779 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17781 arg4
= static_cast< int >(val4
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17798 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
= 0;
17800 wxDC
*arg1
= (wxDC
*) 0 ;
17802 wxColour
*arg3
= 0 ;
17803 wxColour
*arg4
= 0 ;
17804 wxPoint
*arg5
= 0 ;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 PyObject
* obj2
= 0 ;
17814 PyObject
* obj3
= 0 ;
17815 PyObject
* obj4
= 0 ;
17816 char * kwnames
[] = {
17817 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17822 if (!SWIG_IsOK(res1
)) {
17823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17832 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17836 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17840 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_Py_Void();
17855 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
= 0;
17857 wxDC
*arg1
= (wxDC
*) 0 ;
17859 wxColour
*arg3
= 0 ;
17860 wxColour
*arg4
= 0 ;
17861 wxDirection arg5
= (wxDirection
) wxEAST
;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 PyObject
* obj2
= 0 ;
17872 PyObject
* obj3
= 0 ;
17873 PyObject
* obj4
= 0 ;
17874 char * kwnames
[] = {
17875 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17880 if (!SWIG_IsOK(res1
)) {
17881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17886 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17890 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17894 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17898 if (!SWIG_IsOK(ecode5
)) {
17899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17901 arg5
= static_cast< wxDirection
>(val5
);
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_Py_Void();
17916 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
= 0;
17918 wxDC
*arg1
= (wxDC
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 char * kwnames
[] = {
17932 (char *) "self",(char *) "x",(char *) "y", NULL
17935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17942 if (!SWIG_IsOK(ecode2
)) {
17943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17945 arg2
= static_cast< int >(val2
);
17946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17947 if (!SWIG_IsOK(ecode3
)) {
17948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17950 arg3
= static_cast< int >(val3
);
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17964 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
= 0;
17966 wxDC
*arg1
= (wxDC
*) 0 ;
17967 wxPoint
*arg2
= 0 ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char * kwnames
[] = {
17975 (char *) "self",(char *) "pt", NULL
17978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17980 if (!SWIG_IsOK(res1
)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18001 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
= 0;
18003 wxDC
*arg1
= (wxDC
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 PyObject
* obj2
= 0 ;
18021 PyObject
* obj3
= 0 ;
18022 PyObject
* obj4
= 0 ;
18023 char * kwnames
[] = {
18024 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18029 if (!SWIG_IsOK(res1
)) {
18030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18034 if (!SWIG_IsOK(ecode2
)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18037 arg2
= static_cast< int >(val2
);
18038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18039 if (!SWIG_IsOK(ecode3
)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18042 arg3
= static_cast< int >(val3
);
18043 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18044 if (!SWIG_IsOK(ecode4
)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18047 arg4
= static_cast< int >(val4
);
18048 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18049 if (!SWIG_IsOK(ecode5
)) {
18050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18052 arg5
= static_cast< int >(val5
);
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_Py_Void();
18066 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
= 0;
18068 wxDC
*arg1
= (wxDC
*) 0 ;
18069 wxPoint
*arg2
= 0 ;
18070 wxPoint
*arg3
= 0 ;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 PyObject
* obj2
= 0 ;
18078 char * kwnames
[] = {
18079 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18084 if (!SWIG_IsOK(res1
)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18094 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_Py_Void();
18109 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
= 0;
18111 wxDC
*arg1
= (wxDC
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 PyObject
* obj2
= 0 ;
18123 char * kwnames
[] = {
18124 (char *) "self",(char *) "x",(char *) "y", NULL
18127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18129 if (!SWIG_IsOK(res1
)) {
18130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18134 if (!SWIG_IsOK(ecode2
)) {
18135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18137 arg2
= static_cast< int >(val2
);
18138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18139 if (!SWIG_IsOK(ecode3
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18142 arg3
= static_cast< int >(val3
);
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 (arg1
)->CrossHair(arg2
,arg3
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_Py_Void();
18156 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
= 0;
18158 wxDC
*arg1
= (wxDC
*) 0 ;
18159 wxPoint
*arg2
= 0 ;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 char * kwnames
[] = {
18166 (char *) "self",(char *) "pt", NULL
18169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_Py_Void();
18192 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxDC
*arg1
= (wxDC
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 PyObject
* obj3
= 0 ;
18219 PyObject
* obj4
= 0 ;
18220 PyObject
* obj5
= 0 ;
18221 PyObject
* obj6
= 0 ;
18222 char * kwnames
[] = {
18223 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18233 if (!SWIG_IsOK(ecode2
)) {
18234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18236 arg2
= static_cast< int >(val2
);
18237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18238 if (!SWIG_IsOK(ecode3
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18241 arg3
= static_cast< int >(val3
);
18242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18243 if (!SWIG_IsOK(ecode4
)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18246 arg4
= static_cast< int >(val4
);
18247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18248 if (!SWIG_IsOK(ecode5
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18251 arg5
= static_cast< int >(val5
);
18252 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18253 if (!SWIG_IsOK(ecode6
)) {
18254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18256 arg6
= static_cast< int >(val6
);
18257 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18258 if (!SWIG_IsOK(ecode7
)) {
18259 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18261 arg7
= static_cast< int >(val7
);
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_Py_Void();
18275 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
= 0;
18277 wxDC
*arg1
= (wxDC
*) 0 ;
18278 wxPoint
*arg2
= 0 ;
18279 wxPoint
*arg3
= 0 ;
18280 wxPoint
*arg4
= 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 PyObject
* obj3
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18306 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_Py_Void();
18325 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
= 0;
18327 wxDC
*arg1
= (wxDC
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 PyObject
* obj2
= 0 ;
18345 PyObject
* obj3
= 0 ;
18346 PyObject
* obj4
= 0 ;
18347 char * kwnames
[] = {
18348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18353 if (!SWIG_IsOK(res1
)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18358 if (!SWIG_IsOK(ecode2
)) {
18359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18361 arg2
= static_cast< int >(val2
);
18362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18363 if (!SWIG_IsOK(ecode3
)) {
18364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18366 arg3
= static_cast< int >(val3
);
18367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18368 if (!SWIG_IsOK(ecode4
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18371 arg4
= static_cast< int >(val4
);
18372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18373 if (!SWIG_IsOK(ecode5
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18376 arg5
= static_cast< int >(val5
);
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_Py_Void();
18390 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
= 0;
18392 wxDC
*arg1
= (wxDC
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 char * kwnames
[] = {
18400 (char *) "self",(char *) "rect", NULL
18403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18405 if (!SWIG_IsOK(res1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18411 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_Py_Void();
18426 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
= 0;
18428 wxDC
*arg1
= (wxDC
*) 0 ;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 PyObject
* obj3
= 0 ;
18453 PyObject
* obj4
= 0 ;
18454 PyObject
* obj5
= 0 ;
18455 PyObject
* obj6
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18467 if (!SWIG_IsOK(ecode2
)) {
18468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18470 arg2
= static_cast< int >(val2
);
18471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18472 if (!SWIG_IsOK(ecode3
)) {
18473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18475 arg3
= static_cast< int >(val3
);
18476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18477 if (!SWIG_IsOK(ecode4
)) {
18478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18480 arg4
= static_cast< int >(val4
);
18481 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18482 if (!SWIG_IsOK(ecode5
)) {
18483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18485 arg5
= static_cast< int >(val5
);
18486 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18487 if (!SWIG_IsOK(ecode6
)) {
18488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18490 arg6
= static_cast< double >(val6
);
18491 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18492 if (!SWIG_IsOK(ecode7
)) {
18493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18495 arg7
= static_cast< double >(val7
);
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= SWIG_Py_Void();
18509 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
= 0;
18511 wxDC
*arg1
= (wxDC
*) 0 ;
18512 wxPoint
*arg2
= 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 PyObject
* obj3
= 0 ;
18528 PyObject
* obj4
= 0 ;
18529 char * kwnames
[] = {
18530 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18545 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18547 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18548 if (!SWIG_IsOK(ecode4
)) {
18549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18551 arg4
= static_cast< double >(val4
);
18552 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18553 if (!SWIG_IsOK(ecode5
)) {
18554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18556 arg5
= static_cast< double >(val5
);
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_Py_Void();
18570 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
= 0;
18572 wxDC
*arg1
= (wxDC
*) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 PyObject
* obj1
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 char * kwnames
[] = {
18585 (char *) "self",(char *) "x",(char *) "y", NULL
18588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18590 if (!SWIG_IsOK(res1
)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18595 if (!SWIG_IsOK(ecode2
)) {
18596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18598 arg2
= static_cast< int >(val2
);
18599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18600 if (!SWIG_IsOK(ecode3
)) {
18601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18603 arg3
= static_cast< int >(val3
);
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->DrawPoint(arg2
,arg3
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_Py_Void();
18617 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
= 0;
18619 wxDC
*arg1
= (wxDC
*) 0 ;
18620 wxPoint
*arg2
= 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char * kwnames
[] = {
18627 (char *) "self",(char *) "pt", NULL
18630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18632 if (!SWIG_IsOK(res1
)) {
18633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_Py_Void();
18653 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxDC
*arg1
= (wxDC
*) 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 PyObject
* obj2
= 0 ;
18673 PyObject
* obj3
= 0 ;
18674 PyObject
* obj4
= 0 ;
18675 char * kwnames
[] = {
18676 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18686 if (!SWIG_IsOK(ecode2
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18689 arg2
= static_cast< int >(val2
);
18690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18691 if (!SWIG_IsOK(ecode3
)) {
18692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18694 arg3
= static_cast< int >(val3
);
18695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18696 if (!SWIG_IsOK(ecode4
)) {
18697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18699 arg4
= static_cast< int >(val4
);
18700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18701 if (!SWIG_IsOK(ecode5
)) {
18702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18704 arg5
= static_cast< int >(val5
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxDC
*arg1
= (wxDC
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 PyObject
* obj1
= 0 ;
18727 char * kwnames
[] = {
18728 (char *) "self",(char *) "rect", NULL
18731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18739 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18744 wxPyEndAllowThreads(__tstate
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 resultobj
= SWIG_Py_Void();
18754 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
= 0;
18756 wxDC
*arg1
= (wxDC
*) 0 ;
18757 wxPoint
*arg2
= 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 PyObject
* obj2
= 0 ;
18766 char * kwnames
[] = {
18767 (char *) "self",(char *) "pt",(char *) "sz", NULL
18770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18772 if (!SWIG_IsOK(res1
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18782 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= SWIG_Py_Void();
18797 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
= 0;
18799 wxDC
*arg1
= (wxDC
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 PyObject
* obj2
= 0 ;
18820 PyObject
* obj3
= 0 ;
18821 PyObject
* obj4
= 0 ;
18822 PyObject
* obj5
= 0 ;
18823 char * kwnames
[] = {
18824 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18829 if (!SWIG_IsOK(res1
)) {
18830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18834 if (!SWIG_IsOK(ecode2
)) {
18835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18837 arg2
= static_cast< int >(val2
);
18838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18839 if (!SWIG_IsOK(ecode3
)) {
18840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18842 arg3
= static_cast< int >(val3
);
18843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18844 if (!SWIG_IsOK(ecode4
)) {
18845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18847 arg4
= static_cast< int >(val4
);
18848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18849 if (!SWIG_IsOK(ecode5
)) {
18850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18852 arg5
= static_cast< int >(val5
);
18853 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18854 if (!SWIG_IsOK(ecode6
)) {
18855 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18857 arg6
= static_cast< double >(val6
);
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_Py_Void();
18871 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
= 0;
18873 wxDC
*arg1
= (wxDC
*) 0 ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "self",(char *) "r",(char *) "radius", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18898 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18899 if (!SWIG_IsOK(ecode3
)) {
18900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18902 arg3
= static_cast< double >(val3
);
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 resultobj
= SWIG_Py_Void();
18916 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
= 0;
18918 wxDC
*arg1
= (wxDC
*) 0 ;
18919 wxPoint
*arg2
= 0 ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 PyObject
* obj2
= 0 ;
18931 PyObject
* obj3
= 0 ;
18932 char * kwnames
[] = {
18933 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18938 if (!SWIG_IsOK(res1
)) {
18939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18948 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18950 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18951 if (!SWIG_IsOK(ecode4
)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18954 arg4
= static_cast< double >(val4
);
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_Py_Void();
18968 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
= 0;
18970 wxDC
*arg1
= (wxDC
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 PyObject
* obj1
= 0 ;
18984 PyObject
* obj2
= 0 ;
18985 PyObject
* obj3
= 0 ;
18986 char * kwnames
[] = {
18987 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18992 if (!SWIG_IsOK(res1
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18997 if (!SWIG_IsOK(ecode2
)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19000 arg2
= static_cast< int >(val2
);
19001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19002 if (!SWIG_IsOK(ecode3
)) {
19003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19005 arg3
= static_cast< int >(val3
);
19006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19007 if (!SWIG_IsOK(ecode4
)) {
19008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19010 arg4
= static_cast< int >(val4
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= SWIG_Py_Void();
19024 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
= 0;
19026 wxDC
*arg1
= (wxDC
*) 0 ;
19027 wxPoint
*arg2
= 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 PyObject
* obj2
= 0 ;
19037 char * kwnames
[] = {
19038 (char *) "self",(char *) "pt",(char *) "radius", NULL
19041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19052 if (!SWIG_IsOK(ecode3
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19055 arg3
= static_cast< int >(val3
);
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19059 wxPyEndAllowThreads(__tstate
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= SWIG_Py_Void();
19069 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= 0;
19071 wxDC
*arg1
= (wxDC
*) 0 ;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 PyObject
* obj2
= 0 ;
19089 PyObject
* obj3
= 0 ;
19090 PyObject
* obj4
= 0 ;
19091 char * kwnames
[] = {
19092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19097 if (!SWIG_IsOK(res1
)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19102 if (!SWIG_IsOK(ecode2
)) {
19103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19105 arg2
= static_cast< int >(val2
);
19106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19107 if (!SWIG_IsOK(ecode3
)) {
19108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19110 arg3
= static_cast< int >(val3
);
19111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19112 if (!SWIG_IsOK(ecode4
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19115 arg4
= static_cast< int >(val4
);
19116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19117 if (!SWIG_IsOK(ecode5
)) {
19118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19120 arg5
= static_cast< int >(val5
);
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_Py_Void();
19134 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxDC
*arg1
= (wxDC
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "rect", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19155 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= SWIG_Py_Void();
19170 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
= 0;
19172 wxDC
*arg1
= (wxDC
*) 0 ;
19173 wxPoint
*arg2
= 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 PyObject
* obj2
= 0 ;
19182 char * kwnames
[] = {
19183 (char *) "self",(char *) "pt",(char *) "sz", NULL
19186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19188 if (!SWIG_IsOK(res1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19194 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19198 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= SWIG_Py_Void();
19213 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
= 0;
19215 wxDC
*arg1
= (wxDC
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 PyObject
* obj2
= 0 ;
19230 PyObject
* obj3
= 0 ;
19231 char * kwnames
[] = {
19232 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19242 if (!SWIG_IsOK(res2
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19248 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19250 if (!SWIG_IsOK(ecode3
)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19253 arg3
= static_cast< int >(val3
);
19254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19255 if (!SWIG_IsOK(ecode4
)) {
19256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19258 arg4
= static_cast< int >(val4
);
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= SWIG_Py_Void();
19272 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= 0;
19274 wxDC
*arg1
= (wxDC
*) 0 ;
19276 wxPoint
*arg3
= 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "self",(char *) "icon",(char *) "pt", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19296 if (!SWIG_IsOK(res2
)) {
19297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19302 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19305 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_Py_Void();
19320 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxDC
*arg1
= (wxDC
*) 0 ;
19323 wxBitmap
*arg2
= 0 ;
19326 bool arg5
= (bool) false ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 PyObject
* obj2
= 0 ;
19340 PyObject
* obj3
= 0 ;
19341 PyObject
* obj4
= 0 ;
19342 char * kwnames
[] = {
19343 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19353 if (!SWIG_IsOK(res2
)) {
19354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19359 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19361 if (!SWIG_IsOK(ecode3
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19364 arg3
= static_cast< int >(val3
);
19365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19366 if (!SWIG_IsOK(ecode4
)) {
19367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19369 arg4
= static_cast< int >(val4
);
19371 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19372 if (!SWIG_IsOK(ecode5
)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19375 arg5
= static_cast< bool >(val5
);
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_Py_Void();
19390 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
= 0;
19392 wxDC
*arg1
= (wxDC
*) 0 ;
19393 wxBitmap
*arg2
= 0 ;
19394 wxPoint
*arg3
= 0 ;
19395 bool arg4
= (bool) false ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 PyObject
* obj2
= 0 ;
19406 PyObject
* obj3
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19418 if (!SWIG_IsOK(res2
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19424 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19427 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19430 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19431 if (!SWIG_IsOK(ecode4
)) {
19432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19434 arg4
= static_cast< bool >(val4
);
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19439 wxPyEndAllowThreads(__tstate
);
19440 if (PyErr_Occurred()) SWIG_fail
;
19442 resultobj
= SWIG_Py_Void();
19449 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
= 0;
19451 wxDC
*arg1
= (wxDC
*) 0 ;
19452 wxString
*arg2
= 0 ;
19457 bool temp2
= false ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 PyObject
* obj2
= 0 ;
19465 PyObject
* obj3
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19472 if (!SWIG_IsOK(res1
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19477 arg2
= wxString_in_helper(obj1
);
19478 if (arg2
== NULL
) SWIG_fail
;
19481 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19482 if (!SWIG_IsOK(ecode3
)) {
19483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19485 arg3
= static_cast< int >(val3
);
19486 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19487 if (!SWIG_IsOK(ecode4
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19490 arg4
= static_cast< int >(val4
);
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= SWIG_Py_Void();
19512 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
= 0;
19514 wxDC
*arg1
= (wxDC
*) 0 ;
19515 wxString
*arg2
= 0 ;
19516 wxPoint
*arg3
= 0 ;
19519 bool temp2
= false ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 PyObject
* obj2
= 0 ;
19524 char * kwnames
[] = {
19525 (char *) "self",(char *) "text",(char *) "pt", NULL
19528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19530 if (!SWIG_IsOK(res1
)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19533 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19535 arg2
= wxString_in_helper(obj1
);
19536 if (arg2
== NULL
) SWIG_fail
;
19541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_Py_Void();
19564 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19565 PyObject
*resultobj
= 0;
19566 wxDC
*arg1
= (wxDC
*) 0 ;
19567 wxString
*arg2
= 0 ;
19573 bool temp2
= false ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 PyObject
* obj2
= 0 ;
19583 PyObject
* obj3
= 0 ;
19584 PyObject
* obj4
= 0 ;
19585 char * kwnames
[] = {
19586 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19591 if (!SWIG_IsOK(res1
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19596 arg2
= wxString_in_helper(obj1
);
19597 if (arg2
== NULL
) SWIG_fail
;
19600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19601 if (!SWIG_IsOK(ecode3
)) {
19602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19604 arg3
= static_cast< int >(val3
);
19605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19606 if (!SWIG_IsOK(ecode4
)) {
19607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19609 arg4
= static_cast< int >(val4
);
19610 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19611 if (!SWIG_IsOK(ecode5
)) {
19612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19614 arg5
= static_cast< double >(val5
);
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_Py_Void();
19636 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19637 PyObject
*resultobj
= 0;
19638 wxDC
*arg1
= (wxDC
*) 0 ;
19639 wxString
*arg2
= 0 ;
19640 wxPoint
*arg3
= 0 ;
19644 bool temp2
= false ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 PyObject
* obj2
= 0 ;
19651 PyObject
* obj3
= 0 ;
19652 char * kwnames
[] = {
19653 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19658 if (!SWIG_IsOK(res1
)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19663 arg2
= wxString_in_helper(obj1
);
19664 if (arg2
== NULL
) SWIG_fail
;
19669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19671 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19672 if (!SWIG_IsOK(ecode4
)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19675 arg4
= static_cast< double >(val4
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_Py_Void();
19697 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
= 0;
19699 wxDC
*arg1
= (wxDC
*) 0 ;
19704 wxDC
*arg6
= (wxDC
*) 0 ;
19707 int arg9
= (int) wxCOPY
;
19708 bool arg10
= (bool) false ;
19709 int arg11
= (int) -1 ;
19710 int arg12
= (int) -1 ;
19736 PyObject
* obj0
= 0 ;
19737 PyObject
* obj1
= 0 ;
19738 PyObject
* obj2
= 0 ;
19739 PyObject
* obj3
= 0 ;
19740 PyObject
* obj4
= 0 ;
19741 PyObject
* obj5
= 0 ;
19742 PyObject
* obj6
= 0 ;
19743 PyObject
* obj7
= 0 ;
19744 PyObject
* obj8
= 0 ;
19745 PyObject
* obj9
= 0 ;
19746 PyObject
* obj10
= 0 ;
19747 PyObject
* obj11
= 0 ;
19748 char * kwnames
[] = {
19749 (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
19752 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
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19759 if (!SWIG_IsOK(ecode2
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19762 arg2
= static_cast< int >(val2
);
19763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19764 if (!SWIG_IsOK(ecode3
)) {
19765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19767 arg3
= static_cast< int >(val3
);
19768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19769 if (!SWIG_IsOK(ecode4
)) {
19770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19772 arg4
= static_cast< int >(val4
);
19773 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19774 if (!SWIG_IsOK(ecode5
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19777 arg5
= static_cast< int >(val5
);
19778 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19779 if (!SWIG_IsOK(res6
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19782 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19783 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19784 if (!SWIG_IsOK(ecode7
)) {
19785 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19787 arg7
= static_cast< int >(val7
);
19788 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19789 if (!SWIG_IsOK(ecode8
)) {
19790 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19792 arg8
= static_cast< int >(val8
);
19794 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19795 if (!SWIG_IsOK(ecode9
)) {
19796 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19798 arg9
= static_cast< int >(val9
);
19801 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19802 if (!SWIG_IsOK(ecode10
)) {
19803 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19805 arg10
= static_cast< bool >(val10
);
19808 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19809 if (!SWIG_IsOK(ecode11
)) {
19810 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19812 arg11
= static_cast< int >(val11
);
19815 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19816 if (!SWIG_IsOK(ecode12
)) {
19817 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19819 arg12
= static_cast< int >(val12
);
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19836 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
= 0;
19838 wxDC
*arg1
= (wxDC
*) 0 ;
19839 wxPoint
*arg2
= 0 ;
19841 wxDC
*arg4
= (wxDC
*) 0 ;
19842 wxPoint
*arg5
= 0 ;
19843 int arg6
= (int) wxCOPY
;
19844 bool arg7
= (bool) false ;
19845 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19846 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19860 PyObject
* obj0
= 0 ;
19861 PyObject
* obj1
= 0 ;
19862 PyObject
* obj2
= 0 ;
19863 PyObject
* obj3
= 0 ;
19864 PyObject
* obj4
= 0 ;
19865 PyObject
* obj5
= 0 ;
19866 PyObject
* obj6
= 0 ;
19867 PyObject
* obj7
= 0 ;
19868 char * kwnames
[] = {
19869 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19874 if (!SWIG_IsOK(res1
)) {
19875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19884 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19886 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19887 if (!SWIG_IsOK(res4
)) {
19888 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19890 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19893 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19896 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19897 if (!SWIG_IsOK(ecode6
)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19900 arg6
= static_cast< int >(val6
);
19903 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19904 if (!SWIG_IsOK(ecode7
)) {
19905 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19907 arg7
= static_cast< bool >(val7
);
19912 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19930 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
= 0;
19932 wxDC
*arg1
= (wxDC
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 PyObject
* obj3
= 0 ;
19951 PyObject
* obj4
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19963 if (!SWIG_IsOK(ecode2
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19966 arg2
= static_cast< int >(val2
);
19967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19968 if (!SWIG_IsOK(ecode3
)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19971 arg3
= static_cast< int >(val3
);
19972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19973 if (!SWIG_IsOK(ecode4
)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19976 arg4
= static_cast< int >(val4
);
19977 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19978 if (!SWIG_IsOK(ecode5
)) {
19979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19981 arg5
= static_cast< int >(val5
);
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= SWIG_Py_Void();
19995 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19996 PyObject
*resultobj
= 0;
19997 wxDC
*arg1
= (wxDC
*) 0 ;
19998 wxPoint
*arg2
= 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 PyObject
* obj2
= 0 ;
20007 char * kwnames
[] = {
20008 (char *) "self",(char *) "pt",(char *) "sz", NULL
20011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20013 if (!SWIG_IsOK(res1
)) {
20014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20023 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 resultobj
= SWIG_Py_Void();
20038 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
= 0;
20040 wxDC
*arg1
= (wxDC
*) 0 ;
20041 wxRegion
*arg2
= 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "region", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20059 if (!SWIG_IsOK(res2
)) {
20060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20065 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 resultobj
= SWIG_Py_Void();
20079 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
= 0;
20081 wxDC
*arg1
= (wxDC
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20088 char * kwnames
[] = {
20089 (char *) "self",(char *) "rect", NULL
20092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20100 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= SWIG_Py_Void();
20115 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
= 0;
20117 wxDC
*arg1
= (wxDC
*) 0 ;
20119 wxPoint
*arg3
= (wxPoint
*) 0 ;
20120 int arg4
= (int) 0 ;
20121 int arg5
= (int) 0 ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 PyObject
* obj2
= 0 ;
20131 PyObject
* obj3
= 0 ;
20132 char * kwnames
[] = {
20133 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20138 if (!SWIG_IsOK(res1
)) {
20139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20143 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20144 if (arg3
== NULL
) SWIG_fail
;
20147 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20148 if (!SWIG_IsOK(ecode4
)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20151 arg4
= static_cast< int >(val4
);
20154 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20155 if (!SWIG_IsOK(ecode5
)) {
20156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20158 arg5
= static_cast< int >(val5
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_Py_Void();
20168 if (arg3
) delete [] arg3
;
20173 if (arg3
) delete [] arg3
;
20179 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxDC
*arg1
= (wxDC
*) 0 ;
20183 wxPoint
*arg3
= (wxPoint
*) 0 ;
20184 int arg4
= (int) 0 ;
20185 int arg5
= (int) 0 ;
20186 int arg6
= (int) wxODDEVEN_RULE
;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 PyObject
* obj2
= 0 ;
20198 PyObject
* obj3
= 0 ;
20199 PyObject
* obj4
= 0 ;
20200 char * kwnames
[] = {
20201 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20206 if (!SWIG_IsOK(res1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20211 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20212 if (arg3
== NULL
) SWIG_fail
;
20215 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20216 if (!SWIG_IsOK(ecode4
)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20219 arg4
= static_cast< int >(val4
);
20222 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20223 if (!SWIG_IsOK(ecode5
)) {
20224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20226 arg5
= static_cast< int >(val5
);
20229 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20230 if (!SWIG_IsOK(ecode6
)) {
20231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20233 arg6
= static_cast< int >(val6
);
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= SWIG_Py_Void();
20243 if (arg3
) delete [] arg3
;
20248 if (arg3
) delete [] arg3
;
20254 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
= 0;
20256 wxDC
*arg1
= (wxDC
*) 0 ;
20257 wxString
*arg2
= 0 ;
20259 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20260 int arg5
= (int) -1 ;
20263 bool temp2
= false ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 PyObject
* obj2
= 0 ;
20272 PyObject
* obj3
= 0 ;
20273 PyObject
* obj4
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20285 arg2
= wxString_in_helper(obj1
);
20286 if (arg2
== NULL
) SWIG_fail
;
20291 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20295 if (!SWIG_IsOK(ecode4
)) {
20296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20298 arg4
= static_cast< int >(val4
);
20301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20302 if (!SWIG_IsOK(ecode5
)) {
20303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20305 arg5
= static_cast< int >(val5
);
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_Py_Void();
20328 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
= 0;
20330 wxDC
*arg1
= (wxDC
*) 0 ;
20331 wxString
*arg2
= 0 ;
20332 wxBitmap
*arg3
= 0 ;
20334 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20335 int arg6
= (int) -1 ;
20339 bool temp2
= false ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 PyObject
* obj2
= 0 ;
20350 PyObject
* obj3
= 0 ;
20351 PyObject
* obj4
= 0 ;
20352 PyObject
* obj5
= 0 ;
20353 char * kwnames
[] = {
20354 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20359 if (!SWIG_IsOK(res1
)) {
20360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20364 arg2
= wxString_in_helper(obj1
);
20365 if (arg2
== NULL
) SWIG_fail
;
20368 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20369 if (!SWIG_IsOK(res3
)) {
20370 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20375 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20378 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20381 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20382 if (!SWIG_IsOK(ecode5
)) {
20383 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20385 arg5
= static_cast< int >(val5
);
20388 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20389 if (!SWIG_IsOK(ecode6
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20392 arg6
= static_cast< int >(val6
);
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20415 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= 0;
20417 wxDC
*arg1
= (wxDC
*) 0 ;
20419 wxPoint
*arg3
= (wxPoint
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 PyObject
* obj1
= 0 ;
20424 char * kwnames
[] = {
20425 (char *) "self",(char *) "points", NULL
20428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20435 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20436 if (arg3
== NULL
) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 (arg1
)->DrawSpline(arg2
,arg3
);
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_Py_Void();
20446 if (arg3
) delete [] arg3
;
20451 if (arg3
) delete [] arg3
;
20457 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 PyObject
*resultobj
= 0;
20459 wxDC
*arg1
= (wxDC
*) 0 ;
20462 PyObject
*swig_obj
[1] ;
20464 if (!args
) SWIG_fail
;
20465 swig_obj
[0] = args
;
20466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_Py_Void();
20484 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
= 0;
20486 wxDC
*arg1
= (wxDC
*) 0 ;
20487 wxString
*arg2
= 0 ;
20491 bool temp2
= false ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 char * kwnames
[] = {
20495 (char *) "self",(char *) "message", NULL
20498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20505 arg2
= wxString_in_helper(obj1
);
20506 if (arg2
== NULL
) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20532 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxDC
*arg1
= (wxDC
*) 0 ;
20537 PyObject
*swig_obj
[1] ;
20539 if (!args
) SWIG_fail
;
20540 swig_obj
[0] = args
;
20541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_Py_Void();
20559 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20560 PyObject
*resultobj
= 0;
20561 wxDC
*arg1
= (wxDC
*) 0 ;
20564 PyObject
*swig_obj
[1] ;
20566 if (!args
) SWIG_fail
;
20567 swig_obj
[0] = args
;
20568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20569 if (!SWIG_IsOK(res1
)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 (arg1
)->StartPage();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= SWIG_Py_Void();
20586 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20587 PyObject
*resultobj
= 0;
20588 wxDC
*arg1
= (wxDC
*) 0 ;
20591 PyObject
*swig_obj
[1] ;
20593 if (!args
) SWIG_fail
;
20594 swig_obj
[0] = args
;
20595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20596 if (!SWIG_IsOK(res1
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20613 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxDC
*arg1
= (wxDC
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "font", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20634 if (!SWIG_IsOK(res2
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20640 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 (arg1
)->SetFont((wxFont
const &)*arg2
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_Py_Void();
20654 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
= 0;
20656 wxDC
*arg1
= (wxDC
*) 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "self",(char *) "pen", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20670 if (!SWIG_IsOK(res1
)) {
20671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20675 if (!SWIG_IsOK(res2
)) {
20676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20681 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 (arg1
)->SetPen((wxPen
const &)*arg2
);
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_Py_Void();
20695 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20696 PyObject
*resultobj
= 0;
20697 wxDC
*arg1
= (wxDC
*) 0 ;
20698 wxBrush
*arg2
= 0 ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char * kwnames
[] = {
20706 (char *) "self",(char *) "brush", NULL
20709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20711 if (!SWIG_IsOK(res1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20716 if (!SWIG_IsOK(res2
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20722 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_Py_Void();
20736 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
= 0;
20738 wxDC
*arg1
= (wxDC
*) 0 ;
20739 wxBrush
*arg2
= 0 ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 char * kwnames
[] = {
20747 (char *) "self",(char *) "brush", NULL
20750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20752 if (!SWIG_IsOK(res1
)) {
20753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20757 if (!SWIG_IsOK(res2
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20763 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_Py_Void();
20777 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
= 0;
20779 wxDC
*arg1
= (wxDC
*) 0 ;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 char * kwnames
[] = {
20788 (char *) "self",(char *) "mode", NULL
20791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20793 if (!SWIG_IsOK(res1
)) {
20794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20798 if (!SWIG_IsOK(ecode2
)) {
20799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20801 arg2
= static_cast< int >(val2
);
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 (arg1
)->SetBackgroundMode(arg2
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_Py_Void();
20815 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
= 0;
20817 wxDC
*arg1
= (wxDC
*) 0 ;
20818 wxPalette
*arg2
= 0 ;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 char * kwnames
[] = {
20826 (char *) "self",(char *) "palette", NULL
20829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) 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_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20836 if (!SWIG_IsOK(res2
)) {
20837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20842 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_Py_Void();
20856 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 PyObject
*resultobj
= 0;
20858 wxDC
*arg1
= (wxDC
*) 0 ;
20861 PyObject
*swig_obj
[1] ;
20863 if (!args
) SWIG_fail
;
20864 swig_obj
[0] = args
;
20865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20866 if (!SWIG_IsOK(res1
)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20872 (arg1
)->DestroyClippingRegion();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_Py_Void();
20883 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20884 PyObject
*resultobj
= 0;
20885 wxDC
*arg1
= (wxDC
*) 0 ;
20886 int *arg2
= (int *) 0 ;
20887 int *arg3
= (int *) 0 ;
20888 int *arg4
= (int *) 0 ;
20889 int *arg5
= (int *) 0 ;
20893 int res2
= SWIG_TMPOBJ
;
20895 int res3
= SWIG_TMPOBJ
;
20897 int res4
= SWIG_TMPOBJ
;
20899 int res5
= SWIG_TMPOBJ
;
20900 PyObject
*swig_obj
[1] ;
20906 if (!args
) SWIG_fail
;
20907 swig_obj
[0] = args
;
20908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_Py_Void();
20920 if (SWIG_IsTmpObj(res2
)) {
20921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20923 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20926 if (SWIG_IsTmpObj(res3
)) {
20927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20929 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20932 if (SWIG_IsTmpObj(res4
)) {
20933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20935 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20938 if (SWIG_IsTmpObj(res5
)) {
20939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20941 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20950 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20951 PyObject
*resultobj
= 0;
20952 wxDC
*arg1
= (wxDC
*) 0 ;
20956 PyObject
*swig_obj
[1] ;
20958 if (!args
) SWIG_fail
;
20959 swig_obj
[0] = args
;
20960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20961 if (!SWIG_IsOK(res1
)) {
20962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= wxDC_GetClippingRect(arg1
);
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20978 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20979 PyObject
*resultobj
= 0;
20980 wxDC
*arg1
= (wxDC
*) 0 ;
20984 PyObject
*swig_obj
[1] ;
20986 if (!args
) SWIG_fail
;
20987 swig_obj
[0] = args
;
20988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20996 wxPyEndAllowThreads(__tstate
);
20997 if (PyErr_Occurred()) SWIG_fail
;
20999 resultobj
= SWIG_From_int(static_cast< int >(result
));
21006 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21007 PyObject
*resultobj
= 0;
21008 wxDC
*arg1
= (wxDC
*) 0 ;
21012 PyObject
*swig_obj
[1] ;
21014 if (!args
) SWIG_fail
;
21015 swig_obj
[0] = args
;
21016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21017 if (!SWIG_IsOK(res1
)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_From_int(static_cast< int >(result
));
21034 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
= 0;
21036 wxDC
*arg1
= (wxDC
*) 0 ;
21037 wxString
*arg2
= 0 ;
21038 int *arg3
= (int *) 0 ;
21039 int *arg4
= (int *) 0 ;
21042 bool temp2
= false ;
21044 int res3
= SWIG_TMPOBJ
;
21046 int res4
= SWIG_TMPOBJ
;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "self",(char *) "string", NULL
21055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21057 if (!SWIG_IsOK(res1
)) {
21058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21062 arg2
= wxString_in_helper(obj1
);
21063 if (arg2
== NULL
) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= SWIG_Py_Void();
21073 if (SWIG_IsTmpObj(res3
)) {
21074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21076 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21079 if (SWIG_IsTmpObj(res4
)) {
21080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21082 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21099 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
= 0;
21101 wxDC
*arg1
= (wxDC
*) 0 ;
21102 wxString
*arg2
= 0 ;
21103 int *arg3
= (int *) 0 ;
21104 int *arg4
= (int *) 0 ;
21105 int *arg5
= (int *) 0 ;
21106 int *arg6
= (int *) 0 ;
21107 wxFont
*arg7
= (wxFont
*) NULL
;
21110 bool temp2
= false ;
21112 int res3
= SWIG_TMPOBJ
;
21114 int res4
= SWIG_TMPOBJ
;
21116 int res5
= SWIG_TMPOBJ
;
21118 int res6
= SWIG_TMPOBJ
;
21121 PyObject
* obj0
= 0 ;
21122 PyObject
* obj1
= 0 ;
21123 PyObject
* obj2
= 0 ;
21124 char * kwnames
[] = {
21125 (char *) "self",(char *) "string",(char *) "font", NULL
21132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21139 arg2
= wxString_in_helper(obj1
);
21140 if (arg2
== NULL
) SWIG_fail
;
21144 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21145 if (!SWIG_IsOK(res7
)) {
21146 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21148 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_Py_Void();
21157 if (SWIG_IsTmpObj(res3
)) {
21158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21160 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21163 if (SWIG_IsTmpObj(res4
)) {
21164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21166 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21169 if (SWIG_IsTmpObj(res5
)) {
21170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21172 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21175 if (SWIG_IsTmpObj(res6
)) {
21176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21178 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21195 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
= 0;
21197 wxDC
*arg1
= (wxDC
*) 0 ;
21198 wxString
*arg2
= 0 ;
21199 int *arg3
= (int *) 0 ;
21200 int *arg4
= (int *) 0 ;
21201 int *arg5
= (int *) 0 ;
21202 wxFont
*arg6
= (wxFont
*) NULL
;
21205 bool temp2
= false ;
21207 int res3
= SWIG_TMPOBJ
;
21209 int res4
= SWIG_TMPOBJ
;
21211 int res5
= SWIG_TMPOBJ
;
21214 PyObject
* obj0
= 0 ;
21215 PyObject
* obj1
= 0 ;
21216 PyObject
* obj2
= 0 ;
21217 char * kwnames
[] = {
21218 (char *) "self",(char *) "text",(char *) "font", NULL
21224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21226 if (!SWIG_IsOK(res1
)) {
21227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21231 arg2
= wxString_in_helper(obj1
);
21232 if (arg2
== NULL
) SWIG_fail
;
21236 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21237 if (!SWIG_IsOK(res6
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21240 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= SWIG_Py_Void();
21249 if (SWIG_IsTmpObj(res3
)) {
21250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21252 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21255 if (SWIG_IsTmpObj(res4
)) {
21256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21258 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21261 if (SWIG_IsTmpObj(res5
)) {
21262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21264 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21281 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
= 0;
21283 wxDC
*arg1
= (wxDC
*) 0 ;
21284 wxString
*arg2
= 0 ;
21288 bool temp2
= false ;
21289 PyObject
* obj0
= 0 ;
21290 PyObject
* obj1
= 0 ;
21291 char * kwnames
[] = {
21292 (char *) "self",(char *) "text", NULL
21295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21297 if (!SWIG_IsOK(res1
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21302 arg2
= wxString_in_helper(obj1
);
21303 if (arg2
== NULL
) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= PyList_New(0);
21315 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
21316 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
21317 PyList_Append(resultobj
, val
);
21335 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxDC
*arg1
= (wxDC
*) 0 ;
21341 PyObject
*swig_obj
[1] ;
21343 if (!args
) SWIG_fail
;
21344 swig_obj
[0] = args
;
21345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21346 if (!SWIG_IsOK(res1
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (arg1
)->GetSize();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21363 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21364 PyObject
*resultobj
= 0;
21365 wxDC
*arg1
= (wxDC
*) 0 ;
21366 int *arg2
= (int *) 0 ;
21367 int *arg3
= (int *) 0 ;
21371 int res2
= SWIG_TMPOBJ
;
21373 int res3
= SWIG_TMPOBJ
;
21374 PyObject
*swig_obj
[1] ;
21378 if (!args
) SWIG_fail
;
21379 swig_obj
[0] = args
;
21380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21381 if (!SWIG_IsOK(res1
)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->GetSize(arg2
,arg3
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_Py_Void();
21392 if (SWIG_IsTmpObj(res2
)) {
21393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21395 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21398 if (SWIG_IsTmpObj(res3
)) {
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21401 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21410 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21411 PyObject
*resultobj
= 0;
21412 wxDC
*arg1
= (wxDC
*) 0 ;
21416 PyObject
*swig_obj
[1] ;
21418 if (!args
) SWIG_fail
;
21419 swig_obj
[0] = args
;
21420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21421 if (!SWIG_IsOK(res1
)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21438 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21439 PyObject
*resultobj
= 0;
21440 wxDC
*arg1
= (wxDC
*) 0 ;
21441 int *arg2
= (int *) 0 ;
21442 int *arg3
= (int *) 0 ;
21446 int res2
= SWIG_TMPOBJ
;
21448 int res3
= SWIG_TMPOBJ
;
21449 PyObject
*swig_obj
[1] ;
21453 if (!args
) SWIG_fail
;
21454 swig_obj
[0] = args
;
21455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= SWIG_Py_Void();
21467 if (SWIG_IsTmpObj(res2
)) {
21468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21470 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21473 if (SWIG_IsTmpObj(res3
)) {
21474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21476 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21485 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
= 0;
21487 wxDC
*arg1
= (wxDC
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "self",(char *) "x", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21502 if (!SWIG_IsOK(res1
)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21507 if (!SWIG_IsOK(ecode2
)) {
21508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21510 arg2
= static_cast< int >(val2
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_From_int(static_cast< int >(result
));
21524 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
= 0;
21526 wxDC
*arg1
= (wxDC
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 char * kwnames
[] = {
21536 (char *) "self",(char *) "y", NULL
21539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21541 if (!SWIG_IsOK(res1
)) {
21542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21546 if (!SWIG_IsOK(ecode2
)) {
21547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21549 arg2
= static_cast< int >(val2
);
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= SWIG_From_int(static_cast< int >(result
));
21563 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
= 0;
21565 wxDC
*arg1
= (wxDC
*) 0 ;
21572 PyObject
* obj0
= 0 ;
21573 PyObject
* obj1
= 0 ;
21574 char * kwnames
[] = {
21575 (char *) "self",(char *) "x", NULL
21578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21580 if (!SWIG_IsOK(res1
)) {
21581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21585 if (!SWIG_IsOK(ecode2
)) {
21586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21588 arg2
= static_cast< int >(val2
);
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_From_int(static_cast< int >(result
));
21602 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
= 0;
21604 wxDC
*arg1
= (wxDC
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 char * kwnames
[] = {
21614 (char *) "self",(char *) "y", NULL
21617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21619 if (!SWIG_IsOK(res1
)) {
21620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21624 if (!SWIG_IsOK(ecode2
)) {
21625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21627 arg2
= static_cast< int >(val2
);
21629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21630 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_From_int(static_cast< int >(result
));
21641 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
= 0;
21643 wxDC
*arg1
= (wxDC
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 char * kwnames
[] = {
21653 (char *) "self",(char *) "x", NULL
21656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21658 if (!SWIG_IsOK(res1
)) {
21659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21663 if (!SWIG_IsOK(ecode2
)) {
21664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21666 arg2
= static_cast< int >(val2
);
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_From_int(static_cast< int >(result
));
21680 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
= 0;
21682 wxDC
*arg1
= (wxDC
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 char * kwnames
[] = {
21692 (char *) "self",(char *) "y", NULL
21695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21697 if (!SWIG_IsOK(res1
)) {
21698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21702 if (!SWIG_IsOK(ecode2
)) {
21703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21705 arg2
= static_cast< int >(val2
);
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= SWIG_From_int(static_cast< int >(result
));
21719 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
= 0;
21721 wxDC
*arg1
= (wxDC
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 char * kwnames
[] = {
21731 (char *) "self",(char *) "x", NULL
21734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21741 if (!SWIG_IsOK(ecode2
)) {
21742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21744 arg2
= static_cast< int >(val2
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_From_int(static_cast< int >(result
));
21758 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= 0;
21760 wxDC
*arg1
= (wxDC
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char * kwnames
[] = {
21770 (char *) "self",(char *) "y", NULL
21773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21775 if (!SWIG_IsOK(res1
)) {
21776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21780 if (!SWIG_IsOK(ecode2
)) {
21781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21783 arg2
= static_cast< int >(val2
);
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= SWIG_From_int(static_cast< int >(result
));
21797 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21798 PyObject
*resultobj
= 0;
21799 wxDC
*arg1
= (wxDC
*) 0 ;
21803 PyObject
*swig_obj
[1] ;
21805 if (!args
) SWIG_fail
;
21806 swig_obj
[0] = args
;
21807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21827 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 PyObject
*resultobj
= 0;
21829 wxDC
*arg1
= (wxDC
*) 0 ;
21833 PyObject
*swig_obj
[1] ;
21835 if (!args
) SWIG_fail
;
21836 swig_obj
[0] = args
;
21837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21857 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21858 PyObject
*resultobj
= 0;
21859 wxDC
*arg1
= (wxDC
*) 0 ;
21863 PyObject
*swig_obj
[1] ;
21865 if (!args
) SWIG_fail
;
21866 swig_obj
[0] = args
;
21867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21868 if (!SWIG_IsOK(res1
)) {
21869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21874 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_From_int(static_cast< int >(result
));
21885 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 PyObject
*resultobj
= 0;
21887 wxDC
*arg1
= (wxDC
*) 0 ;
21891 PyObject
*swig_obj
[1] ;
21893 if (!args
) SWIG_fail
;
21894 swig_obj
[0] = args
;
21895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= ((wxDC
const *)arg1
)->GetPPI();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21913 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21914 PyObject
*resultobj
= 0;
21915 wxDC
*arg1
= (wxDC
*) 0 ;
21919 PyObject
*swig_obj
[1] ;
21921 if (!args
) SWIG_fail
;
21922 swig_obj
[0] = args
;
21923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21924 if (!SWIG_IsOK(res1
)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (bool)((wxDC
const *)arg1
)->Ok();
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21943 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21944 PyObject
*resultobj
= 0;
21945 wxDC
*arg1
= (wxDC
*) 0 ;
21949 PyObject
*swig_obj
[1] ;
21951 if (!args
) SWIG_fail
;
21952 swig_obj
[0] = args
;
21953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21954 if (!SWIG_IsOK(res1
)) {
21955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_From_int(static_cast< int >(result
));
21971 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21972 PyObject
*resultobj
= 0;
21973 wxDC
*arg1
= (wxDC
*) 0 ;
21974 wxBrush
*result
= 0 ;
21977 PyObject
*swig_obj
[1] ;
21979 if (!args
) SWIG_fail
;
21980 swig_obj
[0] = args
;
21981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21982 if (!SWIG_IsOK(res1
)) {
21983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21990 result
= (wxBrush
*) &_result_ref
;
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21996 wxBrush
* resultptr
= new wxBrush(*result
);
21997 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22005 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22006 PyObject
*resultobj
= 0;
22007 wxDC
*arg1
= (wxDC
*) 0 ;
22008 wxBrush
*result
= 0 ;
22011 PyObject
*swig_obj
[1] ;
22013 if (!args
) SWIG_fail
;
22014 swig_obj
[0] = args
;
22015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22016 if (!SWIG_IsOK(res1
)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22024 result
= (wxBrush
*) &_result_ref
;
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22030 wxBrush
* resultptr
= new wxBrush(*result
);
22031 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22039 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 PyObject
*resultobj
= 0;
22041 wxDC
*arg1
= (wxDC
*) 0 ;
22042 wxFont
*result
= 0 ;
22045 PyObject
*swig_obj
[1] ;
22047 if (!args
) SWIG_fail
;
22048 swig_obj
[0] = args
;
22049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22058 result
= (wxFont
*) &_result_ref
;
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22064 wxFont
* resultptr
= new wxFont(*result
);
22065 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22073 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22074 PyObject
*resultobj
= 0;
22075 wxDC
*arg1
= (wxDC
*) 0 ;
22076 wxPen
*result
= 0 ;
22079 PyObject
*swig_obj
[1] ;
22081 if (!args
) SWIG_fail
;
22082 swig_obj
[0] = args
;
22083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22084 if (!SWIG_IsOK(res1
)) {
22085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22092 result
= (wxPen
*) &_result_ref
;
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 wxPen
* resultptr
= new wxPen(*result
);
22099 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22107 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22108 PyObject
*resultobj
= 0;
22109 wxDC
*arg1
= (wxDC
*) 0 ;
22110 wxColour
*result
= 0 ;
22113 PyObject
*swig_obj
[1] ;
22115 if (!args
) SWIG_fail
;
22116 swig_obj
[0] = args
;
22117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22126 result
= (wxColour
*) &_result_ref
;
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22138 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 PyObject
*resultobj
= 0;
22140 wxDC
*arg1
= (wxDC
*) 0 ;
22141 wxColour
*result
= 0 ;
22144 PyObject
*swig_obj
[1] ;
22146 if (!args
) SWIG_fail
;
22147 swig_obj
[0] = args
;
22148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22157 result
= (wxColour
*) &_result_ref
;
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22169 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
= 0;
22171 wxDC
*arg1
= (wxDC
*) 0 ;
22172 wxColour
*arg2
= 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 char * kwnames
[] = {
22179 (char *) "self",(char *) "colour", NULL
22182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22184 if (!SWIG_IsOK(res1
)) {
22185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_Py_Void();
22205 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
= 0;
22207 wxDC
*arg1
= (wxDC
*) 0 ;
22208 wxColour
*arg2
= 0 ;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 char * kwnames
[] = {
22215 (char *) "self",(char *) "colour", NULL
22218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22220 if (!SWIG_IsOK(res1
)) {
22221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_Py_Void();
22241 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxDC
*arg1
= (wxDC
*) 0 ;
22247 PyObject
*swig_obj
[1] ;
22249 if (!args
) SWIG_fail
;
22250 swig_obj
[0] = args
;
22251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_From_int(static_cast< int >(result
));
22269 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
= 0;
22271 wxDC
*arg1
= (wxDC
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char * kwnames
[] = {
22280 (char *) "self",(char *) "mode", NULL
22283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22290 if (!SWIG_IsOK(ecode2
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22293 arg2
= static_cast< int >(val2
);
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 (arg1
)->SetMapMode(arg2
);
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 resultobj
= SWIG_Py_Void();
22307 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22308 PyObject
*resultobj
= 0;
22309 wxDC
*arg1
= (wxDC
*) 0 ;
22310 double *arg2
= (double *) 0 ;
22311 double *arg3
= (double *) 0 ;
22315 int res2
= SWIG_TMPOBJ
;
22317 int res3
= SWIG_TMPOBJ
;
22318 PyObject
*swig_obj
[1] ;
22322 if (!args
) SWIG_fail
;
22323 swig_obj
[0] = args
;
22324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22325 if (!SWIG_IsOK(res1
)) {
22326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22328 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= SWIG_Py_Void();
22336 if (SWIG_IsTmpObj(res2
)) {
22337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22339 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22340 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22342 if (SWIG_IsTmpObj(res3
)) {
22343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22345 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22354 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
= 0;
22356 wxDC
*arg1
= (wxDC
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 PyObject
* obj2
= 0 ;
22368 char * kwnames
[] = {
22369 (char *) "self",(char *) "x",(char *) "y", NULL
22372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22378 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22379 if (!SWIG_IsOK(ecode2
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22382 arg2
= static_cast< double >(val2
);
22383 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22384 if (!SWIG_IsOK(ecode3
)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22387 arg3
= static_cast< double >(val3
);
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 (arg1
)->SetUserScale(arg2
,arg3
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= SWIG_Py_Void();
22401 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22402 PyObject
*resultobj
= 0;
22403 wxDC
*arg1
= (wxDC
*) 0 ;
22404 double *arg2
= (double *) 0 ;
22405 double *arg3
= (double *) 0 ;
22409 int res2
= SWIG_TMPOBJ
;
22411 int res3
= SWIG_TMPOBJ
;
22412 PyObject
*swig_obj
[1] ;
22416 if (!args
) SWIG_fail
;
22417 swig_obj
[0] = args
;
22418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 (arg1
)->GetLogicalScale(arg2
,arg3
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_Py_Void();
22430 if (SWIG_IsTmpObj(res2
)) {
22431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22433 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22436 if (SWIG_IsTmpObj(res3
)) {
22437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22439 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22448 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
= 0;
22450 wxDC
*arg1
= (wxDC
*) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 PyObject
* obj1
= 0 ;
22461 PyObject
* obj2
= 0 ;
22462 char * kwnames
[] = {
22463 (char *) "self",(char *) "x",(char *) "y", NULL
22466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22468 if (!SWIG_IsOK(res1
)) {
22469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22472 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22473 if (!SWIG_IsOK(ecode2
)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22476 arg2
= static_cast< double >(val2
);
22477 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22478 if (!SWIG_IsOK(ecode3
)) {
22479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22481 arg3
= static_cast< double >(val3
);
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->SetLogicalScale(arg2
,arg3
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 resultobj
= SWIG_Py_Void();
22495 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22496 PyObject
*resultobj
= 0;
22497 wxDC
*arg1
= (wxDC
*) 0 ;
22501 PyObject
*swig_obj
[1] ;
22503 if (!args
) SWIG_fail
;
22504 swig_obj
[0] = args
;
22505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22523 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22524 PyObject
*resultobj
= 0;
22525 wxDC
*arg1
= (wxDC
*) 0 ;
22526 int *arg2
= (int *) 0 ;
22527 int *arg3
= (int *) 0 ;
22531 int res2
= SWIG_TMPOBJ
;
22533 int res3
= SWIG_TMPOBJ
;
22534 PyObject
*swig_obj
[1] ;
22538 if (!args
) SWIG_fail
;
22539 swig_obj
[0] = args
;
22540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_Py_Void();
22552 if (SWIG_IsTmpObj(res2
)) {
22553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22555 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22558 if (SWIG_IsTmpObj(res3
)) {
22559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22570 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
= 0;
22572 wxDC
*arg1
= (wxDC
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 PyObject
* obj2
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "self",(char *) "x",(char *) "y", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22590 if (!SWIG_IsOK(res1
)) {
22591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22595 if (!SWIG_IsOK(ecode2
)) {
22596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22598 arg2
= static_cast< int >(val2
);
22599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22600 if (!SWIG_IsOK(ecode3
)) {
22601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22603 arg3
= static_cast< int >(val3
);
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 resultobj
= SWIG_Py_Void();
22617 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
= 0;
22619 wxDC
*arg1
= (wxDC
*) 0 ;
22620 wxPoint
*arg2
= 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char * kwnames
[] = {
22627 (char *) "self",(char *) "point", NULL
22630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_Py_Void();
22653 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 PyObject
*resultobj
= 0;
22655 wxDC
*arg1
= (wxDC
*) 0 ;
22659 PyObject
*swig_obj
[1] ;
22661 if (!args
) SWIG_fail
;
22662 swig_obj
[0] = args
;
22663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22681 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22682 PyObject
*resultobj
= 0;
22683 wxDC
*arg1
= (wxDC
*) 0 ;
22684 int *arg2
= (int *) 0 ;
22685 int *arg3
= (int *) 0 ;
22689 int res2
= SWIG_TMPOBJ
;
22691 int res3
= SWIG_TMPOBJ
;
22692 PyObject
*swig_obj
[1] ;
22696 if (!args
) SWIG_fail
;
22697 swig_obj
[0] = args
;
22698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22699 if (!SWIG_IsOK(res1
)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22709 resultobj
= SWIG_Py_Void();
22710 if (SWIG_IsTmpObj(res2
)) {
22711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22713 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22716 if (SWIG_IsTmpObj(res3
)) {
22717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22719 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22728 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
= 0;
22730 wxDC
*arg1
= (wxDC
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 PyObject
* obj2
= 0 ;
22742 char * kwnames
[] = {
22743 (char *) "self",(char *) "x",(char *) "y", NULL
22746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22748 if (!SWIG_IsOK(res1
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22753 if (!SWIG_IsOK(ecode2
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22756 arg2
= static_cast< int >(val2
);
22757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22758 if (!SWIG_IsOK(ecode3
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22761 arg3
= static_cast< int >(val3
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_Py_Void();
22775 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22776 PyObject
*resultobj
= 0;
22777 wxDC
*arg1
= (wxDC
*) 0 ;
22778 wxPoint
*arg2
= 0 ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char * kwnames
[] = {
22785 (char *) "self",(char *) "point", NULL
22788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22790 if (!SWIG_IsOK(res1
)) {
22791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= SWIG_Py_Void();
22811 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
= 0;
22813 wxDC
*arg1
= (wxDC
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 PyObject
* obj2
= 0 ;
22825 char * kwnames
[] = {
22826 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22831 if (!SWIG_IsOK(res1
)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22835 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22836 if (!SWIG_IsOK(ecode2
)) {
22837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22839 arg2
= static_cast< bool >(val2
);
22840 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22841 if (!SWIG_IsOK(ecode3
)) {
22842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22844 arg3
= static_cast< bool >(val3
);
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_Py_Void();
22858 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22859 PyObject
*resultobj
= 0;
22860 wxDC
*arg1
= (wxDC
*) 0 ;
22864 PyObject
*swig_obj
[1] ;
22866 if (!args
) SWIG_fail
;
22867 swig_obj
[0] = args
;
22868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= SWIG_From_int(static_cast< int >(result
));
22886 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
= 0;
22888 wxDC
*arg1
= (wxDC
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char * kwnames
[] = {
22897 (char *) "self",(char *) "function", NULL
22900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22907 if (!SWIG_IsOK(ecode2
)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22910 arg2
= static_cast< int >(val2
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->SetLogicalFunction(arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_Py_Void();
22924 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxDC
*arg1
= (wxDC
*) 0 ;
22929 PyObject
*swig_obj
[1] ;
22931 if (!args
) SWIG_fail
;
22932 swig_obj
[0] = args
;
22933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22934 if (!SWIG_IsOK(res1
)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 (arg1
)->ComputeScaleAndOrigin();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_Py_Void();
22951 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
= 0;
22953 wxDC
*arg1
= (wxDC
*) 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 PyObject
* obj2
= 0 ;
22965 char * kwnames
[] = {
22966 (char *) "self",(char *) "x",(char *) "y", NULL
22969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22971 if (!SWIG_IsOK(res1
)) {
22972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22976 if (!SWIG_IsOK(ecode2
)) {
22977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22979 arg2
= static_cast< int >(val2
);
22980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22981 if (!SWIG_IsOK(ecode3
)) {
22982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22984 arg3
= static_cast< int >(val3
);
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22991 resultobj
= SWIG_Py_Void();
22998 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
= 0;
23000 wxDC
*arg1
= (wxDC
*) 0 ;
23001 wxPoint
*arg2
= 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char * kwnames
[] = {
23008 (char *) "self",(char *) "point", NULL
23011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23013 if (!SWIG_IsOK(res1
)) {
23014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_Py_Void();
23034 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 PyObject
*resultobj
= 0;
23036 wxDC
*arg1
= (wxDC
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 (arg1
)->ResetBoundingBox();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_Py_Void();
23061 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23062 PyObject
*resultobj
= 0;
23063 wxDC
*arg1
= (wxDC
*) 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= (int)((wxDC
const *)arg1
)->MinX();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_From_int(static_cast< int >(result
));
23089 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23090 PyObject
*resultobj
= 0;
23091 wxDC
*arg1
= (wxDC
*) 0 ;
23095 PyObject
*swig_obj
[1] ;
23097 if (!args
) SWIG_fail
;
23098 swig_obj
[0] = args
;
23099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23100 if (!SWIG_IsOK(res1
)) {
23101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 result
= (int)((wxDC
const *)arg1
)->MaxX();
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_From_int(static_cast< int >(result
));
23117 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 PyObject
*resultobj
= 0;
23119 wxDC
*arg1
= (wxDC
*) 0 ;
23123 PyObject
*swig_obj
[1] ;
23125 if (!args
) SWIG_fail
;
23126 swig_obj
[0] = args
;
23127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (int)((wxDC
const *)arg1
)->MinY();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_From_int(static_cast< int >(result
));
23145 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23146 PyObject
*resultobj
= 0;
23147 wxDC
*arg1
= (wxDC
*) 0 ;
23151 PyObject
*swig_obj
[1] ;
23153 if (!args
) SWIG_fail
;
23154 swig_obj
[0] = args
;
23155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23156 if (!SWIG_IsOK(res1
)) {
23157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (int)((wxDC
const *)arg1
)->MaxY();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_From_int(static_cast< int >(result
));
23173 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 PyObject
*resultobj
= 0;
23175 wxDC
*arg1
= (wxDC
*) 0 ;
23176 int *arg2
= (int *) 0 ;
23177 int *arg3
= (int *) 0 ;
23178 int *arg4
= (int *) 0 ;
23179 int *arg5
= (int *) 0 ;
23183 int res2
= SWIG_TMPOBJ
;
23185 int res3
= SWIG_TMPOBJ
;
23187 int res4
= SWIG_TMPOBJ
;
23189 int res5
= SWIG_TMPOBJ
;
23190 PyObject
*swig_obj
[1] ;
23196 if (!args
) SWIG_fail
;
23197 swig_obj
[0] = args
;
23198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_Py_Void();
23210 if (SWIG_IsTmpObj(res2
)) {
23211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23213 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23216 if (SWIG_IsTmpObj(res3
)) {
23217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23219 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23222 if (SWIG_IsTmpObj(res4
)) {
23223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23225 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23228 if (SWIG_IsTmpObj(res5
)) {
23229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23231 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23240 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23241 PyObject
*resultobj
= 0;
23242 wxDC
*arg1
= (wxDC
*) 0 ;
23246 PyObject
*swig_obj
[1] ;
23248 if (!args
) SWIG_fail
;
23249 swig_obj
[0] = args
;
23250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (long)(arg1
)->GetHDC();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= SWIG_From_long(static_cast< long >(result
));
23268 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
= 0;
23270 wxDC
*arg1
= (wxDC
*) 0 ;
23271 PyObject
*arg2
= (PyObject
*) 0 ;
23272 PyObject
*arg3
= (PyObject
*) 0 ;
23273 PyObject
*arg4
= (PyObject
*) 0 ;
23274 PyObject
*result
= 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 PyObject
* obj2
= 0 ;
23280 PyObject
* obj3
= 0 ;
23281 char * kwnames
[] = {
23282 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= result
;
23307 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
= 0;
23309 wxDC
*arg1
= (wxDC
*) 0 ;
23310 PyObject
*arg2
= (PyObject
*) 0 ;
23311 PyObject
*arg3
= (PyObject
*) 0 ;
23312 PyObject
*arg4
= (PyObject
*) 0 ;
23313 PyObject
*result
= 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 PyObject
* obj2
= 0 ;
23319 PyObject
* obj3
= 0 ;
23320 char * kwnames
[] = {
23321 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= result
;
23346 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= 0;
23348 wxDC
*arg1
= (wxDC
*) 0 ;
23349 PyObject
*arg2
= (PyObject
*) 0 ;
23350 PyObject
*arg3
= (PyObject
*) 0 ;
23351 PyObject
*arg4
= (PyObject
*) 0 ;
23352 PyObject
*result
= 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 PyObject
* obj2
= 0 ;
23358 PyObject
* obj3
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= result
;
23385 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
= 0;
23387 wxDC
*arg1
= (wxDC
*) 0 ;
23388 PyObject
*arg2
= (PyObject
*) 0 ;
23389 PyObject
*arg3
= (PyObject
*) 0 ;
23390 PyObject
*arg4
= (PyObject
*) 0 ;
23391 PyObject
*result
= 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 PyObject
* obj2
= 0 ;
23397 PyObject
* obj3
= 0 ;
23398 char * kwnames
[] = {
23399 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23404 if (!SWIG_IsOK(res1
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23413 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= result
;
23424 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
= 0;
23426 wxDC
*arg1
= (wxDC
*) 0 ;
23427 PyObject
*arg2
= (PyObject
*) 0 ;
23428 PyObject
*arg3
= (PyObject
*) 0 ;
23429 PyObject
*arg4
= (PyObject
*) 0 ;
23430 PyObject
*result
= 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 PyObject
* obj2
= 0 ;
23436 PyObject
* obj3
= 0 ;
23437 char * kwnames
[] = {
23438 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23443 if (!SWIG_IsOK(res1
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 resultobj
= result
;
23463 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
= 0;
23465 wxDC
*arg1
= (wxDC
*) 0 ;
23466 PyObject
*arg2
= (PyObject
*) 0 ;
23467 PyObject
*arg3
= (PyObject
*) 0 ;
23468 PyObject
*arg4
= (PyObject
*) 0 ;
23469 PyObject
*arg5
= (PyObject
*) 0 ;
23470 PyObject
*result
= 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 PyObject
* obj2
= 0 ;
23476 PyObject
* obj3
= 0 ;
23477 PyObject
* obj4
= 0 ;
23478 char * kwnames
[] = {
23479 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 resultobj
= result
;
23505 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23508 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23509 return SWIG_Py_Void();
23512 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23513 PyObject
*resultobj
= 0;
23514 wxMemoryDC
*result
= 0 ;
23516 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23518 if (!wxPyCheckForApp()) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (wxMemoryDC
*)new wxMemoryDC();
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23531 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23532 PyObject
*resultobj
= 0;
23533 wxDC
*arg1
= (wxDC
*) 0 ;
23534 wxMemoryDC
*result
= 0 ;
23537 PyObject
* obj0
= 0 ;
23538 char * kwnames
[] = {
23539 (char *) "oldDC", NULL
23542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23544 if (!SWIG_IsOK(res1
)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23549 if (!wxPyCheckForApp()) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23562 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
= 0;
23564 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23565 wxBitmap
*arg2
= 0 ;
23570 PyObject
* obj0
= 0 ;
23571 PyObject
* obj1
= 0 ;
23572 char * kwnames
[] = {
23573 (char *) "self",(char *) "bitmap", NULL
23576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23578 if (!SWIG_IsOK(res1
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23581 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23583 if (!SWIG_IsOK(res2
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23589 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= SWIG_Py_Void();
23603 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23606 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23607 return SWIG_Py_Void();
23610 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23611 return SWIG_Python_InitShadowInstance(args
);
23614 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23615 PyObject
*resultobj
= 0;
23616 wxDC
*arg1
= (wxDC
*) 0 ;
23617 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23618 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23619 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23620 wxBufferedDC
*result
= 0 ;
23628 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23635 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23636 if (!SWIG_IsOK(res2
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23642 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23645 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23646 if (!SWIG_IsOK(ecode3
)) {
23647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23649 arg3
= static_cast< int >(val3
);
23652 if (!wxPyCheckForApp()) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23665 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23666 PyObject
*resultobj
= 0;
23667 wxDC
*arg1
= (wxDC
*) 0 ;
23669 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23670 wxBufferedDC
*result
= 0 ;
23677 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23679 if (!SWIG_IsOK(res1
)) {
23680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23685 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23688 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23689 if (!SWIG_IsOK(ecode3
)) {
23690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23692 arg3
= static_cast< int >(val3
);
23695 if (!wxPyCheckForApp()) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23708 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23712 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23714 if ((argc
>= 1) && (argc
<= 3)) {
23718 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23719 _v
= SWIG_CheckState(res
);
23721 if (!_v
) goto check_1
;
23723 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23727 if ((argc
>= 2) && (argc
<= 3)) {
23728 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23732 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23737 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23738 PyObject
*resultobj
= 0;
23739 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23742 PyObject
*swig_obj
[1] ;
23744 if (!args
) SWIG_fail
;
23745 swig_obj
[0] = args
;
23746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23747 if (!SWIG_IsOK(res1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23750 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= SWIG_Py_Void();
23765 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23766 PyObject
*resultobj
= 0;
23767 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23770 PyObject
*swig_obj
[1] ;
23772 if (!args
) SWIG_fail
;
23773 swig_obj
[0] = args
;
23774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23778 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_Py_Void();
23792 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23795 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23796 return SWIG_Py_Void();
23799 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 return SWIG_Python_InitShadowInstance(args
);
23803 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
= 0;
23805 wxWindow
*arg1
= (wxWindow
*) 0 ;
23806 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23807 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23808 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23809 wxBufferedPaintDC
*result
= 0 ;
23816 PyObject
* obj0
= 0 ;
23817 PyObject
* obj1
= 0 ;
23818 PyObject
* obj2
= 0 ;
23819 char * kwnames
[] = {
23820 (char *) "window",(char *) "buffer",(char *) "style", NULL
23823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23828 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23831 if (!SWIG_IsOK(res2
)) {
23832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23837 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23841 if (!SWIG_IsOK(ecode3
)) {
23842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23844 arg3
= static_cast< int >(val3
);
23847 if (!wxPyCheckForApp()) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23860 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23863 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23864 return SWIG_Py_Void();
23867 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23868 return SWIG_Python_InitShadowInstance(args
);
23871 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23872 PyObject
*resultobj
= 0;
23873 wxScreenDC
*result
= 0 ;
23875 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23877 if (!wxPyCheckForApp()) SWIG_fail
;
23878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 result
= (wxScreenDC
*)new wxScreenDC();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23890 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
= 0;
23892 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23893 wxWindow
*arg2
= (wxWindow
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 PyObject
* obj1
= 0 ;
23901 char * kwnames
[] = {
23902 (char *) "self",(char *) "window", NULL
23905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23910 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23912 if (!SWIG_IsOK(res2
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23919 wxPyEndAllowThreads(__tstate
);
23920 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23931 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
= 0;
23933 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23934 wxRect
*arg2
= (wxRect
*) NULL
;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 char * kwnames
[] = {
23943 (char *) "self",(char *) "rect", NULL
23946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23948 if (!SWIG_IsOK(res1
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23951 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23954 if (!SWIG_IsOK(res2
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23957 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23974 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23975 PyObject
*resultobj
= 0;
23976 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23980 PyObject
*swig_obj
[1] ;
23982 if (!args
) SWIG_fail
;
23983 swig_obj
[0] = args
;
23984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23985 if (!SWIG_IsOK(res1
)) {
23986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23988 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)(arg1
)->EndDrawingOnTop();
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24007 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24008 return SWIG_Py_Void();
24011 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24012 return SWIG_Python_InitShadowInstance(args
);
24015 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24016 PyObject
*resultobj
= 0;
24017 wxWindow
*arg1
= (wxWindow
*) 0 ;
24018 wxClientDC
*result
= 0 ;
24021 PyObject
* obj0
= 0 ;
24022 char * kwnames
[] = {
24023 (char *) "win", NULL
24026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24028 if (!SWIG_IsOK(res1
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24033 if (!wxPyCheckForApp()) SWIG_fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (wxClientDC
*)new wxClientDC(arg1
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24046 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24049 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24050 return SWIG_Py_Void();
24053 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24054 return SWIG_Python_InitShadowInstance(args
);
24057 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
= 0;
24059 wxWindow
*arg1
= (wxWindow
*) 0 ;
24060 wxPaintDC
*result
= 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "win", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24075 if (!wxPyCheckForApp()) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24088 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24091 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24092 return SWIG_Py_Void();
24095 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24096 return SWIG_Python_InitShadowInstance(args
);
24099 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
= 0;
24101 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 wxWindowDC
*result
= 0 ;
24105 PyObject
* obj0
= 0 ;
24106 char * kwnames
[] = {
24107 (char *) "win", NULL
24110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24112 if (!SWIG_IsOK(res1
)) {
24113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24115 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24117 if (!wxPyCheckForApp()) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24130 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24133 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24134 return SWIG_Py_Void();
24137 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24138 return SWIG_Python_InitShadowInstance(args
);
24141 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
= 0;
24145 wxMirrorDC
*result
= 0 ;
24150 PyObject
* obj0
= 0 ;
24151 PyObject
* obj1
= 0 ;
24152 char * kwnames
[] = {
24153 (char *) "dc",(char *) "mirror", NULL
24156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24157 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24158 if (!SWIG_IsOK(res1
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24169 arg2
= static_cast< bool >(val2
);
24171 if (!wxPyCheckForApp()) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24184 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24187 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24188 return SWIG_Py_Void();
24191 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24192 return SWIG_Python_InitShadowInstance(args
);
24195 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
= 0;
24197 wxPrintData
*arg1
= 0 ;
24198 wxPostScriptDC
*result
= 0 ;
24201 PyObject
* obj0
= 0 ;
24202 char * kwnames
[] = {
24203 (char *) "printData", NULL
24206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24207 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24208 if (!SWIG_IsOK(res1
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24214 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24216 if (!wxPyCheckForApp()) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24229 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24230 PyObject
*resultobj
= 0;
24231 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24232 wxPrintData
*result
= 0 ;
24235 PyObject
*swig_obj
[1] ;
24237 if (!args
) SWIG_fail
;
24238 swig_obj
[0] = args
;
24239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24243 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24248 result
= (wxPrintData
*) &_result_ref
;
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24260 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
= 0;
24262 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24263 wxPrintData
*arg2
= 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "self",(char *) "data", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24279 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24281 if (!SWIG_IsOK(res2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24287 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_Py_Void();
24301 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
= 0;
24306 PyObject
* obj0
= 0 ;
24307 char * kwnames
[] = {
24308 (char *) "ppi", NULL
24311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24313 if (!SWIG_IsOK(ecode1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24316 arg1
= static_cast< int >(val1
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 wxPostScriptDC::SetResolution(arg1
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_Py_Void();
24330 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24331 PyObject
*resultobj
= 0;
24334 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (int)wxPostScriptDC::GetResolution();
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_From_int(static_cast< int >(result
));
24348 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24352 return SWIG_Py_Void();
24355 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24356 return SWIG_Python_InitShadowInstance(args
);
24359 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
= 0;
24361 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24362 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24363 wxMetaFile
*result
= 0 ;
24364 bool temp1
= false ;
24365 PyObject
* obj0
= 0 ;
24366 char * kwnames
[] = {
24367 (char *) "filename", NULL
24370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24373 arg1
= wxString_in_helper(obj0
);
24374 if (arg1
== NULL
) SWIG_fail
;
24379 if (!wxPyCheckForApp()) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24400 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24401 PyObject
*resultobj
= 0;
24402 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24405 PyObject
*swig_obj
[1] ;
24407 if (!args
) SWIG_fail
;
24408 swig_obj
[0] = args
;
24409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24410 if (!SWIG_IsOK(res1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24413 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_Py_Void();
24428 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24429 PyObject
*resultobj
= 0;
24430 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24434 PyObject
*swig_obj
[1] ;
24436 if (!args
) SWIG_fail
;
24437 swig_obj
[0] = args
;
24438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24439 if (!SWIG_IsOK(res1
)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24442 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)(arg1
)->Ok();
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24458 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
= 0;
24460 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24461 int arg2
= (int) 0 ;
24462 int arg3
= (int) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 PyObject
* obj2
= 0 ;
24473 char * kwnames
[] = {
24474 (char *) "self",(char *) "width",(char *) "height", NULL
24477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24479 if (!SWIG_IsOK(res1
)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24482 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24485 if (!SWIG_IsOK(ecode2
)) {
24486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24488 arg2
= static_cast< int >(val2
);
24491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24492 if (!SWIG_IsOK(ecode3
)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24495 arg3
= static_cast< int >(val3
);
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24512 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24513 PyObject
*resultobj
= 0;
24514 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24518 PyObject
*swig_obj
[1] ;
24520 if (!args
) SWIG_fail
;
24521 swig_obj
[0] = args
;
24522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24523 if (!SWIG_IsOK(res1
)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24526 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (arg1
)->GetSize();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24540 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24541 PyObject
*resultobj
= 0;
24542 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24546 PyObject
*swig_obj
[1] ;
24548 if (!args
) SWIG_fail
;
24549 swig_obj
[0] = args
;
24550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24551 if (!SWIG_IsOK(res1
)) {
24552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24554 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (int)(arg1
)->GetWidth();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 resultobj
= SWIG_From_int(static_cast< int >(result
));
24568 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24569 PyObject
*resultobj
= 0;
24570 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24574 PyObject
*swig_obj
[1] ;
24576 if (!args
) SWIG_fail
;
24577 swig_obj
[0] = args
;
24578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24582 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (int)(arg1
)->GetHeight();
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_From_int(static_cast< int >(result
));
24596 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24597 PyObject
*resultobj
= 0;
24598 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24599 wxString
*result
= 0 ;
24602 PyObject
*swig_obj
[1] ;
24604 if (!args
) SWIG_fail
;
24605 swig_obj
[0] = args
;
24606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24607 if (!SWIG_IsOK(res1
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24610 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24615 result
= (wxString
*) &_result_ref
;
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24624 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24633 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24636 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24637 return SWIG_Py_Void();
24640 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24641 return SWIG_Python_InitShadowInstance(args
);
24644 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24647 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24648 int arg2
= (int) 0 ;
24649 int arg3
= (int) 0 ;
24650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24652 wxMetaFileDC
*result
= 0 ;
24653 bool temp1
= false ;
24658 bool temp4
= false ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 PyObject
* obj2
= 0 ;
24662 PyObject
* obj3
= 0 ;
24663 char * kwnames
[] = {
24664 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24670 arg1
= wxString_in_helper(obj0
);
24671 if (arg1
== NULL
) SWIG_fail
;
24676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24677 if (!SWIG_IsOK(ecode2
)) {
24678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24680 arg2
= static_cast< int >(val2
);
24683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24684 if (!SWIG_IsOK(ecode3
)) {
24685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24687 arg3
= static_cast< int >(val3
);
24691 arg4
= wxString_in_helper(obj3
);
24692 if (arg4
== NULL
) SWIG_fail
;
24697 if (!wxPyCheckForApp()) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24726 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 PyObject
*resultobj
= 0;
24728 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24729 wxMetaFile
*result
= 0 ;
24732 PyObject
*swig_obj
[1] ;
24734 if (!args
) SWIG_fail
;
24735 swig_obj
[0] = args
;
24736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24740 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (wxMetaFile
*)(arg1
)->Close();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24754 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24757 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24758 return SWIG_Py_Void();
24761 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24762 return SWIG_Python_InitShadowInstance(args
);
24765 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
= 0;
24767 wxPrintData
*arg1
= 0 ;
24768 wxPrinterDC
*result
= 0 ;
24771 PyObject
* obj0
= 0 ;
24772 char * kwnames
[] = {
24773 (char *) "printData", NULL
24776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24777 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24784 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24786 if (!wxPyCheckForApp()) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24799 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24803 return SWIG_Py_Void();
24806 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24807 return SWIG_Python_InitShadowInstance(args
);
24810 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24811 PyObject
*resultobj
= 0;
24814 int arg3
= (int) true ;
24815 int arg4
= (int) 1 ;
24816 wxImageList
*result
= 0 ;
24825 PyObject
* obj0
= 0 ;
24826 PyObject
* obj1
= 0 ;
24827 PyObject
* obj2
= 0 ;
24828 PyObject
* obj3
= 0 ;
24829 char * kwnames
[] = {
24830 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24835 if (!SWIG_IsOK(ecode1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24838 arg1
= static_cast< int >(val1
);
24839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24840 if (!SWIG_IsOK(ecode2
)) {
24841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24843 arg2
= static_cast< int >(val2
);
24845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24846 if (!SWIG_IsOK(ecode3
)) {
24847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24849 arg3
= static_cast< int >(val3
);
24852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24853 if (!SWIG_IsOK(ecode4
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24856 arg4
= static_cast< int >(val4
);
24859 if (!wxPyCheckForApp()) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24874 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24875 PyObject
*resultobj
= 0;
24876 wxImageList
*arg1
= (wxImageList
*) 0 ;
24879 PyObject
*swig_obj
[1] ;
24881 if (!args
) SWIG_fail
;
24882 swig_obj
[0] = args
;
24883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24884 if (!SWIG_IsOK(res1
)) {
24885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24887 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 wxPyEndAllowThreads(__tstate
);
24893 if (PyErr_Occurred()) SWIG_fail
;
24895 resultobj
= SWIG_Py_Void();
24902 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
= 0;
24904 wxImageList
*arg1
= (wxImageList
*) 0 ;
24905 wxBitmap
*arg2
= 0 ;
24906 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24907 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 PyObject
* obj2
= 0 ;
24918 char * kwnames
[] = {
24919 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24924 if (!SWIG_IsOK(res1
)) {
24925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24927 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24929 if (!SWIG_IsOK(res2
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24935 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24937 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24938 if (!SWIG_IsOK(res3
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24944 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_From_int(static_cast< int >(result
));
24959 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
= 0;
24961 wxImageList
*arg1
= (wxImageList
*) 0 ;
24962 wxBitmap
*arg2
= 0 ;
24963 wxColour
*arg3
= 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 PyObject
* obj2
= 0 ;
24973 char * kwnames
[] = {
24974 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24982 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24984 if (!SWIG_IsOK(res2
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24990 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24993 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_From_int(static_cast< int >(result
));
25008 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
= 0;
25010 wxImageList
*arg1
= (wxImageList
*) 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char * kwnames
[] = {
25020 (char *) "self",(char *) "icon", NULL
25023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
25028 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25030 if (!SWIG_IsOK(res2
)) {
25031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25036 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_From_int(static_cast< int >(result
));
25050 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
= 0;
25052 wxImageList
*arg1
= (wxImageList
*) 0 ;
25054 SwigValueWrapper
<wxBitmap
> result
;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 char * kwnames
[] = {
25062 (char *) "self",(char *) "index", NULL
25065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
25070 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25072 if (!SWIG_IsOK(ecode2
)) {
25073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
25075 arg2
= static_cast< int >(val2
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
25089 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
= 0;
25091 wxImageList
*arg1
= (wxImageList
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char * kwnames
[] = {
25101 (char *) "self",(char *) "index", NULL
25104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25106 if (!SWIG_IsOK(res1
)) {
25107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
25109 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25111 if (!SWIG_IsOK(ecode2
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
25114 arg2
= static_cast< int >(val2
);
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
25128 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
= 0;
25130 wxImageList
*arg1
= (wxImageList
*) 0 ;
25132 wxBitmap
*arg3
= 0 ;
25133 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
25134 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
25144 PyObject
* obj0
= 0 ;
25145 PyObject
* obj1
= 0 ;
25146 PyObject
* obj2
= 0 ;
25147 PyObject
* obj3
= 0 ;
25148 char * kwnames
[] = {
25149 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
25152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
25157 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25159 if (!SWIG_IsOK(ecode2
)) {
25160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
25162 arg2
= static_cast< int >(val2
);
25163 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25164 if (!SWIG_IsOK(res3
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25170 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
25172 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25173 if (!SWIG_IsOK(res4
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25179 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25196 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxImageList
*arg1
= (wxImageList
*) 0 ;
25203 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
25204 bool arg7
= (bool) (bool)false ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 PyObject
* obj2
= 0 ;
25223 PyObject
* obj3
= 0 ;
25224 PyObject
* obj4
= 0 ;
25225 PyObject
* obj5
= 0 ;
25226 PyObject
* obj6
= 0 ;
25227 char * kwnames
[] = {
25228 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
25231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
25236 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25238 if (!SWIG_IsOK(ecode2
)) {
25239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
25241 arg2
= static_cast< int >(val2
);
25242 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25243 if (!SWIG_IsOK(res3
)) {
25244 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25249 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25251 if (!SWIG_IsOK(ecode4
)) {
25252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
25254 arg4
= static_cast< int >(val4
);
25255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25256 if (!SWIG_IsOK(ecode5
)) {
25257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
25259 arg5
= static_cast< int >(val5
);
25261 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25262 if (!SWIG_IsOK(ecode6
)) {
25263 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
25265 arg6
= static_cast< int >(val6
);
25268 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25269 if (!SWIG_IsOK(ecode7
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
25272 arg7
= static_cast< bool >(val7
);
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25289 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25290 PyObject
*resultobj
= 0;
25291 wxImageList
*arg1
= (wxImageList
*) 0 ;
25295 PyObject
*swig_obj
[1] ;
25297 if (!args
) SWIG_fail
;
25298 swig_obj
[0] = args
;
25299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
25303 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (int)(arg1
)->GetImageCount();
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_From_int(static_cast< int >(result
));
25317 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25319 wxImageList
*arg1
= (wxImageList
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char * kwnames
[] = {
25329 (char *) "self",(char *) "index", NULL
25332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
25337 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25339 if (!SWIG_IsOK(ecode2
)) {
25340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
25342 arg2
= static_cast< int >(val2
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (bool)(arg1
)->Remove(arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25358 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25359 PyObject
*resultobj
= 0;
25360 wxImageList
*arg1
= (wxImageList
*) 0 ;
25364 PyObject
*swig_obj
[1] ;
25366 if (!args
) SWIG_fail
;
25367 swig_obj
[0] = args
;
25368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25369 if (!SWIG_IsOK(res1
)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
25372 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= (bool)(arg1
)->RemoveAll();
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25388 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
= 0;
25390 wxImageList
*arg1
= (wxImageList
*) 0 ;
25399 int res3
= SWIG_TMPOBJ
;
25401 int res4
= SWIG_TMPOBJ
;
25402 PyObject
* obj0
= 0 ;
25403 PyObject
* obj1
= 0 ;
25404 char * kwnames
[] = {
25405 (char *) "self",(char *) "index", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
25415 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25417 if (!SWIG_IsOK(ecode2
)) {
25418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
25420 arg2
= static_cast< int >(val2
);
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_Py_Void();
25428 if (SWIG_IsTmpObj(res3
)) {
25429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25431 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25434 if (SWIG_IsTmpObj(res4
)) {
25435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
25437 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
25446 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25449 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
25450 return SWIG_Py_Void();
25453 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 return SWIG_Python_InitShadowInstance(args
);
25457 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25458 PyObject
*resultobj
= 0;
25459 wxStockGDI
*result
= 0 ;
25461 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (wxStockGDI
*)new wxStockGDI();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
25475 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25476 PyObject
*resultobj
= 0;
25477 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25480 PyObject
*swig_obj
[1] ;
25482 if (!args
) SWIG_fail
;
25483 swig_obj
[0] = args
;
25484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
25485 if (!SWIG_IsOK(res1
)) {
25486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25488 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= SWIG_Py_Void();
25503 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25504 PyObject
*resultobj
= 0;
25506 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 wxStockGDI::DeleteAll();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_Py_Void();
25520 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25521 PyObject
*resultobj
= 0;
25522 wxStockGDI
*result
= 0 ;
25524 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 wxStockGDI
&_result_ref
= wxStockGDI::instance();
25529 result
= (wxStockGDI
*) &_result_ref
;
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25541 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
= 0;
25543 wxStockGDI::Item arg1
;
25544 wxBrush
*result
= 0 ;
25547 PyObject
* obj0
= 0 ;
25548 char * kwnames
[] = {
25549 (char *) "item", NULL
25552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
25553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25554 if (!SWIG_IsOK(ecode1
)) {
25555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25557 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25571 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25572 PyObject
*resultobj
= 0;
25573 wxStockGDI::Item arg1
;
25574 wxColour
*result
= 0 ;
25577 PyObject
* obj0
= 0 ;
25578 char * kwnames
[] = {
25579 (char *) "item", NULL
25582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
25583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25584 if (!SWIG_IsOK(ecode1
)) {
25585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25587 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
25601 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
= 0;
25603 wxStockGDI::Item arg1
;
25604 wxCursor
*result
= 0 ;
25607 PyObject
* obj0
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "item", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
25613 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25614 if (!SWIG_IsOK(ecode1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25617 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
25631 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
= 0;
25633 wxStockGDI::Item arg1
;
25634 wxPen
*result
= 0 ;
25637 PyObject
* obj0
= 0 ;
25638 char * kwnames
[] = {
25639 (char *) "item", NULL
25642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
25643 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25644 if (!SWIG_IsOK(ecode1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25647 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25661 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
= 0;
25663 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25664 wxStockGDI::Item arg2
;
25665 wxFont
*result
= 0 ;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 char * kwnames
[] = {
25673 (char *) "self",(char *) "item", NULL
25676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25681 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25683 if (!SWIG_IsOK(ecode2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
25686 arg2
= static_cast< wxStockGDI::Item
>(val2
);
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25700 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25703 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
25704 return SWIG_Py_Void();
25707 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25708 return SWIG_Python_InitShadowInstance(args
);
25711 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25712 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25717 SWIGINTERN PyObject
*NullBitmap_get(void) {
25718 PyObject
*pyobj
= 0;
25720 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25725 SWIGINTERN
int NullIcon_set(PyObject
*) {
25726 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25731 SWIGINTERN PyObject
*NullIcon_get(void) {
25732 PyObject
*pyobj
= 0;
25734 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25739 SWIGINTERN
int NullCursor_set(PyObject
*) {
25740 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25745 SWIGINTERN PyObject
*NullCursor_get(void) {
25746 PyObject
*pyobj
= 0;
25748 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25753 SWIGINTERN
int NullPen_set(PyObject
*) {
25754 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25759 SWIGINTERN PyObject
*NullPen_get(void) {
25760 PyObject
*pyobj
= 0;
25762 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25767 SWIGINTERN
int NullBrush_set(PyObject
*) {
25768 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25773 SWIGINTERN PyObject
*NullBrush_get(void) {
25774 PyObject
*pyobj
= 0;
25776 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25781 SWIGINTERN
int NullPalette_set(PyObject
*) {
25782 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25787 SWIGINTERN PyObject
*NullPalette_get(void) {
25788 PyObject
*pyobj
= 0;
25790 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25795 SWIGINTERN
int NullFont_set(PyObject
*) {
25796 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25801 SWIGINTERN PyObject
*NullFont_get(void) {
25802 PyObject
*pyobj
= 0;
25804 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25809 SWIGINTERN
int NullColour_set(PyObject
*) {
25810 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25815 SWIGINTERN PyObject
*NullColour_get(void) {
25816 PyObject
*pyobj
= 0;
25818 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25823 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25824 PyObject
*resultobj
= 0;
25825 wxGDIObjListBase
*result
= 0 ;
25827 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25841 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25842 PyObject
*resultobj
= 0;
25843 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25846 PyObject
*swig_obj
[1] ;
25848 if (!args
) SWIG_fail
;
25849 swig_obj
[0] = args
;
25850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25851 if (!SWIG_IsOK(res1
)) {
25852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25854 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_Py_Void();
25869 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25872 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25873 return SWIG_Py_Void();
25876 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25877 return SWIG_Python_InitShadowInstance(args
);
25880 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25881 PyObject
*resultobj
= 0;
25882 wxPenList
*arg1
= (wxPenList
*) 0 ;
25883 wxColour
*arg2
= 0 ;
25886 wxPen
*result
= 0 ;
25894 PyObject
* obj0
= 0 ;
25895 PyObject
* obj1
= 0 ;
25896 PyObject
* obj2
= 0 ;
25897 PyObject
* obj3
= 0 ;
25898 char * kwnames
[] = {
25899 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25904 if (!SWIG_IsOK(res1
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25907 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25910 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25913 if (!SWIG_IsOK(ecode3
)) {
25914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25916 arg3
= static_cast< int >(val3
);
25917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25918 if (!SWIG_IsOK(ecode4
)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25921 arg4
= static_cast< int >(val4
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25935 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
= 0;
25937 wxPenList
*arg1
= (wxPenList
*) 0 ;
25938 wxPen
*arg2
= (wxPen
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char * kwnames
[] = {
25946 (char *) "self",(char *) "pen", NULL
25949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25954 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25956 if (!SWIG_IsOK(res2
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25959 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 (arg1
)->AddPen(arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_Py_Void();
25973 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
= 0;
25975 wxPenList
*arg1
= (wxPenList
*) 0 ;
25976 wxPen
*arg2
= (wxPen
*) 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 char * kwnames
[] = {
25984 (char *) "self",(char *) "pen", NULL
25987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25992 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25994 if (!SWIG_IsOK(res2
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25997 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 (arg1
)->RemovePen(arg2
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_Py_Void();
26011 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26014 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
26015 return SWIG_Py_Void();
26018 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
= 0;
26020 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26021 wxColour
*arg2
= 0 ;
26022 int arg3
= (int) wxSOLID
;
26023 wxBrush
*result
= 0 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 PyObject
* obj2
= 0 ;
26032 char * kwnames
[] = {
26033 (char *) "self",(char *) "colour",(char *) "style", NULL
26036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26038 if (!SWIG_IsOK(res1
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26041 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26048 if (!SWIG_IsOK(ecode3
)) {
26049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
26051 arg3
= static_cast< int >(val3
);
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
26066 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
= 0;
26068 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26069 wxBrush
*arg2
= (wxBrush
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "self",(char *) "brush", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26085 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26087 if (!SWIG_IsOK(res2
)) {
26088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26090 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 (arg1
)->AddBrush(arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_Py_Void();
26104 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
= 0;
26106 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26107 wxBrush
*arg2
= (wxBrush
*) 0 ;
26112 PyObject
* obj0
= 0 ;
26113 PyObject
* obj1
= 0 ;
26114 char * kwnames
[] = {
26115 (char *) "self",(char *) "brush", NULL
26118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26120 if (!SWIG_IsOK(res1
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26123 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26125 if (!SWIG_IsOK(res2
)) {
26126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26128 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 (arg1
)->RemoveBrush(arg2
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_Py_Void();
26142 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26145 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
26146 return SWIG_Py_Void();
26149 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
= 0;
26151 wxFontList
*arg1
= (wxFontList
*) 0 ;
26156 bool arg6
= (bool) false ;
26157 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26159 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
26160 wxFont
*result
= 0 ;
26173 bool temp7
= false ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 PyObject
* obj2
= 0 ;
26179 PyObject
* obj3
= 0 ;
26180 PyObject
* obj4
= 0 ;
26181 PyObject
* obj5
= 0 ;
26182 PyObject
* obj6
= 0 ;
26183 PyObject
* obj7
= 0 ;
26184 char * kwnames
[] = {
26185 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
26188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26193 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26195 if (!SWIG_IsOK(ecode2
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
26198 arg2
= static_cast< int >(val2
);
26199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26200 if (!SWIG_IsOK(ecode3
)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
26203 arg3
= static_cast< int >(val3
);
26204 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26205 if (!SWIG_IsOK(ecode4
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
26208 arg4
= static_cast< int >(val4
);
26209 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26210 if (!SWIG_IsOK(ecode5
)) {
26211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
26213 arg5
= static_cast< int >(val5
);
26215 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
26216 if (!SWIG_IsOK(ecode6
)) {
26217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
26219 arg6
= static_cast< bool >(val6
);
26223 arg7
= wxString_in_helper(obj6
);
26224 if (arg7
== NULL
) SWIG_fail
;
26229 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
26230 if (!SWIG_IsOK(ecode8
)) {
26231 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
26233 arg8
= static_cast< wxFontEncoding
>(val8
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26256 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
= 0;
26258 wxFontList
*arg1
= (wxFontList
*) 0 ;
26259 wxFont
*arg2
= (wxFont
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char * kwnames
[] = {
26267 (char *) "self",(char *) "font", NULL
26270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26275 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26277 if (!SWIG_IsOK(res2
)) {
26278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
26280 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 (arg1
)->AddFont(arg2
);
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 resultobj
= SWIG_Py_Void();
26294 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26295 PyObject
*resultobj
= 0;
26296 wxFontList
*arg1
= (wxFontList
*) 0 ;
26297 wxFont
*arg2
= (wxFont
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char * kwnames
[] = {
26305 (char *) "self",(char *) "font", NULL
26308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26313 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26315 if (!SWIG_IsOK(res2
)) {
26316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
26318 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->RemoveFont(arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= SWIG_Py_Void();
26332 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26335 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
26336 return SWIG_Py_Void();
26339 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26340 PyObject
*resultobj
= 0;
26341 wxColourDatabase
*result
= 0 ;
26343 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
26345 if (!wxPyCheckForApp()) SWIG_fail
;
26346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26347 result
= (wxColourDatabase
*)new wxColourDatabase();
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
26358 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26359 PyObject
*resultobj
= 0;
26360 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26363 PyObject
*swig_obj
[1] ;
26365 if (!args
) SWIG_fail
;
26366 swig_obj
[0] = args
;
26367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26371 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= SWIG_Py_Void();
26386 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
= 0;
26388 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26389 wxString
*arg2
= 0 ;
26393 bool temp2
= false ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char * kwnames
[] = {
26397 (char *) "self",(char *) "name", NULL
26400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26402 if (!SWIG_IsOK(res1
)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26405 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26407 arg2
= wxString_in_helper(obj1
);
26408 if (arg2
== NULL
) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26432 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26433 PyObject
*resultobj
= 0;
26434 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26435 wxColour
*arg2
= 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 char * kwnames
[] = {
26443 (char *) "self",(char *) "colour", NULL
26446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26448 if (!SWIG_IsOK(res1
)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26451 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26454 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26475 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
= 0;
26477 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26478 wxString
*arg2
= 0 ;
26479 wxColour
*arg3
= 0 ;
26482 bool temp2
= false ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 PyObject
* obj2
= 0 ;
26487 char * kwnames
[] = {
26488 (char *) "self",(char *) "name",(char *) "colour", NULL
26491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26493 if (!SWIG_IsOK(res1
)) {
26494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26496 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26498 arg2
= wxString_in_helper(obj1
);
26499 if (arg2
== NULL
) SWIG_fail
;
26504 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26527 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
= 0;
26529 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26530 wxString
*arg2
= 0 ;
26536 bool temp2
= false ;
26543 PyObject
* obj0
= 0 ;
26544 PyObject
* obj1
= 0 ;
26545 PyObject
* obj2
= 0 ;
26546 PyObject
* obj3
= 0 ;
26547 PyObject
* obj4
= 0 ;
26548 char * kwnames
[] = {
26549 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
26552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26554 if (!SWIG_IsOK(res1
)) {
26555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26557 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26559 arg2
= wxString_in_helper(obj1
);
26560 if (arg2
== NULL
) SWIG_fail
;
26563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26564 if (!SWIG_IsOK(ecode3
)) {
26565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
26567 arg3
= static_cast< int >(val3
);
26568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26569 if (!SWIG_IsOK(ecode4
)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
26572 arg4
= static_cast< int >(val4
);
26573 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26574 if (!SWIG_IsOK(ecode5
)) {
26575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
26577 arg5
= static_cast< int >(val5
);
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 resultobj
= SWIG_Py_Void();
26599 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26602 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
26603 return SWIG_Py_Void();
26606 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26607 return SWIG_Python_InitShadowInstance(args
);
26610 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26611 PyObject
*resultobj
= 0;
26612 wxFontList
*result
= 0 ;
26614 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (wxFontList
*)_wxPyInitTheFontList();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
26628 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26629 PyObject
*resultobj
= 0;
26630 wxPenList
*result
= 0 ;
26632 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (wxPenList
*)_wxPyInitThePenList();
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
26646 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 PyObject
*resultobj
= 0;
26648 wxBrushList
*result
= 0 ;
26650 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (wxBrushList
*)_wxPyInitTheBrushList();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
26664 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26665 PyObject
*resultobj
= 0;
26666 wxColourDatabase
*result
= 0 ;
26668 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26682 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26683 PyObject
*resultobj
= 0;
26684 wxEffects
*result
= 0 ;
26686 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (wxEffects
*)new wxEffects();
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
26700 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26701 PyObject
*resultobj
= 0;
26702 wxEffects
*arg1
= (wxEffects
*) 0 ;
26706 PyObject
*swig_obj
[1] ;
26708 if (!args
) SWIG_fail
;
26709 swig_obj
[0] = args
;
26710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26714 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26728 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26729 PyObject
*resultobj
= 0;
26730 wxEffects
*arg1
= (wxEffects
*) 0 ;
26734 PyObject
*swig_obj
[1] ;
26736 if (!args
) SWIG_fail
;
26737 swig_obj
[0] = args
;
26738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26739 if (!SWIG_IsOK(res1
)) {
26740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26742 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26745 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26756 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26757 PyObject
*resultobj
= 0;
26758 wxEffects
*arg1
= (wxEffects
*) 0 ;
26762 PyObject
*swig_obj
[1] ;
26764 if (!args
) SWIG_fail
;
26765 swig_obj
[0] = args
;
26766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26770 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26773 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26784 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26785 PyObject
*resultobj
= 0;
26786 wxEffects
*arg1
= (wxEffects
*) 0 ;
26790 PyObject
*swig_obj
[1] ;
26792 if (!args
) SWIG_fail
;
26793 swig_obj
[0] = args
;
26794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26798 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26812 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26813 PyObject
*resultobj
= 0;
26814 wxEffects
*arg1
= (wxEffects
*) 0 ;
26818 PyObject
*swig_obj
[1] ;
26820 if (!args
) SWIG_fail
;
26821 swig_obj
[0] = args
;
26822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26823 if (!SWIG_IsOK(res1
)) {
26824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26826 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26840 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
= 0;
26842 wxEffects
*arg1
= (wxEffects
*) 0 ;
26843 wxColour
*arg2
= 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char * kwnames
[] = {
26850 (char *) "self",(char *) "c", NULL
26853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26855 if (!SWIG_IsOK(res1
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26858 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26861 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= SWIG_Py_Void();
26876 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
= 0;
26878 wxEffects
*arg1
= (wxEffects
*) 0 ;
26879 wxColour
*arg2
= 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char * kwnames
[] = {
26886 (char *) "self",(char *) "c", NULL
26889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26891 if (!SWIG_IsOK(res1
)) {
26892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26894 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26897 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= SWIG_Py_Void();
26912 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
= 0;
26914 wxEffects
*arg1
= (wxEffects
*) 0 ;
26915 wxColour
*arg2
= 0 ;
26919 PyObject
* obj0
= 0 ;
26920 PyObject
* obj1
= 0 ;
26921 char * kwnames
[] = {
26922 (char *) "self",(char *) "c", NULL
26925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26927 if (!SWIG_IsOK(res1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26930 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26933 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_Py_Void();
26948 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxEffects
*arg1
= (wxEffects
*) 0 ;
26951 wxColour
*arg2
= 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 char * kwnames
[] = {
26958 (char *) "self",(char *) "c", NULL
26961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26963 if (!SWIG_IsOK(res1
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26966 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= SWIG_Py_Void();
26984 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
= 0;
26986 wxEffects
*arg1
= (wxEffects
*) 0 ;
26987 wxColour
*arg2
= 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "self",(char *) "c", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
27002 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27005 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_Py_Void();
27020 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
= 0;
27022 wxEffects
*arg1
= (wxEffects
*) 0 ;
27023 wxColour
*arg2
= 0 ;
27024 wxColour
*arg3
= 0 ;
27025 wxColour
*arg4
= 0 ;
27026 wxColour
*arg5
= 0 ;
27027 wxColour
*arg6
= 0 ;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj1
= 0 ;
27037 PyObject
* obj2
= 0 ;
27038 PyObject
* obj3
= 0 ;
27039 PyObject
* obj4
= 0 ;
27040 PyObject
* obj5
= 0 ;
27041 char * kwnames
[] = {
27042 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
27045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27047 if (!SWIG_IsOK(res1
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
27050 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27053 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27057 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27061 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
27065 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
27069 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_Py_Void();
27084 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
= 0;
27086 wxEffects
*arg1
= (wxEffects
*) 0 ;
27089 int arg4
= (int) 1 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 PyObject
* obj3
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
27110 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
27112 if (!SWIG_IsOK(res2
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27118 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27121 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27125 if (!SWIG_IsOK(ecode4
)) {
27126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
27128 arg4
= static_cast< int >(val4
);
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_Py_Void();
27143 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
= 0;
27145 wxEffects
*arg1
= (wxEffects
*) 0 ;
27148 wxBitmap
*arg4
= 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 PyObject
* obj2
= 0 ;
27160 PyObject
* obj3
= 0 ;
27161 char * kwnames
[] = {
27162 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
27165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
27170 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27173 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27175 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27176 if (!SWIG_IsOK(res3
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27182 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27183 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
27184 if (!SWIG_IsOK(res4
)) {
27185 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27190 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27193 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27206 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27209 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
27210 return SWIG_Py_Void();
27213 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 return SWIG_Python_InitShadowInstance(args
);
27217 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
= 0;
27222 wxSplitterRenderParams
*result
= 0 ;
27229 PyObject
* obj0
= 0 ;
27230 PyObject
* obj1
= 0 ;
27231 PyObject
* obj2
= 0 ;
27232 char * kwnames
[] = {
27233 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
27236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27238 if (!SWIG_IsOK(ecode1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
27241 arg1
= static_cast< int >(val1
);
27242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27243 if (!SWIG_IsOK(ecode2
)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
27246 arg2
= static_cast< int >(val2
);
27247 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
27248 if (!SWIG_IsOK(ecode3
)) {
27249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
27251 arg3
= static_cast< bool >(val3
);
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
27265 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 PyObject
*resultobj
= 0;
27267 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27270 PyObject
*swig_obj
[1] ;
27272 if (!args
) SWIG_fail
;
27273 swig_obj
[0] = args
;
27274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
27275 if (!SWIG_IsOK(res1
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27278 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= SWIG_Py_Void();
27293 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27294 PyObject
*resultobj
= 0;
27295 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27299 PyObject
*swig_obj
[1] ;
27301 if (!args
) SWIG_fail
;
27302 swig_obj
[0] = args
;
27303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27307 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27308 result
= (int)(int) ((arg1
)->widthSash
);
27309 resultobj
= SWIG_From_int(static_cast< int >(result
));
27316 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27317 PyObject
*resultobj
= 0;
27318 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27322 PyObject
*swig_obj
[1] ;
27324 if (!args
) SWIG_fail
;
27325 swig_obj
[0] = args
;
27326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27327 if (!SWIG_IsOK(res1
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27330 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27331 result
= (int)(int) ((arg1
)->border
);
27332 resultobj
= SWIG_From_int(static_cast< int >(result
));
27339 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27340 PyObject
*resultobj
= 0;
27341 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27345 PyObject
*swig_obj
[1] ;
27347 if (!args
) SWIG_fail
;
27348 swig_obj
[0] = args
;
27349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27353 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27354 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
27355 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
27362 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27365 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
27366 return SWIG_Py_Void();
27369 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27370 return SWIG_Python_InitShadowInstance(args
);
27373 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
= 0;
27377 wxRendererVersion
*result
= 0 ;
27382 PyObject
* obj0
= 0 ;
27383 PyObject
* obj1
= 0 ;
27384 char * kwnames
[] = {
27385 (char *) "version_",(char *) "age_", NULL
27388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27390 if (!SWIG_IsOK(ecode1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27393 arg1
= static_cast< int >(val1
);
27394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27395 if (!SWIG_IsOK(ecode2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27398 arg2
= static_cast< int >(val2
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27412 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27413 PyObject
*resultobj
= 0;
27414 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27417 PyObject
*swig_obj
[1] ;
27419 if (!args
) SWIG_fail
;
27420 swig_obj
[0] = args
;
27421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27422 if (!SWIG_IsOK(res1
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27425 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_Py_Void();
27440 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
= 0;
27442 wxRendererVersion
*arg1
= 0 ;
27446 PyObject
* obj0
= 0 ;
27447 char * kwnames
[] = {
27448 (char *) "ver", NULL
27451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27452 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27459 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27475 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27476 PyObject
*resultobj
= 0;
27477 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27481 PyObject
*swig_obj
[1] ;
27483 if (!args
) SWIG_fail
;
27484 swig_obj
[0] = args
;
27485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27489 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27490 result
= (int)(int) ((arg1
)->version
);
27491 resultobj
= SWIG_From_int(static_cast< int >(result
));
27498 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27504 PyObject
*swig_obj
[1] ;
27506 if (!args
) SWIG_fail
;
27507 swig_obj
[0] = args
;
27508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27509 if (!SWIG_IsOK(res1
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27512 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27513 result
= (int)(int) ((arg1
)->age
);
27514 resultobj
= SWIG_From_int(static_cast< int >(result
));
27521 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27524 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27525 return SWIG_Py_Void();
27528 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 return SWIG_Python_InitShadowInstance(args
);
27532 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
= 0;
27534 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27535 wxWindow
*arg2
= (wxWindow
*) 0 ;
27538 int arg5
= (int) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 PyObject
* obj2
= 0 ;
27551 PyObject
* obj3
= 0 ;
27552 PyObject
* obj4
= 0 ;
27553 char * kwnames
[] = {
27554 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27559 if (!SWIG_IsOK(res1
)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27562 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27564 if (!SWIG_IsOK(res2
)) {
27565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27567 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27568 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27569 if (!SWIG_IsOK(res3
)) {
27570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27575 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27578 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27581 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27582 if (!SWIG_IsOK(ecode5
)) {
27583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27585 arg5
= static_cast< int >(val5
);
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27589 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27590 wxPyEndAllowThreads(__tstate
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27593 resultobj
= SWIG_Py_Void();
27600 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27601 PyObject
*resultobj
= 0;
27602 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27603 wxWindow
*arg2
= (wxWindow
*) 0 ;
27606 int arg5
= (int) 0 ;
27616 PyObject
* obj0
= 0 ;
27617 PyObject
* obj1
= 0 ;
27618 PyObject
* obj2
= 0 ;
27619 PyObject
* obj3
= 0 ;
27620 PyObject
* obj4
= 0 ;
27621 char * kwnames
[] = {
27622 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27630 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27632 if (!SWIG_IsOK(res2
)) {
27633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27636 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27637 if (!SWIG_IsOK(res3
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27643 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27646 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27650 if (!SWIG_IsOK(ecode5
)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27653 arg5
= static_cast< int >(val5
);
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= SWIG_Py_Void();
27668 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
= 0;
27670 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27671 wxWindow
*arg2
= (wxWindow
*) 0 ;
27674 int arg5
= (int) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 PyObject
* obj2
= 0 ;
27687 PyObject
* obj3
= 0 ;
27688 PyObject
* obj4
= 0 ;
27689 char * kwnames
[] = {
27690 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27698 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27700 if (!SWIG_IsOK(res2
)) {
27701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27704 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27705 if (!SWIG_IsOK(res3
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27711 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27714 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27717 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27718 if (!SWIG_IsOK(ecode5
)) {
27719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27721 arg5
= static_cast< int >(val5
);
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= SWIG_Py_Void();
27736 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
= 0;
27738 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27739 wxWindow
*arg2
= (wxWindow
*) 0 ;
27743 wxOrientation arg6
;
27744 int arg7
= (int) 0 ;
27758 PyObject
* obj0
= 0 ;
27759 PyObject
* obj1
= 0 ;
27760 PyObject
* obj2
= 0 ;
27761 PyObject
* obj3
= 0 ;
27762 PyObject
* obj4
= 0 ;
27763 PyObject
* obj5
= 0 ;
27764 PyObject
* obj6
= 0 ;
27765 char * kwnames
[] = {
27766 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27771 if (!SWIG_IsOK(res1
)) {
27772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27774 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27776 if (!SWIG_IsOK(res2
)) {
27777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27781 if (!SWIG_IsOK(res3
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27787 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27793 if (!SWIG_IsOK(ecode5
)) {
27794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27796 arg5
= static_cast< int >(val5
);
27797 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27798 if (!SWIG_IsOK(ecode6
)) {
27799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27801 arg6
= static_cast< wxOrientation
>(val6
);
27803 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27804 if (!SWIG_IsOK(ecode7
)) {
27805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27807 arg7
= static_cast< int >(val7
);
27810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_Py_Void();
27822 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
= 0;
27824 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27825 wxWindow
*arg2
= (wxWindow
*) 0 ;
27828 int arg5
= (int) 0 ;
27838 PyObject
* obj0
= 0 ;
27839 PyObject
* obj1
= 0 ;
27840 PyObject
* obj2
= 0 ;
27841 PyObject
* obj3
= 0 ;
27842 PyObject
* obj4
= 0 ;
27843 char * kwnames
[] = {
27844 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27849 if (!SWIG_IsOK(res1
)) {
27850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27852 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27854 if (!SWIG_IsOK(res2
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27858 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27859 if (!SWIG_IsOK(res3
)) {
27860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27865 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27868 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27871 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27872 if (!SWIG_IsOK(ecode5
)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27875 arg5
= static_cast< int >(val5
);
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= SWIG_Py_Void();
27890 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
= 0;
27892 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27893 wxWindow
*arg2
= (wxWindow
*) 0 ;
27896 int arg5
= (int) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 PyObject
* obj1
= 0 ;
27908 PyObject
* obj2
= 0 ;
27909 PyObject
* obj3
= 0 ;
27910 PyObject
* obj4
= 0 ;
27911 char * kwnames
[] = {
27912 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27920 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27922 if (!SWIG_IsOK(res2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27927 if (!SWIG_IsOK(res3
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27933 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27936 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27940 if (!SWIG_IsOK(ecode5
)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27943 arg5
= static_cast< int >(val5
);
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= SWIG_Py_Void();
27958 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
= 0;
27960 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27961 wxWindow
*arg2
= (wxWindow
*) 0 ;
27964 int arg5
= (int) 0 ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 PyObject
* obj2
= 0 ;
27977 PyObject
* obj3
= 0 ;
27978 PyObject
* obj4
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27988 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27990 if (!SWIG_IsOK(res2
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27995 if (!SWIG_IsOK(res3
)) {
27996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
28001 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28004 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28007 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28008 if (!SWIG_IsOK(ecode5
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
28011 arg5
= static_cast< int >(val5
);
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_Py_Void();
28026 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
= 0;
28028 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28029 wxWindow
*arg2
= (wxWindow
*) 0 ;
28032 int arg5
= (int) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 PyObject
* obj2
= 0 ;
28045 PyObject
* obj3
= 0 ;
28046 PyObject
* obj4
= 0 ;
28047 char * kwnames
[] = {
28048 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28053 if (!SWIG_IsOK(res1
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28056 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28058 if (!SWIG_IsOK(res2
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28062 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28063 if (!SWIG_IsOK(res3
)) {
28064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28069 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28072 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28076 if (!SWIG_IsOK(ecode5
)) {
28077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
28079 arg5
= static_cast< int >(val5
);
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
= 0;
28096 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28097 wxWindow
*arg2
= (wxWindow
*) 0 ;
28100 int arg5
= (int) 0 ;
28110 PyObject
* obj0
= 0 ;
28111 PyObject
* obj1
= 0 ;
28112 PyObject
* obj2
= 0 ;
28113 PyObject
* obj3
= 0 ;
28114 PyObject
* obj4
= 0 ;
28115 char * kwnames
[] = {
28116 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28121 if (!SWIG_IsOK(res1
)) {
28122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28124 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28126 if (!SWIG_IsOK(res2
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28130 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28131 if (!SWIG_IsOK(res3
)) {
28132 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28137 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28140 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28144 if (!SWIG_IsOK(ecode5
)) {
28145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28147 arg5
= static_cast< int >(val5
);
28150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28151 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= SWIG_Py_Void();
28162 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
= 0;
28164 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28165 wxWindow
*arg2
= (wxWindow
*) 0 ;
28166 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28171 PyObject
* obj0
= 0 ;
28172 PyObject
* obj1
= 0 ;
28173 char * kwnames
[] = {
28174 (char *) "self",(char *) "win", NULL
28177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28179 if (!SWIG_IsOK(res1
)) {
28180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28182 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28184 if (!SWIG_IsOK(res2
)) {
28185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28201 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxRendererNative
*result
= 0 ;
28205 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28207 if (!wxPyCheckForApp()) SWIG_fail
;
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28211 result
= (wxRendererNative
*) &_result_ref
;
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28223 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxRendererNative
*result
= 0 ;
28227 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28229 if (!wxPyCheckForApp()) SWIG_fail
;
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28233 result
= (wxRendererNative
*) &_result_ref
;
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28245 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28246 PyObject
*resultobj
= 0;
28247 wxRendererNative
*result
= 0 ;
28249 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28251 if (!wxPyCheckForApp()) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
28255 result
= (wxRendererNative
*) &_result_ref
;
28257 wxPyEndAllowThreads(__tstate
);
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28267 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28268 PyObject
*resultobj
= 0;
28269 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28270 wxRendererNative
*result
= 0 ;
28273 PyObject
* obj0
= 0 ;
28274 char * kwnames
[] = {
28275 (char *) "renderer", NULL
28278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28280 if (!SWIG_IsOK(res1
)) {
28281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28283 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28285 if (!wxPyCheckForApp()) SWIG_fail
;
28286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28287 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28288 wxPyEndAllowThreads(__tstate
);
28289 if (PyErr_Occurred()) SWIG_fail
;
28291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28298 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28299 PyObject
*resultobj
= 0;
28300 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28301 SwigValueWrapper
<wxRendererVersion
> result
;
28304 PyObject
*swig_obj
[1] ;
28306 if (!args
) SWIG_fail
;
28307 swig_obj
[0] = args
;
28308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28309 if (!SWIG_IsOK(res1
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28312 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28326 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28329 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28330 return SWIG_Py_Void();
28333 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28334 PyObject
*resultobj
= 0;
28335 wxPseudoDC
*result
= 0 ;
28337 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxPseudoDC
*)new wxPseudoDC();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28351 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28352 PyObject
*resultobj
= 0;
28353 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28356 PyObject
*swig_obj
[1] ;
28358 if (!args
) SWIG_fail
;
28359 swig_obj
[0] = args
;
28360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 (arg1
)->BeginDrawing();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= SWIG_Py_Void();
28378 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28379 PyObject
*resultobj
= 0;
28380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28383 PyObject
*swig_obj
[1] ;
28385 if (!args
) SWIG_fail
;
28386 swig_obj
[0] = args
;
28387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 (arg1
)->EndDrawing();
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= SWIG_Py_Void();
28405 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28406 PyObject
*resultobj
= 0;
28407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28410 PyObject
*swig_obj
[1] ;
28412 if (!args
) SWIG_fail
;
28413 swig_obj
[0] = args
;
28414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 resultobj
= SWIG_Py_Void();
28433 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28434 PyObject
*resultobj
= 0;
28435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28438 PyObject
*swig_obj
[1] ;
28440 if (!args
) SWIG_fail
;
28441 swig_obj
[0] = args
;
28442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28443 if (!SWIG_IsOK(res1
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 (arg1
)->RemoveAll();
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= SWIG_Py_Void();
28460 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28461 PyObject
*resultobj
= 0;
28462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28466 PyObject
*swig_obj
[1] ;
28468 if (!args
) SWIG_fail
;
28469 swig_obj
[0] = args
;
28470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28471 if (!SWIG_IsOK(res1
)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28474 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 result
= (int)(arg1
)->GetLen();
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= SWIG_From_int(static_cast< int >(result
));
28488 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
= 0;
28490 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 char * kwnames
[] = {
28499 (char *) "self",(char *) "id", NULL
28502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28504 if (!SWIG_IsOK(res1
)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28509 if (!SWIG_IsOK(ecode2
)) {
28510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28512 arg2
= static_cast< int >(val2
);
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 (arg1
)->SetId(arg2
);
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= SWIG_Py_Void();
28526 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28527 PyObject
*resultobj
= 0;
28528 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 char * kwnames
[] = {
28537 (char *) "self",(char *) "id", NULL
28540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28545 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28547 if (!SWIG_IsOK(ecode2
)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28550 arg2
= static_cast< int >(val2
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 (arg1
)->ClearId(arg2
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= SWIG_Py_Void();
28564 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
= 0;
28566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28572 PyObject
* obj0
= 0 ;
28573 PyObject
* obj1
= 0 ;
28574 char * kwnames
[] = {
28575 (char *) "self",(char *) "id", NULL
28578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28585 if (!SWIG_IsOK(ecode2
)) {
28586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28588 arg2
= static_cast< int >(val2
);
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 (arg1
)->RemoveId(arg2
);
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28595 resultobj
= SWIG_Py_Void();
28602 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
= 0;
28604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 PyObject
* obj2
= 0 ;
28619 PyObject
* obj3
= 0 ;
28620 char * kwnames
[] = {
28621 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28631 if (!SWIG_IsOK(ecode2
)) {
28632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28634 arg2
= static_cast< int >(val2
);
28635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28636 if (!SWIG_IsOK(ecode3
)) {
28637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28639 arg3
= static_cast< int >(val3
);
28640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28641 if (!SWIG_IsOK(ecode4
)) {
28642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28644 arg4
= static_cast< int >(val4
);
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28648 wxPyEndAllowThreads(__tstate
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= SWIG_Py_Void();
28658 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
= 0;
28660 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28662 wxDC
*arg3
= (wxDC
*) 0 ;
28669 PyObject
* obj0
= 0 ;
28670 PyObject
* obj1
= 0 ;
28671 PyObject
* obj2
= 0 ;
28672 char * kwnames
[] = {
28673 (char *) "self",(char *) "id",(char *) "dc", NULL
28676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28678 if (!SWIG_IsOK(res1
)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28681 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28683 if (!SWIG_IsOK(ecode2
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28686 arg2
= static_cast< int >(val2
);
28687 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28688 if (!SWIG_IsOK(res3
)) {
28689 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28691 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28694 (arg1
)->DrawIdToDC(arg2
,arg3
);
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= SWIG_Py_Void();
28705 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
= 0;
28707 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28715 PyObject
* obj0
= 0 ;
28716 PyObject
* obj1
= 0 ;
28717 PyObject
* obj2
= 0 ;
28718 char * kwnames
[] = {
28719 (char *) "self",(char *) "id",(char *) "rect", NULL
28722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28727 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28729 if (!SWIG_IsOK(ecode2
)) {
28730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28732 arg2
= static_cast< int >(val2
);
28735 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 (arg1
)->SetIdBounds(arg2
,*arg3
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_Py_Void();
28750 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
= 0;
28752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28759 PyObject
* obj0
= 0 ;
28760 PyObject
* obj1
= 0 ;
28761 char * kwnames
[] = {
28762 (char *) "self",(char *) "id", NULL
28765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28767 if (!SWIG_IsOK(res1
)) {
28768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28770 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28772 if (!SWIG_IsOK(ecode2
)) {
28773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28775 arg2
= static_cast< int >(val2
);
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28789 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
= 0;
28791 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28792 wxDC
*arg2
= (wxDC
*) 0 ;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 char * kwnames
[] = {
28803 (char *) "self",(char *) "dc",(char *) "rect", NULL
28806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28808 if (!SWIG_IsOK(res1
)) {
28809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28813 if (!SWIG_IsOK(res2
)) {
28814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28816 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28819 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_Py_Void();
28834 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
= 0;
28836 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28837 wxDC
*arg2
= (wxDC
*) 0 ;
28838 wxRegion
*arg3
= 0 ;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 PyObject
* obj2
= 0 ;
28848 char * kwnames
[] = {
28849 (char *) "self",(char *) "dc",(char *) "region", NULL
28852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28854 if (!SWIG_IsOK(res1
)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28857 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28859 if (!SWIG_IsOK(res2
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28862 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28863 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28864 if (!SWIG_IsOK(res3
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28870 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_Py_Void();
28884 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
= 0;
28886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28887 wxDC
*arg2
= (wxDC
*) 0 ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char * kwnames
[] = {
28895 (char *) "self",(char *) "dc", NULL
28898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28900 if (!SWIG_IsOK(res1
)) {
28901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28903 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28905 if (!SWIG_IsOK(res2
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28908 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->DrawToDC(arg2
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= SWIG_Py_Void();
28922 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28923 PyObject
*resultobj
= 0;
28924 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28927 wxColour
*arg4
= 0 ;
28928 int arg5
= (int) wxFLOOD_SURFACE
;
28938 PyObject
* obj0
= 0 ;
28939 PyObject
* obj1
= 0 ;
28940 PyObject
* obj2
= 0 ;
28941 PyObject
* obj3
= 0 ;
28942 PyObject
* obj4
= 0 ;
28943 char * kwnames
[] = {
28944 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28949 if (!SWIG_IsOK(res1
)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28954 if (!SWIG_IsOK(ecode2
)) {
28955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28957 arg2
= static_cast< int >(val2
);
28958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28959 if (!SWIG_IsOK(ecode3
)) {
28960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28962 arg3
= static_cast< int >(val3
);
28965 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28968 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28969 if (!SWIG_IsOK(ecode5
)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28972 arg5
= static_cast< int >(val5
);
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= SWIG_Py_Void();
28987 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
= 0;
28989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28990 wxPoint
*arg2
= 0 ;
28991 wxColour
*arg3
= 0 ;
28992 int arg4
= (int) wxFLOOD_SURFACE
;
28999 PyObject
* obj0
= 0 ;
29000 PyObject
* obj1
= 0 ;
29001 PyObject
* obj2
= 0 ;
29002 PyObject
* obj3
= 0 ;
29003 char * kwnames
[] = {
29004 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
29007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29009 if (!SWIG_IsOK(res1
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29012 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29015 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29019 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29023 if (!SWIG_IsOK(ecode4
)) {
29024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
29026 arg4
= static_cast< int >(val4
);
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_Py_Void();
29041 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
= 0;
29043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29058 PyObject
* obj0
= 0 ;
29059 PyObject
* obj1
= 0 ;
29060 PyObject
* obj2
= 0 ;
29061 PyObject
* obj3
= 0 ;
29062 PyObject
* obj4
= 0 ;
29063 char * kwnames
[] = {
29064 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29072 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29074 if (!SWIG_IsOK(ecode2
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
29077 arg2
= static_cast< int >(val2
);
29078 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29079 if (!SWIG_IsOK(ecode3
)) {
29080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
29082 arg3
= static_cast< int >(val3
);
29083 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29084 if (!SWIG_IsOK(ecode4
)) {
29085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
29087 arg4
= static_cast< int >(val4
);
29088 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29089 if (!SWIG_IsOK(ecode5
)) {
29090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
29092 arg5
= static_cast< int >(val5
);
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_Py_Void();
29106 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29108 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29109 wxPoint
*arg2
= 0 ;
29110 wxPoint
*arg3
= 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 PyObject
* obj2
= 0 ;
29118 char * kwnames
[] = {
29119 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29124 if (!SWIG_IsOK(res1
)) {
29125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= SWIG_Py_Void();
29149 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
= 0;
29151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29160 PyObject
* obj0
= 0 ;
29161 PyObject
* obj1
= 0 ;
29162 PyObject
* obj2
= 0 ;
29163 char * kwnames
[] = {
29164 (char *) "self",(char *) "x",(char *) "y", NULL
29167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29169 if (!SWIG_IsOK(res1
)) {
29170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29172 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29174 if (!SWIG_IsOK(ecode2
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29177 arg2
= static_cast< int >(val2
);
29178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29179 if (!SWIG_IsOK(ecode3
)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29182 arg3
= static_cast< int >(val3
);
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->CrossHair(arg2
,arg3
);
29186 wxPyEndAllowThreads(__tstate
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29189 resultobj
= SWIG_Py_Void();
29196 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
= 0;
29198 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29199 wxPoint
*arg2
= 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "pt", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29214 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_Py_Void();
29232 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29255 PyObject
* obj0
= 0 ;
29256 PyObject
* obj1
= 0 ;
29257 PyObject
* obj2
= 0 ;
29258 PyObject
* obj3
= 0 ;
29259 PyObject
* obj4
= 0 ;
29260 PyObject
* obj5
= 0 ;
29261 PyObject
* obj6
= 0 ;
29262 char * kwnames
[] = {
29263 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29268 if (!SWIG_IsOK(res1
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29271 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29273 if (!SWIG_IsOK(ecode2
)) {
29274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29276 arg2
= static_cast< int >(val2
);
29277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29278 if (!SWIG_IsOK(ecode3
)) {
29279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29281 arg3
= static_cast< int >(val3
);
29282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29283 if (!SWIG_IsOK(ecode4
)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29286 arg4
= static_cast< int >(val4
);
29287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29288 if (!SWIG_IsOK(ecode5
)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29291 arg5
= static_cast< int >(val5
);
29292 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29293 if (!SWIG_IsOK(ecode6
)) {
29294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29296 arg6
= static_cast< int >(val6
);
29297 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29298 if (!SWIG_IsOK(ecode7
)) {
29299 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29301 arg7
= static_cast< int >(val7
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_Py_Void();
29315 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29318 wxPoint
*arg2
= 0 ;
29319 wxPoint
*arg3
= 0 ;
29320 wxPoint
*arg4
= 0 ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 PyObject
* obj3
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29339 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29350 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29355 wxPyEndAllowThreads(__tstate
);
29356 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= SWIG_Py_Void();
29365 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29366 PyObject
*resultobj
= 0;
29367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29382 PyObject
* obj0
= 0 ;
29383 PyObject
* obj1
= 0 ;
29384 PyObject
* obj2
= 0 ;
29385 PyObject
* obj3
= 0 ;
29386 PyObject
* obj4
= 0 ;
29387 char * kwnames
[] = {
29388 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29398 if (!SWIG_IsOK(ecode2
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29401 arg2
= static_cast< int >(val2
);
29402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29403 if (!SWIG_IsOK(ecode3
)) {
29404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29406 arg3
= static_cast< int >(val3
);
29407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29408 if (!SWIG_IsOK(ecode4
)) {
29409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29411 arg4
= static_cast< int >(val4
);
29412 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29413 if (!SWIG_IsOK(ecode5
)) {
29414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29416 arg5
= static_cast< int >(val5
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_Py_Void();
29430 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29437 PyObject
* obj0
= 0 ;
29438 PyObject
* obj1
= 0 ;
29439 char * kwnames
[] = {
29440 (char *) "self",(char *) "rect", NULL
29443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29448 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29451 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29455 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_Py_Void();
29466 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
= 0;
29468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29489 PyObject
* obj0
= 0 ;
29490 PyObject
* obj1
= 0 ;
29491 PyObject
* obj2
= 0 ;
29492 PyObject
* obj3
= 0 ;
29493 PyObject
* obj4
= 0 ;
29494 PyObject
* obj5
= 0 ;
29495 PyObject
* obj6
= 0 ;
29496 char * kwnames
[] = {
29497 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29505 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29507 if (!SWIG_IsOK(ecode2
)) {
29508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29510 arg2
= static_cast< int >(val2
);
29511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29512 if (!SWIG_IsOK(ecode3
)) {
29513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29515 arg3
= static_cast< int >(val3
);
29516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29517 if (!SWIG_IsOK(ecode4
)) {
29518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29520 arg4
= static_cast< int >(val4
);
29521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29522 if (!SWIG_IsOK(ecode5
)) {
29523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29525 arg5
= static_cast< int >(val5
);
29526 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29527 if (!SWIG_IsOK(ecode6
)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29530 arg6
= static_cast< double >(val6
);
29531 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29532 if (!SWIG_IsOK(ecode7
)) {
29533 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29535 arg7
= static_cast< double >(val7
);
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_Py_Void();
29549 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
= 0;
29551 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29552 wxPoint
*arg2
= 0 ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 PyObject
* obj2
= 0 ;
29567 PyObject
* obj3
= 0 ;
29568 PyObject
* obj4
= 0 ;
29569 char * kwnames
[] = {
29570 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29575 if (!SWIG_IsOK(res1
)) {
29576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29585 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29587 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29588 if (!SWIG_IsOK(ecode4
)) {
29589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29591 arg4
= static_cast< double >(val4
);
29592 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29593 if (!SWIG_IsOK(ecode5
)) {
29594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29596 arg5
= static_cast< double >(val5
);
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29600 wxPyEndAllowThreads(__tstate
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= SWIG_Py_Void();
29610 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
= 0;
29612 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29621 PyObject
* obj0
= 0 ;
29622 PyObject
* obj1
= 0 ;
29623 PyObject
* obj2
= 0 ;
29624 char * kwnames
[] = {
29625 (char *) "self",(char *) "x",(char *) "y", NULL
29628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29630 if (!SWIG_IsOK(res1
)) {
29631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29633 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29635 if (!SWIG_IsOK(ecode2
)) {
29636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29638 arg2
= static_cast< int >(val2
);
29639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29640 if (!SWIG_IsOK(ecode3
)) {
29641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29643 arg3
= static_cast< int >(val3
);
29645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29646 (arg1
)->DrawPoint(arg2
,arg3
);
29647 wxPyEndAllowThreads(__tstate
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= SWIG_Py_Void();
29657 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
= 0;
29659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29660 wxPoint
*arg2
= 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "pt", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29675 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29710 PyObject
* obj0
= 0 ;
29711 PyObject
* obj1
= 0 ;
29712 PyObject
* obj2
= 0 ;
29713 PyObject
* obj3
= 0 ;
29714 PyObject
* obj4
= 0 ;
29715 char * kwnames
[] = {
29716 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29721 if (!SWIG_IsOK(res1
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29726 if (!SWIG_IsOK(ecode2
)) {
29727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29729 arg2
= static_cast< int >(val2
);
29730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29731 if (!SWIG_IsOK(ecode3
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29734 arg3
= static_cast< int >(val3
);
29735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29736 if (!SWIG_IsOK(ecode4
)) {
29737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29739 arg4
= static_cast< int >(val4
);
29740 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29741 if (!SWIG_IsOK(ecode5
)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29744 arg5
= static_cast< int >(val5
);
29746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29747 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= SWIG_Py_Void();
29758 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29765 PyObject
* obj0
= 0 ;
29766 PyObject
* obj1
= 0 ;
29767 char * kwnames
[] = {
29768 (char *) "self",(char *) "rect", NULL
29771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29773 if (!SWIG_IsOK(res1
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29776 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29779 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= SWIG_Py_Void();
29794 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
= 0;
29796 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29797 wxPoint
*arg2
= 0 ;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 PyObject
* obj2
= 0 ;
29806 char * kwnames
[] = {
29807 (char *) "self",(char *) "pt",(char *) "sz", NULL
29810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29815 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29818 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29822 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_Py_Void();
29837 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29838 PyObject
*resultobj
= 0;
29839 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29857 PyObject
* obj0
= 0 ;
29858 PyObject
* obj1
= 0 ;
29859 PyObject
* obj2
= 0 ;
29860 PyObject
* obj3
= 0 ;
29861 PyObject
* obj4
= 0 ;
29862 PyObject
* obj5
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29872 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29874 if (!SWIG_IsOK(ecode2
)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29877 arg2
= static_cast< int >(val2
);
29878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29879 if (!SWIG_IsOK(ecode3
)) {
29880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29882 arg3
= static_cast< int >(val3
);
29883 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29884 if (!SWIG_IsOK(ecode4
)) {
29885 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29887 arg4
= static_cast< int >(val4
);
29888 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29889 if (!SWIG_IsOK(ecode5
)) {
29890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29892 arg5
= static_cast< int >(val5
);
29893 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29894 if (!SWIG_IsOK(ecode6
)) {
29895 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29897 arg6
= static_cast< double >(val6
);
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_Py_Void();
29911 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29921 PyObject
* obj0
= 0 ;
29922 PyObject
* obj1
= 0 ;
29923 PyObject
* obj2
= 0 ;
29924 char * kwnames
[] = {
29925 (char *) "self",(char *) "r",(char *) "radius", NULL
29928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29930 if (!SWIG_IsOK(res1
)) {
29931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29938 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29939 if (!SWIG_IsOK(ecode3
)) {
29940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29942 arg3
= static_cast< double >(val3
);
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= SWIG_Py_Void();
29956 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
= 0;
29958 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29959 wxPoint
*arg2
= 0 ;
29968 PyObject
* obj0
= 0 ;
29969 PyObject
* obj1
= 0 ;
29970 PyObject
* obj2
= 0 ;
29971 PyObject
* obj3
= 0 ;
29972 char * kwnames
[] = {
29973 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29978 if (!SWIG_IsOK(res1
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29981 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29988 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29990 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29991 if (!SWIG_IsOK(ecode4
)) {
29992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29994 arg4
= static_cast< double >(val4
);
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_Py_Void();
30008 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
= 0;
30010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30022 PyObject
* obj0
= 0 ;
30023 PyObject
* obj1
= 0 ;
30024 PyObject
* obj2
= 0 ;
30025 PyObject
* obj3
= 0 ;
30026 char * kwnames
[] = {
30027 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
30030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30032 if (!SWIG_IsOK(res1
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30037 if (!SWIG_IsOK(ecode2
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
30040 arg2
= static_cast< int >(val2
);
30041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30042 if (!SWIG_IsOK(ecode3
)) {
30043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
30045 arg3
= static_cast< int >(val3
);
30046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30047 if (!SWIG_IsOK(ecode4
)) {
30048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
30050 arg4
= static_cast< int >(val4
);
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30053 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= SWIG_Py_Void();
30064 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
= 0;
30066 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30067 wxPoint
*arg2
= 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 PyObject
* obj2
= 0 ;
30077 char * kwnames
[] = {
30078 (char *) "self",(char *) "pt",(char *) "radius", NULL
30081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30083 if (!SWIG_IsOK(res1
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30092 if (!SWIG_IsOK(ecode3
)) {
30093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
30095 arg3
= static_cast< int >(val3
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_Py_Void();
30109 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= 0;
30111 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 PyObject
* obj3
= 0 ;
30130 PyObject
* obj4
= 0 ;
30131 char * kwnames
[] = {
30132 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30137 if (!SWIG_IsOK(res1
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30142 if (!SWIG_IsOK(ecode2
)) {
30143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30145 arg2
= static_cast< int >(val2
);
30146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30147 if (!SWIG_IsOK(ecode3
)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30150 arg3
= static_cast< int >(val3
);
30151 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30152 if (!SWIG_IsOK(ecode4
)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30155 arg4
= static_cast< int >(val4
);
30156 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30157 if (!SWIG_IsOK(ecode5
)) {
30158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30160 arg5
= static_cast< int >(val5
);
30162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30163 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= SWIG_Py_Void();
30174 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
= 0;
30176 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 char * kwnames
[] = {
30184 (char *) "self",(char *) "rect", NULL
30187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30195 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= SWIG_Py_Void();
30210 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
= 0;
30212 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30213 wxPoint
*arg2
= 0 ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 char * kwnames
[] = {
30223 (char *) "self",(char *) "pt",(char *) "sz", NULL
30226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30231 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30234 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30238 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_Py_Void();
30253 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
= 0;
30255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 PyObject
* obj1
= 0 ;
30269 PyObject
* obj2
= 0 ;
30270 PyObject
* obj3
= 0 ;
30271 char * kwnames
[] = {
30272 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30282 if (!SWIG_IsOK(res2
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30288 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30290 if (!SWIG_IsOK(ecode3
)) {
30291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30293 arg3
= static_cast< int >(val3
);
30294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30295 if (!SWIG_IsOK(ecode4
)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30298 arg4
= static_cast< int >(val4
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30316 wxPoint
*arg3
= 0 ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 PyObject
* obj2
= 0 ;
30325 char * kwnames
[] = {
30326 (char *) "self",(char *) "icon",(char *) "pt", NULL
30329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30331 if (!SWIG_IsOK(res1
)) {
30332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30336 if (!SWIG_IsOK(res2
)) {
30337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30342 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= SWIG_Py_Void();
30360 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
= 0;
30362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30363 wxBitmap
*arg2
= 0 ;
30366 bool arg5
= (bool) false ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 PyObject
* obj2
= 0 ;
30380 PyObject
* obj3
= 0 ;
30381 PyObject
* obj4
= 0 ;
30382 char * kwnames
[] = {
30383 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30388 if (!SWIG_IsOK(res1
)) {
30389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30393 if (!SWIG_IsOK(res2
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30399 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30401 if (!SWIG_IsOK(ecode3
)) {
30402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30404 arg3
= static_cast< int >(val3
);
30405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30406 if (!SWIG_IsOK(ecode4
)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30409 arg4
= static_cast< int >(val4
);
30411 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30412 if (!SWIG_IsOK(ecode5
)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30415 arg5
= static_cast< bool >(val5
);
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= SWIG_Py_Void();
30430 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
= 0;
30432 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30433 wxBitmap
*arg2
= 0 ;
30434 wxPoint
*arg3
= 0 ;
30435 bool arg4
= (bool) false ;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 PyObject
* obj2
= 0 ;
30446 PyObject
* obj3
= 0 ;
30447 char * kwnames
[] = {
30448 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30453 if (!SWIG_IsOK(res1
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30458 if (!SWIG_IsOK(res2
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30464 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30470 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30471 if (!SWIG_IsOK(ecode4
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30474 arg4
= static_cast< bool >(val4
);
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_Py_Void();
30489 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30490 PyObject
*resultobj
= 0;
30491 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30492 wxString
*arg2
= 0 ;
30497 bool temp2
= false ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 PyObject
* obj3
= 0 ;
30506 char * kwnames
[] = {
30507 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30515 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30517 arg2
= wxString_in_helper(obj1
);
30518 if (arg2
== NULL
) SWIG_fail
;
30521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30522 if (!SWIG_IsOK(ecode3
)) {
30523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30525 arg3
= static_cast< int >(val3
);
30526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30527 if (!SWIG_IsOK(ecode4
)) {
30528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30530 arg4
= static_cast< int >(val4
);
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= SWIG_Py_Void();
30552 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
= 0;
30554 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30555 wxString
*arg2
= 0 ;
30556 wxPoint
*arg3
= 0 ;
30559 bool temp2
= false ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 PyObject
* obj2
= 0 ;
30564 char * kwnames
[] = {
30565 (char *) "self",(char *) "text",(char *) "pt", NULL
30568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30570 if (!SWIG_IsOK(res1
)) {
30571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30573 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30575 arg2
= wxString_in_helper(obj1
);
30576 if (arg2
== NULL
) SWIG_fail
;
30581 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_Py_Void();
30604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
= 0;
30606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30607 wxString
*arg2
= 0 ;
30613 bool temp2
= false ;
30620 PyObject
* obj0
= 0 ;
30621 PyObject
* obj1
= 0 ;
30622 PyObject
* obj2
= 0 ;
30623 PyObject
* obj3
= 0 ;
30624 PyObject
* obj4
= 0 ;
30625 char * kwnames
[] = {
30626 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30634 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30636 arg2
= wxString_in_helper(obj1
);
30637 if (arg2
== NULL
) SWIG_fail
;
30640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30641 if (!SWIG_IsOK(ecode3
)) {
30642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30644 arg3
= static_cast< int >(val3
);
30645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30646 if (!SWIG_IsOK(ecode4
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30649 arg4
= static_cast< int >(val4
);
30650 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30651 if (!SWIG_IsOK(ecode5
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30654 arg5
= static_cast< double >(val5
);
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_Py_Void();
30676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30679 wxString
*arg2
= 0 ;
30680 wxPoint
*arg3
= 0 ;
30684 bool temp2
= false ;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 PyObject
* obj2
= 0 ;
30691 PyObject
* obj3
= 0 ;
30692 char * kwnames
[] = {
30693 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30698 if (!SWIG_IsOK(res1
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30701 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30703 arg2
= wxString_in_helper(obj1
);
30704 if (arg2
== NULL
) SWIG_fail
;
30709 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30711 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30712 if (!SWIG_IsOK(ecode4
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30715 arg4
= static_cast< double >(val4
);
30717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30718 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 resultobj
= SWIG_Py_Void();
30737 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
= 0;
30739 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30741 wxPoint
*arg3
= (wxPoint
*) 0 ;
30742 int arg4
= (int) 0 ;
30743 int arg5
= (int) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 PyObject
* obj2
= 0 ;
30753 PyObject
* obj3
= 0 ;
30754 char * kwnames
[] = {
30755 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30760 if (!SWIG_IsOK(res1
)) {
30761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30765 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30766 if (arg3
== NULL
) SWIG_fail
;
30769 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30770 if (!SWIG_IsOK(ecode4
)) {
30771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30773 arg4
= static_cast< int >(val4
);
30776 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30777 if (!SWIG_IsOK(ecode5
)) {
30778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30780 arg5
= static_cast< int >(val5
);
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_Py_Void();
30790 if (arg3
) delete [] arg3
;
30795 if (arg3
) delete [] arg3
;
30801 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30802 PyObject
*resultobj
= 0;
30803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30805 wxPoint
*arg3
= (wxPoint
*) 0 ;
30806 int arg4
= (int) 0 ;
30807 int arg5
= (int) 0 ;
30808 int arg6
= (int) wxODDEVEN_RULE
;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 PyObject
* obj2
= 0 ;
30820 PyObject
* obj3
= 0 ;
30821 PyObject
* obj4
= 0 ;
30822 char * kwnames
[] = {
30823 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30828 if (!SWIG_IsOK(res1
)) {
30829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30833 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30834 if (arg3
== NULL
) SWIG_fail
;
30837 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30838 if (!SWIG_IsOK(ecode4
)) {
30839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30841 arg4
= static_cast< int >(val4
);
30844 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30845 if (!SWIG_IsOK(ecode5
)) {
30846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30848 arg5
= static_cast< int >(val5
);
30851 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30852 if (!SWIG_IsOK(ecode6
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30855 arg6
= static_cast< int >(val6
);
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30859 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30863 resultobj
= SWIG_Py_Void();
30865 if (arg3
) delete [] arg3
;
30870 if (arg3
) delete [] arg3
;
30876 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= 0;
30878 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30879 wxString
*arg2
= 0 ;
30881 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30882 int arg5
= (int) -1 ;
30885 bool temp2
= false ;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 PyObject
* obj2
= 0 ;
30894 PyObject
* obj3
= 0 ;
30895 PyObject
* obj4
= 0 ;
30896 char * kwnames
[] = {
30897 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30902 if (!SWIG_IsOK(res1
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30905 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30907 arg2
= wxString_in_helper(obj1
);
30908 if (arg2
== NULL
) SWIG_fail
;
30913 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30917 if (!SWIG_IsOK(ecode4
)) {
30918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30920 arg4
= static_cast< int >(val4
);
30923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30924 if (!SWIG_IsOK(ecode5
)) {
30925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30927 arg5
= static_cast< int >(val5
);
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_Py_Void();
30950 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
= 0;
30952 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30953 wxString
*arg2
= 0 ;
30954 wxBitmap
*arg3
= 0 ;
30956 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30957 int arg6
= (int) -1 ;
30960 bool temp2
= false ;
30968 PyObject
* obj0
= 0 ;
30969 PyObject
* obj1
= 0 ;
30970 PyObject
* obj2
= 0 ;
30971 PyObject
* obj3
= 0 ;
30972 PyObject
* obj4
= 0 ;
30973 PyObject
* obj5
= 0 ;
30974 char * kwnames
[] = {
30975 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30985 arg2
= wxString_in_helper(obj1
);
30986 if (arg2
== NULL
) SWIG_fail
;
30989 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30990 if (!SWIG_IsOK(res3
)) {
30991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30996 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30999 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31002 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31003 if (!SWIG_IsOK(ecode5
)) {
31004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
31006 arg5
= static_cast< int >(val5
);
31009 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31010 if (!SWIG_IsOK(ecode6
)) {
31011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
31013 arg6
= static_cast< int >(val6
);
31016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31017 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= SWIG_Py_Void();
31036 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31040 wxPoint
*arg3
= (wxPoint
*) 0 ;
31043 PyObject
* obj0
= 0 ;
31044 PyObject
* obj1
= 0 ;
31045 char * kwnames
[] = {
31046 (char *) "self",(char *) "points", NULL
31049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31051 if (!SWIG_IsOK(res1
)) {
31052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31056 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31057 if (arg3
== NULL
) SWIG_fail
;
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 (arg1
)->DrawSpline(arg2
,arg3
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 resultobj
= SWIG_Py_Void();
31067 if (arg3
) delete [] arg3
;
31072 if (arg3
) delete [] arg3
;
31078 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31079 PyObject
*resultobj
= 0;
31080 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31083 PyObject
*swig_obj
[1] ;
31085 if (!args
) SWIG_fail
;
31086 swig_obj
[0] = args
;
31087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31088 if (!SWIG_IsOK(res1
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31098 resultobj
= SWIG_Py_Void();
31105 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
= 0;
31107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 char * kwnames
[] = {
31116 (char *) "self",(char *) "font", NULL
31119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31126 if (!SWIG_IsOK(res2
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31132 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31135 (arg1
)->SetFont((wxFont
const &)*arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_Py_Void();
31146 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char * kwnames
[] = {
31157 (char *) "self",(char *) "pen", NULL
31160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31162 if (!SWIG_IsOK(res1
)) {
31163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31165 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31167 if (!SWIG_IsOK(res2
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31173 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31176 (arg1
)->SetPen((wxPen
const &)*arg2
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= SWIG_Py_Void();
31187 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
= 0;
31189 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31190 wxBrush
*arg2
= 0 ;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 char * kwnames
[] = {
31198 (char *) "self",(char *) "brush", NULL
31201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31206 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31208 if (!SWIG_IsOK(res2
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31214 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= SWIG_Py_Void();
31228 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31229 PyObject
*resultobj
= 0;
31230 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31231 wxBrush
*arg2
= 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char * kwnames
[] = {
31239 (char *) "self",(char *) "brush", NULL
31242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31244 if (!SWIG_IsOK(res1
)) {
31245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31249 if (!SWIG_IsOK(res2
)) {
31250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31255 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= SWIG_Py_Void();
31269 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
= 0;
31271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31277 PyObject
* obj0
= 0 ;
31278 PyObject
* obj1
= 0 ;
31279 char * kwnames
[] = {
31280 (char *) "self",(char *) "mode", NULL
31283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31290 if (!SWIG_IsOK(ecode2
)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31293 arg2
= static_cast< int >(val2
);
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->SetBackgroundMode(arg2
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_Py_Void();
31307 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
= 0;
31309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31310 wxPalette
*arg2
= 0 ;
31315 PyObject
* obj0
= 0 ;
31316 PyObject
* obj1
= 0 ;
31317 char * kwnames
[] = {
31318 (char *) "self",(char *) "palette", NULL
31321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31323 if (!SWIG_IsOK(res1
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31326 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31328 if (!SWIG_IsOK(res2
)) {
31329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31334 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31341 resultobj
= SWIG_Py_Void();
31348 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31349 PyObject
*resultobj
= 0;
31350 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31351 wxColour
*arg2
= 0 ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 char * kwnames
[] = {
31358 (char *) "self",(char *) "colour", NULL
31361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31363 if (!SWIG_IsOK(res1
)) {
31364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31366 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_Py_Void();
31384 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
= 0;
31386 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31387 wxColour
*arg2
= 0 ;
31391 PyObject
* obj0
= 0 ;
31392 PyObject
* obj1
= 0 ;
31393 char * kwnames
[] = {
31394 (char *) "self",(char *) "colour", NULL
31397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31399 if (!SWIG_IsOK(res1
)) {
31400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31402 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_Py_Void();
31420 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31428 PyObject
* obj0
= 0 ;
31429 PyObject
* obj1
= 0 ;
31430 char * kwnames
[] = {
31431 (char *) "self",(char *) "function", NULL
31434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31436 if (!SWIG_IsOK(res1
)) {
31437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31441 if (!SWIG_IsOK(ecode2
)) {
31442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31444 arg2
= static_cast< int >(val2
);
31446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31447 (arg1
)->SetLogicalFunction(arg2
);
31448 wxPyEndAllowThreads(__tstate
);
31449 if (PyErr_Occurred()) SWIG_fail
;
31451 resultobj
= SWIG_Py_Void();
31458 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31461 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31462 return SWIG_Py_Void();
31465 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31466 return SWIG_Python_InitShadowInstance(args
);
31469 static PyMethodDef SwigMethods
[] = {
31470 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31471 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31472 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31473 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31474 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31475 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31479 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31480 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31481 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31482 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31483 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31484 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31489 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31493 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31495 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31497 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31500 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31501 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31502 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31503 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31505 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31506 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31507 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31508 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31509 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31510 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31511 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31518 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
31520 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
31521 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31525 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31526 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31529 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31533 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31534 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31535 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31536 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31537 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31538 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31539 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31541 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
31547 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31549 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31550 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31551 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31552 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31553 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31554 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31555 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31561 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31571 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31572 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31576 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31577 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31578 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31579 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31580 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31581 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31582 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31583 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31584 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31585 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31586 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31587 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31588 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31589 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31590 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31592 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31593 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31599 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31600 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31601 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31602 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31603 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31604 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31605 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31606 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31607 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31608 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31609 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31610 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31612 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31613 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31619 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31620 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31621 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31623 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31624 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31625 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31627 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31628 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
31633 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31635 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31636 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31637 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31638 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31645 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31647 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31648 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31650 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31652 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31653 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31654 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31655 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31658 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31662 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31663 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31665 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
31668 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31670 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
31671 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
31672 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
31673 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31678 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31679 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31684 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31685 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31691 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31695 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31705 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31708 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31709 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31711 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31712 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31713 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31714 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31715 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31716 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31717 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31718 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31719 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31720 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31721 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31722 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31724 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31725 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31726 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31727 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31729 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
31730 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31731 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31732 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31733 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31734 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31735 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31736 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31746 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31747 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31749 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31751 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31752 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31753 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31754 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31755 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31756 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31757 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31759 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31760 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31761 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31764 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31765 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31766 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31769 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31775 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31781 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31783 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31789 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31792 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31793 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31794 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31795 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31796 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31797 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31798 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31799 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31800 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31801 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31802 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31803 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31804 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31816 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31817 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31818 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31820 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31821 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31823 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31824 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31825 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31826 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31830 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31831 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31834 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31835 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31836 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31837 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31838 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31839 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31840 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31843 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31846 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31847 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31848 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31849 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31850 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31851 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31852 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31853 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31862 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31863 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31864 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31866 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31871 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31872 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31873 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31874 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31875 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31881 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31882 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31883 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31932 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31934 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31935 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31936 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31943 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31944 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31945 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31946 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31947 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31952 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31953 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31954 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31955 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31964 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31965 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31966 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31967 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31968 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31969 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31970 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31971 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31972 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31973 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31974 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31975 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31978 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31980 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31982 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31984 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31985 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31988 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31989 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31993 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31995 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31998 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31999 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
32000 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
32001 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
32002 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
32003 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
32004 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
32011 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
32012 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
32015 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
32016 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
32017 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
32018 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
32019 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
32020 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
32021 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
32024 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
32025 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
32028 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
32029 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
32030 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
32032 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
32033 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
32035 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
32036 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
32038 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
32039 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
32041 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
32042 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
32044 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
32047 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
32051 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
32052 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
32054 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
32055 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
32056 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
32057 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
32058 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
32059 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
32061 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
32062 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
32063 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
32065 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
32066 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
32068 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
32076 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
32078 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
32080 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
32081 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
32082 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
32083 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
32084 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
32085 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
32091 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
32092 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
32093 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
32094 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
32095 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
32096 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
32100 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
32104 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
32109 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
32110 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
32116 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
32117 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
32118 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
32119 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
32120 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
32121 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
32122 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
32123 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
32124 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
32125 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
32126 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
32135 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
32136 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
32138 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
32139 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
32140 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
32141 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32142 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32143 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32145 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32147 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32148 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32149 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32150 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32161 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32162 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32163 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32165 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32166 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32167 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32168 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32169 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32170 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32171 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32172 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32221 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32231 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32232 { NULL
, NULL
, 0, NULL
}
32236 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32238 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32239 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32241 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32242 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32244 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32245 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32247 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32248 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32250 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32251 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32253 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32254 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32256 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32257 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32259 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32260 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32262 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32263 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32265 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32266 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32268 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32269 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32271 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32272 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32274 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32275 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32277 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32278 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32280 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32281 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32283 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32284 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32286 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32287 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32289 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32290 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32292 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32293 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32295 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32296 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32298 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32299 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32301 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32302 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32304 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32305 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32307 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32308 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32310 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32311 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32313 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32314 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32316 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32319 static void *_p_wxPenTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32322 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32325 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32328 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32331 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32334 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32337 static void *_p_wxIconTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32340 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32343 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32346 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) ((wxSizer
*) x
));
32349 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32352 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32355 static void *_p_wxEventTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) ((wxEvent
*) x
));
32358 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32361 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32364 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32367 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32370 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32373 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32376 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32379 static void *_p_wxDCTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) ((wxDC
*) x
));
32382 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32385 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32388 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32391 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32394 static void *_p_wxControlTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32397 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32400 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32403 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32406 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32409 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32412 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32415 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32418 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32421 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) ((wxEffects
*) x
));
32424 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32427 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32430 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32433 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32436 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32439 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32442 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32445 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32448 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32451 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32452 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32454 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32455 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32457 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32458 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32460 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32461 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32463 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32464 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32466 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32469 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32472 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32475 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32478 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32481 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32484 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32487 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32490 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32493 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32496 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32499 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32502 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32505 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32508 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32511 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32514 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32517 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32520 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32523 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32526 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32529 static void *_p_wxImageTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) ((wxImage
*) x
));
32532 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32535 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32538 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32541 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) ((wxImageList
*) x
));
32544 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32547 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32550 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32553 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32556 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32559 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32562 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32565 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32568 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32571 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32574 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32577 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32580 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) ((wxMask
*) x
));
32583 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32586 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32589 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32592 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32595 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32598 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32601 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32604 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32607 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32610 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32613 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32616 static void *_p_wxFontTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32619 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32622 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32625 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32628 static void *_p_wxColourTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) ((wxColour
*) x
));
32631 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32634 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32637 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32638 return (void *)((wxWindow
*) ((wxControl
*) x
));
32640 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32641 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32643 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32644 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32646 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32647 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32649 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32650 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32652 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32655 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};
32656 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32670 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32677 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32678 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32679 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32680 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32681 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32692 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32694 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32696 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32697 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32698 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32699 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32703 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32704 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32705 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32709 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32710 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32711 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32712 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32722 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32723 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32724 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32753 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32754 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32755 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32756 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32757 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32758 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32759 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32760 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32761 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32762 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32763 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32764 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32765 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32766 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32767 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32768 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32769 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32770 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32771 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32772 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32773 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32774 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32775 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32801 static swig_type_info
*swig_type_initial
[] = {
32805 &_swigt__p_form_ops_t
,
32807 &_swigt__p_unsigned_char
,
32808 &_swigt__p_unsigned_int
,
32809 &_swigt__p_unsigned_long
,
32810 &_swigt__p_wxANIHandler
,
32811 &_swigt__p_wxAcceleratorTable
,
32812 &_swigt__p_wxActivateEvent
,
32813 &_swigt__p_wxAlphaPixelData
,
32814 &_swigt__p_wxAlphaPixelData_Accessor
,
32815 &_swigt__p_wxBMPHandler
,
32816 &_swigt__p_wxBitmap
,
32817 &_swigt__p_wxBoxSizer
,
32818 &_swigt__p_wxBrush
,
32819 &_swigt__p_wxBrushList
,
32820 &_swigt__p_wxBufferedDC
,
32821 &_swigt__p_wxBufferedPaintDC
,
32822 &_swigt__p_wxCURHandler
,
32824 &_swigt__p_wxChildFocusEvent
,
32825 &_swigt__p_wxClientDC
,
32826 &_swigt__p_wxClipboardTextEvent
,
32827 &_swigt__p_wxCloseEvent
,
32828 &_swigt__p_wxColour
,
32829 &_swigt__p_wxColourDatabase
,
32830 &_swigt__p_wxCommandEvent
,
32831 &_swigt__p_wxContextMenuEvent
,
32832 &_swigt__p_wxControl
,
32833 &_swigt__p_wxControlWithItems
,
32834 &_swigt__p_wxCursor
,
32837 &_swigt__p_wxDateEvent
,
32838 &_swigt__p_wxDisplayChangedEvent
,
32839 &_swigt__p_wxDropFilesEvent
,
32840 &_swigt__p_wxDuplexMode
,
32841 &_swigt__p_wxEffects
,
32842 &_swigt__p_wxEncodingConverter
,
32843 &_swigt__p_wxEraseEvent
,
32844 &_swigt__p_wxEvent
,
32845 &_swigt__p_wxEvtHandler
,
32846 &_swigt__p_wxFSFile
,
32847 &_swigt__p_wxFileSystem
,
32848 &_swigt__p_wxFlexGridSizer
,
32849 &_swigt__p_wxFocusEvent
,
32851 &_swigt__p_wxFontList
,
32852 &_swigt__p_wxFontMapper
,
32853 &_swigt__p_wxGBSizerItem
,
32854 &_swigt__p_wxGDIObjListBase
,
32855 &_swigt__p_wxGDIObject
,
32856 &_swigt__p_wxGIFHandler
,
32857 &_swigt__p_wxGridBagSizer
,
32858 &_swigt__p_wxGridSizer
,
32859 &_swigt__p_wxICOHandler
,
32861 &_swigt__p_wxIconBundle
,
32862 &_swigt__p_wxIconLocation
,
32863 &_swigt__p_wxIconizeEvent
,
32864 &_swigt__p_wxIdleEvent
,
32865 &_swigt__p_wxImage
,
32866 &_swigt__p_wxImageHandler
,
32867 &_swigt__p_wxImageList
,
32868 &_swigt__p_wxIndividualLayoutConstraint
,
32869 &_swigt__p_wxInitDialogEvent
,
32870 &_swigt__p_wxJPEGHandler
,
32871 &_swigt__p_wxKeyEvent
,
32872 &_swigt__p_wxLanguageInfo
,
32873 &_swigt__p_wxLayoutConstraints
,
32874 &_swigt__p_wxLocale
,
32876 &_swigt__p_wxMaximizeEvent
,
32877 &_swigt__p_wxMemoryDC
,
32879 &_swigt__p_wxMenuBar
,
32880 &_swigt__p_wxMenuEvent
,
32881 &_swigt__p_wxMenuItem
,
32882 &_swigt__p_wxMetaFile
,
32883 &_swigt__p_wxMetaFileDC
,
32884 &_swigt__p_wxMirrorDC
,
32885 &_swigt__p_wxMouseCaptureChangedEvent
,
32886 &_swigt__p_wxMouseCaptureLostEvent
,
32887 &_swigt__p_wxMouseEvent
,
32888 &_swigt__p_wxMoveEvent
,
32889 &_swigt__p_wxNativeEncodingInfo
,
32890 &_swigt__p_wxNativeFontInfo
,
32891 &_swigt__p_wxNativePixelData
,
32892 &_swigt__p_wxNativePixelData_Accessor
,
32893 &_swigt__p_wxNavigationKeyEvent
,
32894 &_swigt__p_wxNcPaintEvent
,
32895 &_swigt__p_wxNotifyEvent
,
32896 &_swigt__p_wxObject
,
32897 &_swigt__p_wxPCXHandler
,
32898 &_swigt__p_wxPNGHandler
,
32899 &_swigt__p_wxPNMHandler
,
32900 &_swigt__p_wxPaintDC
,
32901 &_swigt__p_wxPaintEvent
,
32902 &_swigt__p_wxPalette
,
32903 &_swigt__p_wxPaletteChangedEvent
,
32904 &_swigt__p_wxPaperSize
,
32906 &_swigt__p_wxPenList
,
32907 &_swigt__p_wxPixelDataBase
,
32908 &_swigt__p_wxPoint
,
32909 &_swigt__p_wxPostScriptDC
,
32910 &_swigt__p_wxPrintData
,
32911 &_swigt__p_wxPrinterDC
,
32912 &_swigt__p_wxPseudoDC
,
32913 &_swigt__p_wxPyApp
,
32914 &_swigt__p_wxPyCommandEvent
,
32915 &_swigt__p_wxPyEvent
,
32916 &_swigt__p_wxPyFontEnumerator
,
32917 &_swigt__p_wxPyImageHandler
,
32918 &_swigt__p_wxPyLocale
,
32919 &_swigt__p_wxPySizer
,
32920 &_swigt__p_wxPyValidator
,
32921 &_swigt__p_wxQueryNewPaletteEvent
,
32923 &_swigt__p_wxRegion
,
32924 &_swigt__p_wxRegionIterator
,
32925 &_swigt__p_wxRendererNative
,
32926 &_swigt__p_wxRendererVersion
,
32927 &_swigt__p_wxScreenDC
,
32928 &_swigt__p_wxScrollEvent
,
32929 &_swigt__p_wxScrollWinEvent
,
32930 &_swigt__p_wxSetCursorEvent
,
32931 &_swigt__p_wxShowEvent
,
32933 &_swigt__p_wxSizeEvent
,
32934 &_swigt__p_wxSizer
,
32935 &_swigt__p_wxSizerItem
,
32936 &_swigt__p_wxSplitterRenderParams
,
32937 &_swigt__p_wxStaticBoxSizer
,
32938 &_swigt__p_wxStdDialogButtonSizer
,
32939 &_swigt__p_wxStockGDI
,
32940 &_swigt__p_wxString
,
32941 &_swigt__p_wxSysColourChangedEvent
,
32942 &_swigt__p_wxTIFFHandler
,
32943 &_swigt__p_wxUpdateUIEvent
,
32944 &_swigt__p_wxValidator
,
32945 &_swigt__p_wxWindow
,
32946 &_swigt__p_wxWindowCreateEvent
,
32947 &_swigt__p_wxWindowDC
,
32948 &_swigt__p_wxWindowDestroyEvent
,
32949 &_swigt__p_wxXPMHandler
,
32952 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32965 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}};
32966 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32972 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}};
32973 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32980 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}};
32981 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}};
32982 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxLocale
[] = { {&_swigt__p_wxPyLocale
, _p_wxPyLocaleTo_p_wxLocale
, 0, 0}, {&_swigt__p_wxLocale
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32990 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}};
32991 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33074 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_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_wxPseudoDC
, _p_wxPseudoDCTo_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_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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}};
33075 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxPixelDataBase
[] = { {&_swigt__p_wxPixelDataBase
, 0, 0, 0}, {&_swigt__p_wxNativePixelData
, _p_wxNativePixelDataTo_p_wxPixelDataBase
, 0, 0}, {&_swigt__p_wxAlphaPixelData
, _p_wxAlphaPixelDataTo_p_wxPixelDataBase
, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
33092 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33098 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}};
33099 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
33101 static swig_cast_info
*swig_cast_initial
[] = {
33105 _swigc__p_form_ops_t
,
33107 _swigc__p_unsigned_char
,
33108 _swigc__p_unsigned_int
,
33109 _swigc__p_unsigned_long
,
33110 _swigc__p_wxANIHandler
,
33111 _swigc__p_wxAcceleratorTable
,
33112 _swigc__p_wxActivateEvent
,
33113 _swigc__p_wxAlphaPixelData
,
33114 _swigc__p_wxAlphaPixelData_Accessor
,
33115 _swigc__p_wxBMPHandler
,
33116 _swigc__p_wxBitmap
,
33117 _swigc__p_wxBoxSizer
,
33119 _swigc__p_wxBrushList
,
33120 _swigc__p_wxBufferedDC
,
33121 _swigc__p_wxBufferedPaintDC
,
33122 _swigc__p_wxCURHandler
,
33124 _swigc__p_wxChildFocusEvent
,
33125 _swigc__p_wxClientDC
,
33126 _swigc__p_wxClipboardTextEvent
,
33127 _swigc__p_wxCloseEvent
,
33128 _swigc__p_wxColour
,
33129 _swigc__p_wxColourDatabase
,
33130 _swigc__p_wxCommandEvent
,
33131 _swigc__p_wxContextMenuEvent
,
33132 _swigc__p_wxControl
,
33133 _swigc__p_wxControlWithItems
,
33134 _swigc__p_wxCursor
,
33137 _swigc__p_wxDateEvent
,
33138 _swigc__p_wxDisplayChangedEvent
,
33139 _swigc__p_wxDropFilesEvent
,
33140 _swigc__p_wxDuplexMode
,
33141 _swigc__p_wxEffects
,
33142 _swigc__p_wxEncodingConverter
,
33143 _swigc__p_wxEraseEvent
,
33145 _swigc__p_wxEvtHandler
,
33146 _swigc__p_wxFSFile
,
33147 _swigc__p_wxFileSystem
,
33148 _swigc__p_wxFlexGridSizer
,
33149 _swigc__p_wxFocusEvent
,
33151 _swigc__p_wxFontList
,
33152 _swigc__p_wxFontMapper
,
33153 _swigc__p_wxGBSizerItem
,
33154 _swigc__p_wxGDIObjListBase
,
33155 _swigc__p_wxGDIObject
,
33156 _swigc__p_wxGIFHandler
,
33157 _swigc__p_wxGridBagSizer
,
33158 _swigc__p_wxGridSizer
,
33159 _swigc__p_wxICOHandler
,
33161 _swigc__p_wxIconBundle
,
33162 _swigc__p_wxIconLocation
,
33163 _swigc__p_wxIconizeEvent
,
33164 _swigc__p_wxIdleEvent
,
33166 _swigc__p_wxImageHandler
,
33167 _swigc__p_wxImageList
,
33168 _swigc__p_wxIndividualLayoutConstraint
,
33169 _swigc__p_wxInitDialogEvent
,
33170 _swigc__p_wxJPEGHandler
,
33171 _swigc__p_wxKeyEvent
,
33172 _swigc__p_wxLanguageInfo
,
33173 _swigc__p_wxLayoutConstraints
,
33174 _swigc__p_wxLocale
,
33176 _swigc__p_wxMaximizeEvent
,
33177 _swigc__p_wxMemoryDC
,
33179 _swigc__p_wxMenuBar
,
33180 _swigc__p_wxMenuEvent
,
33181 _swigc__p_wxMenuItem
,
33182 _swigc__p_wxMetaFile
,
33183 _swigc__p_wxMetaFileDC
,
33184 _swigc__p_wxMirrorDC
,
33185 _swigc__p_wxMouseCaptureChangedEvent
,
33186 _swigc__p_wxMouseCaptureLostEvent
,
33187 _swigc__p_wxMouseEvent
,
33188 _swigc__p_wxMoveEvent
,
33189 _swigc__p_wxNativeEncodingInfo
,
33190 _swigc__p_wxNativeFontInfo
,
33191 _swigc__p_wxNativePixelData
,
33192 _swigc__p_wxNativePixelData_Accessor
,
33193 _swigc__p_wxNavigationKeyEvent
,
33194 _swigc__p_wxNcPaintEvent
,
33195 _swigc__p_wxNotifyEvent
,
33196 _swigc__p_wxObject
,
33197 _swigc__p_wxPCXHandler
,
33198 _swigc__p_wxPNGHandler
,
33199 _swigc__p_wxPNMHandler
,
33200 _swigc__p_wxPaintDC
,
33201 _swigc__p_wxPaintEvent
,
33202 _swigc__p_wxPalette
,
33203 _swigc__p_wxPaletteChangedEvent
,
33204 _swigc__p_wxPaperSize
,
33206 _swigc__p_wxPenList
,
33207 _swigc__p_wxPixelDataBase
,
33209 _swigc__p_wxPostScriptDC
,
33210 _swigc__p_wxPrintData
,
33211 _swigc__p_wxPrinterDC
,
33212 _swigc__p_wxPseudoDC
,
33214 _swigc__p_wxPyCommandEvent
,
33215 _swigc__p_wxPyEvent
,
33216 _swigc__p_wxPyFontEnumerator
,
33217 _swigc__p_wxPyImageHandler
,
33218 _swigc__p_wxPyLocale
,
33219 _swigc__p_wxPySizer
,
33220 _swigc__p_wxPyValidator
,
33221 _swigc__p_wxQueryNewPaletteEvent
,
33223 _swigc__p_wxRegion
,
33224 _swigc__p_wxRegionIterator
,
33225 _swigc__p_wxRendererNative
,
33226 _swigc__p_wxRendererVersion
,
33227 _swigc__p_wxScreenDC
,
33228 _swigc__p_wxScrollEvent
,
33229 _swigc__p_wxScrollWinEvent
,
33230 _swigc__p_wxSetCursorEvent
,
33231 _swigc__p_wxShowEvent
,
33233 _swigc__p_wxSizeEvent
,
33235 _swigc__p_wxSizerItem
,
33236 _swigc__p_wxSplitterRenderParams
,
33237 _swigc__p_wxStaticBoxSizer
,
33238 _swigc__p_wxStdDialogButtonSizer
,
33239 _swigc__p_wxStockGDI
,
33240 _swigc__p_wxString
,
33241 _swigc__p_wxSysColourChangedEvent
,
33242 _swigc__p_wxTIFFHandler
,
33243 _swigc__p_wxUpdateUIEvent
,
33244 _swigc__p_wxValidator
,
33245 _swigc__p_wxWindow
,
33246 _swigc__p_wxWindowCreateEvent
,
33247 _swigc__p_wxWindowDC
,
33248 _swigc__p_wxWindowDestroyEvent
,
33249 _swigc__p_wxXPMHandler
,
33253 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33255 static swig_const_info swig_const_table
[] = {
33256 {0, 0, 0, 0.0, 0, 0}};
33261 /* -----------------------------------------------------------------------------
33262 * Type initialization:
33263 * This problem is tough by the requirement that no dynamic
33264 * memory is used. Also, since swig_type_info structures store pointers to
33265 * swig_cast_info structures and swig_cast_info structures store pointers back
33266 * to swig_type_info structures, we need some lookup code at initialization.
33267 * The idea is that swig generates all the structures that are needed.
33268 * The runtime then collects these partially filled structures.
33269 * The SWIG_InitializeModule function takes these initial arrays out of
33270 * swig_module, and does all the lookup, filling in the swig_module.types
33271 * array with the correct data and linking the correct swig_cast_info
33272 * structures together.
33274 * The generated swig_type_info structures are assigned staticly to an initial
33275 * array. We just loop though that array, and handle each type individually.
33276 * First we lookup if this type has been already loaded, and if so, use the
33277 * loaded structure instead of the generated one. Then we have to fill in the
33278 * cast linked list. The cast data is initially stored in something like a
33279 * two-dimensional array. Each row corresponds to a type (there are the same
33280 * number of rows as there are in the swig_type_initial array). Each entry in
33281 * a column is one of the swig_cast_info structures for that type.
33282 * The cast_initial array is actually an array of arrays, because each row has
33283 * a variable number of columns. So to actually build the cast linked list,
33284 * we find the array of casts associated with the type, and loop through it
33285 * adding the casts to the list. The one last trick we need to do is making
33286 * sure the type pointer in the swig_cast_info struct is correct.
33288 * First off, we lookup the cast->type name to see if it is already loaded.
33289 * There are three cases to handle:
33290 * 1) If the cast->type has already been loaded AND the type we are adding
33291 * casting info to has not been loaded (it is in this module), THEN we
33292 * replace the cast->type pointer with the type pointer that has already
33294 * 2) If BOTH types (the one we are adding casting info to, and the
33295 * cast->type) are loaded, THEN the cast info has already been loaded by
33296 * the previous module so we just ignore it.
33297 * 3) Finally, if cast->type has not already been loaded, then we add that
33298 * swig_cast_info to the linked list (because the cast->type) pointer will
33300 * ----------------------------------------------------------------------------- */
33310 #define SWIGRUNTIME_DEBUG
33314 SWIG_InitializeModule(void *clientdata
) {
33316 swig_module_info
*module_head
;
33317 static int init_run
= 0;
33319 clientdata
= clientdata
;
33321 if (init_run
) return;
33324 /* Initialize the swig_module */
33325 swig_module
.type_initial
= swig_type_initial
;
33326 swig_module
.cast_initial
= swig_cast_initial
;
33328 /* Try and load any already created modules */
33329 module_head
= SWIG_GetModule(clientdata
);
33331 swig_module
.next
= module_head
->next
;
33332 module_head
->next
= &swig_module
;
33334 /* This is the first module loaded */
33335 swig_module
.next
= &swig_module
;
33336 SWIG_SetModule(clientdata
, &swig_module
);
33339 /* Now work on filling in swig_module.types */
33340 #ifdef SWIGRUNTIME_DEBUG
33341 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33343 for (i
= 0; i
< swig_module
.size
; ++i
) {
33344 swig_type_info
*type
= 0;
33345 swig_type_info
*ret
;
33346 swig_cast_info
*cast
;
33348 #ifdef SWIGRUNTIME_DEBUG
33349 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33352 /* if there is another module already loaded */
33353 if (swig_module
.next
!= &swig_module
) {
33354 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33357 /* Overwrite clientdata field */
33358 #ifdef SWIGRUNTIME_DEBUG
33359 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33361 if (swig_module
.type_initial
[i
]->clientdata
) {
33362 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33363 #ifdef SWIGRUNTIME_DEBUG
33364 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33368 type
= swig_module
.type_initial
[i
];
33371 /* Insert casting types */
33372 cast
= swig_module
.cast_initial
[i
];
33373 while (cast
->type
) {
33374 /* Don't need to add information already in the list */
33376 #ifdef SWIGRUNTIME_DEBUG
33377 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33379 if (swig_module
.next
!= &swig_module
) {
33380 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33381 #ifdef SWIGRUNTIME_DEBUG
33382 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33386 if (type
== swig_module
.type_initial
[i
]) {
33387 #ifdef SWIGRUNTIME_DEBUG
33388 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33393 /* Check for casting already in the list */
33394 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33395 #ifdef SWIGRUNTIME_DEBUG
33396 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33398 if (!ocast
) ret
= 0;
33403 #ifdef SWIGRUNTIME_DEBUG
33404 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33407 type
->cast
->prev
= cast
;
33408 cast
->next
= type
->cast
;
33414 /* Set entry in modules->types array equal to the type */
33415 swig_module
.types
[i
] = type
;
33417 swig_module
.types
[i
] = 0;
33419 #ifdef SWIGRUNTIME_DEBUG
33420 printf("**** SWIG_InitializeModule: Cast List ******\n");
33421 for (i
= 0; i
< swig_module
.size
; ++i
) {
33423 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33424 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33425 while (cast
->type
) {
33426 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33430 printf("---- Total casts: %d\n",j
);
33432 printf("**** SWIG_InitializeModule: Cast List ******\n");
33436 /* This function will propagate the clientdata field of type to
33437 * any new swig_type_info structures that have been added into the list
33438 * of equivalent types. It is like calling
33439 * SWIG_TypeClientData(type, clientdata) a second time.
33442 SWIG_PropagateClientData(void) {
33444 swig_cast_info
*equiv
;
33445 static int init_run
= 0;
33447 if (init_run
) return;
33450 for (i
= 0; i
< swig_module
.size
; i
++) {
33451 if (swig_module
.types
[i
]->clientdata
) {
33452 equiv
= swig_module
.types
[i
]->cast
;
33454 if (!equiv
->converter
) {
33455 if (equiv
->type
&& !equiv
->type
->clientdata
)
33456 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33458 equiv
= equiv
->next
;
33478 /* Python-specific SWIG API */
33479 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33480 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33481 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33483 /* -----------------------------------------------------------------------------
33484 * global variable support code.
33485 * ----------------------------------------------------------------------------- */
33487 typedef struct swig_globalvar
{
33488 char *name
; /* Name of global variable */
33489 PyObject
*(*get_attr
)(void); /* Return the current value */
33490 int (*set_attr
)(PyObject
*); /* Set the value */
33491 struct swig_globalvar
*next
;
33494 typedef struct swig_varlinkobject
{
33496 swig_globalvar
*vars
;
33497 } swig_varlinkobject
;
33499 SWIGINTERN PyObject
*
33500 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33501 return PyString_FromString("<Swig global variables>");
33504 SWIGINTERN PyObject
*
33505 swig_varlink_str(swig_varlinkobject
*v
) {
33506 PyObject
*str
= PyString_FromString("(");
33507 swig_globalvar
*var
;
33508 for (var
= v
->vars
; var
; var
=var
->next
) {
33509 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33510 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33512 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33517 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33518 PyObject
*str
= swig_varlink_str(v
);
33519 fprintf(fp
,"Swig global variables ");
33520 fprintf(fp
,"%s\n", PyString_AsString(str
));
33526 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33527 swig_globalvar
*var
= v
->vars
;
33529 swig_globalvar
*n
= var
->next
;
33536 SWIGINTERN PyObject
*
33537 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33538 PyObject
*res
= NULL
;
33539 swig_globalvar
*var
= v
->vars
;
33541 if (strcmp(var
->name
,n
) == 0) {
33542 res
= (*var
->get_attr
)();
33547 if (res
== NULL
&& !PyErr_Occurred()) {
33548 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33554 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33556 swig_globalvar
*var
= v
->vars
;
33558 if (strcmp(var
->name
,n
) == 0) {
33559 res
= (*var
->set_attr
)(p
);
33564 if (res
== 1 && !PyErr_Occurred()) {
33565 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33570 SWIGINTERN PyTypeObject
*
33571 swig_varlink_type(void) {
33572 static char varlink__doc__
[] = "Swig var link object";
33573 static PyTypeObject varlink_type
;
33574 static int type_init
= 0;
33576 const PyTypeObject tmp
33578 PyObject_HEAD_INIT(NULL
)
33579 0, /* Number of items in variable part (ob_size) */
33580 (char *)"swigvarlink", /* Type name (tp_name) */
33581 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33582 0, /* Itemsize (tp_itemsize) */
33583 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33584 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33585 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33586 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33587 0, /* tp_compare */
33588 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33589 0, /* tp_as_number */
33590 0, /* tp_as_sequence */
33591 0, /* tp_as_mapping */
33594 (reprfunc
)swig_varlink_str
, /* tp_str */
33595 0, /* tp_getattro */
33596 0, /* tp_setattro */
33597 0, /* tp_as_buffer */
33599 varlink__doc__
, /* tp_doc */
33600 0, /* tp_traverse */
33602 0, /* tp_richcompare */
33603 0, /* tp_weaklistoffset */
33604 #if PY_VERSION_HEX >= 0x02020000
33605 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33607 #if PY_VERSION_HEX >= 0x02030000
33610 #ifdef COUNT_ALLOCS
33611 0,0,0,0 /* tp_alloc -> tp_next */
33614 varlink_type
= tmp
;
33615 varlink_type
.ob_type
= &PyType_Type
;
33618 return &varlink_type
;
33621 /* Create a variable linking object for use later */
33622 SWIGINTERN PyObject
*
33623 SWIG_Python_newvarlink(void) {
33624 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33628 return ((PyObject
*) result
);
33632 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33633 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33634 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33636 size_t size
= strlen(name
)+1;
33637 gv
->name
= (char *)malloc(size
);
33639 strncpy(gv
->name
,name
,size
);
33640 gv
->get_attr
= get_attr
;
33641 gv
->set_attr
= set_attr
;
33642 gv
->next
= v
->vars
;
33648 SWIGINTERN PyObject
*
33650 static PyObject
*_SWIG_globals
= 0;
33651 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33652 return _SWIG_globals
;
33655 /* -----------------------------------------------------------------------------
33656 * constants/methods manipulation
33657 * ----------------------------------------------------------------------------- */
33659 /* Install Constants */
33661 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33664 for (i
= 0; constants
[i
].type
; ++i
) {
33665 switch(constants
[i
].type
) {
33666 case SWIG_PY_POINTER
:
33667 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33669 case SWIG_PY_BINARY
:
33670 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33677 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33683 /* -----------------------------------------------------------------------------*/
33684 /* Fix SwigMethods to carry the callback ptrs when needed */
33685 /* -----------------------------------------------------------------------------*/
33688 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33689 swig_const_info
*const_table
,
33690 swig_type_info
**types
,
33691 swig_type_info
**types_initial
) {
33693 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33694 const char *c
= methods
[i
].ml_doc
;
33695 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33697 swig_const_info
*ci
= 0;
33698 const char *name
= c
+ 10;
33699 for (j
= 0; const_table
[j
].type
; ++j
) {
33700 if (strncmp(const_table
[j
].name
, name
,
33701 strlen(const_table
[j
].name
)) == 0) {
33702 ci
= &(const_table
[j
]);
33707 size_t shift
= (ci
->ptype
) - types
;
33708 swig_type_info
*ty
= types_initial
[shift
];
33709 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33710 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33711 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33714 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33716 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33718 strncpy(buff
, "swig_ptr: ", 10);
33720 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33721 methods
[i
].ml_doc
= ndoc
;
33733 /* -----------------------------------------------------------------------------*
33734 * Partial Init method
33735 * -----------------------------------------------------------------------------*/
33740 SWIGEXPORT
void SWIG_init(void) {
33743 /* Fix SwigMethods to carry the callback ptrs when needed */
33744 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33746 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33747 d
= PyModule_GetDict(m
);
33749 SWIG_InitializeModule(0);
33750 SWIG_InstallConstants(d
,swig_const_table
);
33753 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33754 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33755 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33756 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33757 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33758 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33759 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33760 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33761 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33762 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33763 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33764 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33765 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33766 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33767 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33768 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33769 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33770 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33771 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33772 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33773 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33774 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33775 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33776 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33777 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33778 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33779 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33780 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33781 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33782 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33783 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33784 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33785 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33786 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33787 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33788 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33789 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33790 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33791 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33792 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33793 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33794 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33795 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33796 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33797 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33798 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33799 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33800 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33801 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33802 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33803 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33804 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33805 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33806 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33807 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33808 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33809 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33810 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33811 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33812 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33813 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33814 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33815 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33816 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33817 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33818 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33819 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33820 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33821 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33822 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33823 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33824 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33825 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33826 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33827 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33828 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33829 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33830 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33831 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33832 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33833 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33834 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33835 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33843 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33844 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33845 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33846 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33847 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33848 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33849 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33855 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33856 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33857 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33877 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33878 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33879 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33880 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33881 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33882 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33883 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33884 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33886 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33888 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33889 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33890 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33891 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33892 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33893 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33894 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33895 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33896 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33897 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33898 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33899 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33900 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33901 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33902 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33903 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33904 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33905 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33906 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33907 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33908 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33909 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33910 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33911 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33912 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33913 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33914 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33915 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33916 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33917 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33918 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33919 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33920 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33921 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33922 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33923 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33924 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33925 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33926 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33927 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33928 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33929 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33930 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33931 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33932 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33933 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33934 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33935 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33936 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33937 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33938 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33939 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33940 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33941 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33942 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33943 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33944 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33945 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33946 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33947 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33948 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33949 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33950 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33951 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33952 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33953 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33954 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33955 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33956 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33957 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33958 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33959 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33960 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33961 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33962 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33963 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33964 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33965 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33966 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33967 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33968 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33969 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33970 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33971 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33972 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33973 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33974 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33975 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33976 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33977 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33978 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33979 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33980 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33981 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33982 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33983 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33984 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33985 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33986 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33987 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33988 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33989 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33990 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33991 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33992 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33993 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33994 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33995 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33996 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33997 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33998 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33999 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
34000 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
34001 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
34002 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
34003 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
34004 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
34005 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
34006 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
34007 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
34008 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
34009 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
34010 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
34011 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
34012 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
34013 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
34014 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
34015 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
34016 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
34017 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
34018 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
34019 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
34020 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
34021 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
34022 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
34023 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
34024 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
34025 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
34026 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
34027 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
34028 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
34029 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
34030 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
34031 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
34032 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
34033 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
34034 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
34035 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
34036 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
34037 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
34038 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
34039 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
34040 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
34041 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
34042 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
34043 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
34044 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
34045 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
34046 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
34047 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
34048 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
34049 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
34050 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
34051 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
34052 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
34053 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
34054 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
34055 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
34056 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
34057 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
34058 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
34059 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
34060 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
34061 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
34062 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
34063 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
34064 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
34065 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
34066 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
34067 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
34068 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
34069 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
34070 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
34071 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
34072 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
34073 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
34074 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
34075 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
34076 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
34077 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
34078 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
34079 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
34080 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
34081 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
34082 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
34083 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
34084 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
34085 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
34086 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
34087 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
34088 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
34089 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
34090 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
34091 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
34092 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
34093 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
34094 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
34095 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
34096 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
34097 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
34098 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
34099 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
34100 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
34101 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
34102 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
34103 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
34104 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
34105 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
34106 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
34107 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
34108 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
34109 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
34110 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
34111 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
34112 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
34113 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
34114 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
34115 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
34116 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
34117 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34118 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34119 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34120 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34121 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34122 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34123 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34124 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34125 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34126 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34127 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34128 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34129 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34130 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34131 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34132 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34133 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34134 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34135 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34136 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34137 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34138 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34139 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34140 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34141 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34142 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34143 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34144 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34145 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34146 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34147 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34148 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34149 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34150 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34151 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34152 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34153 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34154 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34155 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34156 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34157 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34158 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34159 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34160 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34161 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34162 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34163 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34164 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34165 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34166 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34167 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34168 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34169 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34170 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34171 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34172 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34173 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34174 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34175 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34176 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34177 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34178 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34179 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34180 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34181 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34182 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34183 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34184 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34185 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34186 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34187 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34188 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34189 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34190 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34191 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34192 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34193 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34194 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34195 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34196 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34197 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34198 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34199 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34200 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34201 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34203 // Work around a chicken/egg problem in drawlist.cpp
34204 wxPyDrawList_SetAPIPtr();