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) / 256)
2966 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 256 / (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 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6860 PyObject
* obj3
= 0 ;
6861 char * kwnames
[] = {
6862 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6867 if (!SWIG_IsOK(ecode1
)) {
6868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6870 arg1
= static_cast< int >(val1
);
6871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6872 if (!SWIG_IsOK(ecode2
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6875 arg2
= static_cast< int >(val2
);
6877 if (obj2
!= Py_None
) {
6878 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
6882 if (obj3
!= Py_None
) {
6883 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
6887 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6897 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
= 0;
6903 wxBitmap
*result
= 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6910 PyObject
* obj2
= 0 ;
6911 char * kwnames
[] = {
6912 (char *) "width",(char *) "height",(char *) "data", NULL
6915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6916 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6917 if (!SWIG_IsOK(ecode1
)) {
6918 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6920 arg1
= static_cast< int >(val1
);
6921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6922 if (!SWIG_IsOK(ecode2
)) {
6923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6925 arg2
= static_cast< int >(val2
);
6927 if (obj2
!= Py_None
) {
6928 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
6932 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6942 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
= 0;
6948 wxBitmap
*result
= 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 PyObject
* obj2
= 0 ;
6956 char * kwnames
[] = {
6957 (char *) "width",(char *) "height",(char *) "data", NULL
6960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6961 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6962 if (!SWIG_IsOK(ecode1
)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6965 arg1
= static_cast< int >(val1
);
6966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6967 if (!SWIG_IsOK(ecode2
)) {
6968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6970 arg2
= static_cast< int >(val2
);
6972 if (obj2
!= Py_None
) {
6973 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
6977 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6987 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6988 PyObject
*resultobj
= 0;
6989 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6993 PyObject
*swig_obj
[1] ;
6995 if (!args
) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7001 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7003 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7013 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 PyObject
*resultobj
= 0;
7015 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7019 PyObject
*swig_obj
[1] ;
7021 if (!args
) SWIG_fail
;
7023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7024 if (!SWIG_IsOK(res1
)) {
7025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7027 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7029 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_From_int(static_cast< int >(result
));
7039 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7040 PyObject
*resultobj
= 0;
7041 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7045 PyObject
*swig_obj
[1] ;
7047 if (!args
) SWIG_fail
;
7049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7050 if (!SWIG_IsOK(res1
)) {
7051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7053 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7055 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_From_int(static_cast< int >(result
));
7065 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7066 PyObject
*resultobj
= 0;
7067 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7071 PyObject
*swig_obj
[1] ;
7073 if (!args
) SWIG_fail
;
7075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7076 if (!SWIG_IsOK(res1
)) {
7077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7079 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7081 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7082 if (PyErr_Occurred()) SWIG_fail
;
7084 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7091 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7092 PyObject
*resultobj
= 0;
7093 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7097 PyObject
*swig_obj
[1] ;
7099 if (!args
) SWIG_fail
;
7101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7102 if (!SWIG_IsOK(res1
)) {
7103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7105 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7107 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_From_int(static_cast< int >(result
));
7117 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7120 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7121 return SWIG_Py_Void();
7124 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7125 PyObject
*resultobj
= 0;
7126 wxBitmap
*arg1
= 0 ;
7127 wxNativePixelData
*result
= 0 ;
7131 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7139 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7141 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7151 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7152 PyObject
*resultobj
= 0;
7153 wxBitmap
*arg1
= 0 ;
7155 wxNativePixelData
*result
= 0 ;
7160 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7162 if (!SWIG_IsOK(res1
)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7168 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7171 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7174 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7184 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7185 PyObject
*resultobj
= 0;
7186 wxBitmap
*arg1
= 0 ;
7189 wxNativePixelData
*result
= 0 ;
7195 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7197 if (!SWIG_IsOK(res1
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7203 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7206 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7210 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7213 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7223 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7227 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7230 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7233 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7236 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7240 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7245 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 PyObject
*resultobj
= 0;
7247 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7258 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= SWIG_Py_Void();
7271 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7272 PyObject
*resultobj
= 0;
7273 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7274 wxNativePixelData_Accessor result
;
7277 PyObject
*swig_obj
[1] ;
7279 if (!args
) SWIG_fail
;
7281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7282 if (!SWIG_IsOK(res1
)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7285 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7287 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7297 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7298 PyObject
*resultobj
= 0;
7299 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7302 PyObject
*swig_obj
[1] ;
7304 if (!args
) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7310 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_Py_Void();
7322 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7323 PyObject
*resultobj
= 0;
7324 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7328 PyObject
*swig_obj
[1] ;
7330 if (!args
) SWIG_fail
;
7332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7333 if (!SWIG_IsOK(res1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7336 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7338 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7350 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7353 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7354 return SWIG_Py_Void();
7357 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 return SWIG_Python_InitShadowInstance(args
);
7361 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7362 PyObject
*resultobj
= 0;
7363 wxNativePixelData
*arg1
= 0 ;
7364 wxNativePixelData_Accessor
*result
= 0 ;
7368 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7370 if (!SWIG_IsOK(res1
)) {
7371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7376 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7378 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7388 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7389 PyObject
*resultobj
= 0;
7390 wxBitmap
*arg1
= 0 ;
7391 wxNativePixelData
*arg2
= 0 ;
7392 wxNativePixelData_Accessor
*result
= 0 ;
7398 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7400 if (!SWIG_IsOK(res1
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7406 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7407 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7408 if (!SWIG_IsOK(res2
)) {
7409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7414 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7416 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7426 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7427 PyObject
*resultobj
= 0;
7428 wxNativePixelData_Accessor
*result
= 0 ;
7430 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7432 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7442 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7446 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7449 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7452 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7455 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7459 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7464 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7465 PyObject
*resultobj
= 0;
7466 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7469 PyObject
*swig_obj
[1] ;
7471 if (!args
) SWIG_fail
;
7473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7474 if (!SWIG_IsOK(res1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7477 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
= 0;
7492 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7493 wxNativePixelData
*arg2
= 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 char * kwnames
[] = {
7501 (char *) "self",(char *) "data", NULL
7504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7509 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7511 if (!SWIG_IsOK(res2
)) {
7512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7517 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7519 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= SWIG_Py_Void();
7529 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7530 PyObject
*resultobj
= 0;
7531 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7535 PyObject
*swig_obj
[1] ;
7537 if (!args
) SWIG_fail
;
7539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7540 if (!SWIG_IsOK(res1
)) {
7541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7543 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7545 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7558 PyObject
*resultobj
= 0;
7559 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7562 PyObject
*swig_obj
[1] ;
7564 if (!args
) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7570 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7572 wxNativePixelData_Accessor_nextPixel(arg1
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_Py_Void();
7582 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= 0;
7584 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7585 wxNativePixelData
*arg2
= 0 ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 PyObject
* obj2
= 0 ;
7599 PyObject
* obj3
= 0 ;
7600 char * kwnames
[] = {
7601 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7609 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7611 if (!SWIG_IsOK(res2
)) {
7612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7617 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7619 if (!SWIG_IsOK(ecode3
)) {
7620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7622 arg3
= static_cast< int >(val3
);
7623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7624 if (!SWIG_IsOK(ecode4
)) {
7625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7627 arg4
= static_cast< int >(val4
);
7629 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_Py_Void();
7639 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7642 wxNativePixelData
*arg2
= 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 PyObject
* obj2
= 0 ;
7653 char * kwnames
[] = {
7654 (char *) "self",(char *) "data",(char *) "x", NULL
7657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7659 if (!SWIG_IsOK(res1
)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7662 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7664 if (!SWIG_IsOK(res2
)) {
7665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7670 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7672 if (!SWIG_IsOK(ecode3
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7675 arg3
= static_cast< int >(val3
);
7677 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_Py_Void();
7687 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
= 0;
7689 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7690 wxNativePixelData
*arg2
= 0 ;
7698 PyObject
* obj0
= 0 ;
7699 PyObject
* obj1
= 0 ;
7700 PyObject
* obj2
= 0 ;
7701 char * kwnames
[] = {
7702 (char *) "self",(char *) "data",(char *) "y", NULL
7705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7707 if (!SWIG_IsOK(res1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7710 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7711 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7712 if (!SWIG_IsOK(res2
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7718 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7720 if (!SWIG_IsOK(ecode3
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7723 arg3
= static_cast< int >(val3
);
7725 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_Py_Void();
7735 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
= 0;
7737 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7738 wxNativePixelData
*arg2
= 0 ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7751 PyObject
* obj2
= 0 ;
7752 PyObject
* obj3
= 0 ;
7753 char * kwnames
[] = {
7754 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7762 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7764 if (!SWIG_IsOK(res2
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7770 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7772 if (!SWIG_IsOK(ecode3
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7775 arg3
= static_cast< int >(val3
);
7776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7777 if (!SWIG_IsOK(ecode4
)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7780 arg4
= static_cast< int >(val4
);
7782 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= SWIG_Py_Void();
7792 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
= 0;
7794 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7800 unsigned char val2
;
7802 unsigned char val3
;
7804 unsigned char val4
;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7808 PyObject
* obj2
= 0 ;
7809 PyObject
* obj3
= 0 ;
7810 char * kwnames
[] = {
7811 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7816 if (!SWIG_IsOK(res1
)) {
7817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7819 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7820 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7821 if (!SWIG_IsOK(ecode2
)) {
7822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7824 arg2
= static_cast< byte
>(val2
);
7825 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7826 if (!SWIG_IsOK(ecode3
)) {
7827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7829 arg3
= static_cast< byte
>(val3
);
7830 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7831 if (!SWIG_IsOK(ecode4
)) {
7832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7834 arg4
= static_cast< byte
>(val4
);
7836 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_Py_Void();
7846 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7847 PyObject
*resultobj
= 0;
7848 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7849 PyObject
*result
= 0 ;
7852 PyObject
*swig_obj
[1] ;
7854 if (!args
) SWIG_fail
;
7856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7857 if (!SWIG_IsOK(res1
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7860 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7862 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7872 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7875 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7876 return SWIG_Py_Void();
7879 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7880 return SWIG_Python_InitShadowInstance(args
);
7883 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7884 PyObject
*resultobj
= 0;
7885 wxBitmap
*arg1
= 0 ;
7886 wxAlphaPixelData
*result
= 0 ;
7890 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7892 if (!SWIG_IsOK(res1
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7898 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7900 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7910 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7911 PyObject
*resultobj
= 0;
7912 wxBitmap
*arg1
= 0 ;
7914 wxAlphaPixelData
*result
= 0 ;
7919 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7927 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7930 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7933 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7943 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7944 PyObject
*resultobj
= 0;
7945 wxBitmap
*arg1
= 0 ;
7948 wxAlphaPixelData
*result
= 0 ;
7954 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7956 if (!SWIG_IsOK(res1
)) {
7957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7962 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7965 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7969 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7972 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7982 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7986 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7989 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7992 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7995 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7999 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8004 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8006 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8009 PyObject
*swig_obj
[1] ;
8011 if (!args
) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8017 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_Py_Void();
8030 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8032 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8033 wxAlphaPixelData_Accessor result
;
8036 PyObject
*swig_obj
[1] ;
8038 if (!args
) SWIG_fail
;
8040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8041 if (!SWIG_IsOK(res1
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8044 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8046 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8056 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 PyObject
*resultobj
= 0;
8058 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8061 PyObject
*swig_obj
[1] ;
8063 if (!args
) SWIG_fail
;
8065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8066 if (!SWIG_IsOK(res1
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8069 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_Py_Void();
8081 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8082 PyObject
*resultobj
= 0;
8083 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8087 PyObject
*swig_obj
[1] ;
8089 if (!args
) SWIG_fail
;
8091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8092 if (!SWIG_IsOK(res1
)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8095 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8097 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8109 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8112 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8113 return SWIG_Py_Void();
8116 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8117 return SWIG_Python_InitShadowInstance(args
);
8120 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8121 PyObject
*resultobj
= 0;
8122 wxAlphaPixelData
*arg1
= 0 ;
8123 wxAlphaPixelData_Accessor
*result
= 0 ;
8127 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8135 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8137 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8147 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8148 PyObject
*resultobj
= 0;
8149 wxBitmap
*arg1
= 0 ;
8150 wxAlphaPixelData
*arg2
= 0 ;
8151 wxAlphaPixelData_Accessor
*result
= 0 ;
8157 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8159 if (!SWIG_IsOK(res1
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8165 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8166 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8167 if (!SWIG_IsOK(res2
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8173 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8175 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8185 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8186 PyObject
*resultobj
= 0;
8187 wxAlphaPixelData_Accessor
*result
= 0 ;
8189 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8191 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8201 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8205 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8208 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8211 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8214 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8218 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8223 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8224 PyObject
*resultobj
= 0;
8225 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8228 PyObject
*swig_obj
[1] ;
8230 if (!args
) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8236 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_Py_Void();
8249 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
= 0;
8251 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8252 wxAlphaPixelData
*arg2
= 0 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8259 char * kwnames
[] = {
8260 (char *) "self",(char *) "data", NULL
8263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8268 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8270 if (!SWIG_IsOK(res2
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8276 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8278 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_Py_Void();
8288 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8289 PyObject
*resultobj
= 0;
8290 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8294 PyObject
*swig_obj
[1] ;
8296 if (!args
) SWIG_fail
;
8298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8299 if (!SWIG_IsOK(res1
)) {
8300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8302 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8304 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8305 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8316 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8317 PyObject
*resultobj
= 0;
8318 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8321 PyObject
*swig_obj
[1] ;
8323 if (!args
) SWIG_fail
;
8325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8326 if (!SWIG_IsOK(res1
)) {
8327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8329 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8331 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_Py_Void();
8341 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= 0;
8343 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8344 wxAlphaPixelData
*arg2
= 0 ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8358 PyObject
* obj3
= 0 ;
8359 char * kwnames
[] = {
8360 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8365 if (!SWIG_IsOK(res1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8368 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8370 if (!SWIG_IsOK(res2
)) {
8371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8376 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8377 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8378 if (!SWIG_IsOK(ecode3
)) {
8379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8381 arg3
= static_cast< int >(val3
);
8382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8383 if (!SWIG_IsOK(ecode4
)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8386 arg4
= static_cast< int >(val4
);
8388 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
= 0;
8400 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8401 wxAlphaPixelData
*arg2
= 0 ;
8409 PyObject
* obj0
= 0 ;
8410 PyObject
* obj1
= 0 ;
8411 PyObject
* obj2
= 0 ;
8412 char * kwnames
[] = {
8413 (char *) "self",(char *) "data",(char *) "x", NULL
8416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8418 if (!SWIG_IsOK(res1
)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8421 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8423 if (!SWIG_IsOK(res2
)) {
8424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8429 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8431 if (!SWIG_IsOK(ecode3
)) {
8432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8434 arg3
= static_cast< int >(val3
);
8436 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_Py_Void();
8446 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
= 0;
8448 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8449 wxAlphaPixelData
*arg2
= 0 ;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8459 PyObject
* obj2
= 0 ;
8460 char * kwnames
[] = {
8461 (char *) "self",(char *) "data",(char *) "y", NULL
8464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8466 if (!SWIG_IsOK(res1
)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8469 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8471 if (!SWIG_IsOK(res2
)) {
8472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8477 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8479 if (!SWIG_IsOK(ecode3
)) {
8480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8482 arg3
= static_cast< int >(val3
);
8484 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_Py_Void();
8494 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8497 wxAlphaPixelData
*arg2
= 0 ;
8508 PyObject
* obj0
= 0 ;
8509 PyObject
* obj1
= 0 ;
8510 PyObject
* obj2
= 0 ;
8511 PyObject
* obj3
= 0 ;
8512 char * kwnames
[] = {
8513 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8521 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8523 if (!SWIG_IsOK(res2
)) {
8524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8529 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8531 if (!SWIG_IsOK(ecode3
)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8534 arg3
= static_cast< int >(val3
);
8535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8536 if (!SWIG_IsOK(ecode4
)) {
8537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8539 arg4
= static_cast< int >(val4
);
8541 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_Py_Void();
8551 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
= 0;
8553 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8560 unsigned char val2
;
8562 unsigned char val3
;
8564 unsigned char val4
;
8566 unsigned char val5
;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 PyObject
* obj2
= 0 ;
8571 PyObject
* obj3
= 0 ;
8572 PyObject
* obj4
= 0 ;
8573 char * kwnames
[] = {
8574 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8582 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8583 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8584 if (!SWIG_IsOK(ecode2
)) {
8585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8587 arg2
= static_cast< byte
>(val2
);
8588 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8589 if (!SWIG_IsOK(ecode3
)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8592 arg3
= static_cast< byte
>(val3
);
8593 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8594 if (!SWIG_IsOK(ecode4
)) {
8595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8597 arg4
= static_cast< byte
>(val4
);
8598 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8599 if (!SWIG_IsOK(ecode5
)) {
8600 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8602 arg5
= static_cast< byte
>(val5
);
8604 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_Py_Void();
8614 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8615 PyObject
*resultobj
= 0;
8616 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8617 PyObject
*result
= 0 ;
8620 PyObject
*swig_obj
[1] ;
8622 if (!args
) SWIG_fail
;
8624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8625 if (!SWIG_IsOK(res1
)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8628 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8630 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8640 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8643 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8644 return SWIG_Py_Void();
8647 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8648 return SWIG_Python_InitShadowInstance(args
);
8651 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8652 PyObject
*resultobj
= 0;
8653 wxBitmap
*arg1
= 0 ;
8654 wxColour
const &arg2_defvalue
= wxNullColour
;
8655 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8656 wxMask
*result
= 0 ;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8662 char * kwnames
[] = {
8663 (char *) "bitmap",(char *) "colour", NULL
8666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8667 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8668 if (!SWIG_IsOK(res1
)) {
8669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8674 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8678 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8682 if (!wxPyCheckForApp()) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8695 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8696 PyObject
*resultobj
= 0;
8697 wxMask
*arg1
= (wxMask
*) 0 ;
8700 PyObject
*swig_obj
[1] ;
8702 if (!args
) SWIG_fail
;
8704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8705 if (!SWIG_IsOK(res1
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8708 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_Py_Void();
8721 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8724 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8725 return SWIG_Py_Void();
8728 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8729 return SWIG_Python_InitShadowInstance(args
);
8732 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= 0;
8734 wxString
*arg1
= 0 ;
8736 int arg3
= (int) -1 ;
8737 int arg4
= (int) -1 ;
8738 wxIcon
*result
= 0 ;
8739 bool temp1
= false ;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8748 PyObject
* obj2
= 0 ;
8749 PyObject
* obj3
= 0 ;
8750 char * kwnames
[] = {
8751 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8756 arg1
= wxString_in_helper(obj0
);
8757 if (arg1
== NULL
) SWIG_fail
;
8760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8761 if (!SWIG_IsOK(ecode2
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8764 arg2
= static_cast< wxBitmapType
>(val2
);
8766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8767 if (!SWIG_IsOK(ecode3
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8770 arg3
= static_cast< int >(val3
);
8773 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8774 if (!SWIG_IsOK(ecode4
)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8777 arg4
= static_cast< int >(val4
);
8780 if (!wxPyCheckForApp()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8801 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8802 PyObject
*resultobj
= 0;
8803 wxIcon
*arg1
= (wxIcon
*) 0 ;
8806 PyObject
*swig_obj
[1] ;
8808 if (!args
) SWIG_fail
;
8810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8811 if (!SWIG_IsOK(res1
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8814 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8830 PyObject
*resultobj
= 0;
8831 wxIcon
*result
= 0 ;
8833 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8835 if (!wxPyCheckForApp()) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (wxIcon
*)new wxIcon();
8838 wxPyEndAllowThreads(__tstate
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8848 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
= 0;
8850 wxIconLocation
*arg1
= 0 ;
8851 wxIcon
*result
= 0 ;
8854 PyObject
* obj0
= 0 ;
8855 char * kwnames
[] = {
8856 (char *) "loc", NULL
8859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8860 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8861 if (!SWIG_IsOK(res1
)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8867 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8869 if (!wxPyCheckForApp()) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8882 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
= 0;
8884 wxBitmap
*arg1
= 0 ;
8885 wxIcon
*result
= 0 ;
8888 PyObject
* obj0
= 0 ;
8889 char * kwnames
[] = {
8890 (char *) "bmp", NULL
8893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8895 if (!SWIG_IsOK(res1
)) {
8896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8901 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8903 if (!wxPyCheckForApp()) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8916 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
= 0;
8918 PyObject
*arg1
= (PyObject
*) 0 ;
8919 wxIcon
*result
= 0 ;
8920 PyObject
* obj0
= 0 ;
8921 char * kwnames
[] = {
8922 (char *) "listOfStrings", NULL
8925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8928 if (!wxPyCheckForApp()) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (wxIcon
*)new_wxIcon(arg1
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8941 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxIcon
*arg1
= (wxIcon
*) 0 ;
8944 wxString
*arg2
= 0 ;
8949 bool temp2
= false ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8955 char * kwnames
[] = {
8956 (char *) "self",(char *) "name",(char *) "type", NULL
8959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8964 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8966 arg2
= wxString_in_helper(obj1
);
8967 if (arg2
== NULL
) SWIG_fail
;
8970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8971 if (!SWIG_IsOK(ecode3
)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8974 arg3
= static_cast< wxBitmapType
>(val3
);
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8998 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8999 PyObject
*resultobj
= 0;
9000 wxIcon
*arg1
= (wxIcon
*) 0 ;
9004 PyObject
*swig_obj
[1] ;
9006 if (!args
) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9012 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 result
= (long)(arg1
)->GetHandle();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_From_long(static_cast< long >(result
));
9026 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
= 0;
9028 wxIcon
*arg1
= (wxIcon
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 char * kwnames
[] = {
9037 (char *) "self",(char *) "handle", NULL
9040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9042 if (!SWIG_IsOK(res1
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9045 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9046 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9047 if (!SWIG_IsOK(ecode2
)) {
9048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9050 arg2
= static_cast< long >(val2
);
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 wxIcon_SetHandle(arg1
,arg2
);
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_Py_Void();
9064 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9065 PyObject
*resultobj
= 0;
9066 wxIcon
*arg1
= (wxIcon
*) 0 ;
9070 PyObject
*swig_obj
[1] ;
9072 if (!args
) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
9078 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9081 result
= (bool)(arg1
)->Ok();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9094 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9095 PyObject
*resultobj
= 0;
9096 wxIcon
*arg1
= (wxIcon
*) 0 ;
9100 PyObject
*swig_obj
[1] ;
9102 if (!args
) SWIG_fail
;
9104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9105 if (!SWIG_IsOK(res1
)) {
9106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9108 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (int)(arg1
)->GetWidth();
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 resultobj
= SWIG_From_int(static_cast< int >(result
));
9122 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 PyObject
*resultobj
= 0;
9124 wxIcon
*arg1
= (wxIcon
*) 0 ;
9128 PyObject
*swig_obj
[1] ;
9130 if (!args
) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9136 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (int)(arg1
)->GetHeight();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_From_int(static_cast< int >(result
));
9150 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9151 PyObject
*resultobj
= 0;
9152 wxIcon
*arg1
= (wxIcon
*) 0 ;
9156 PyObject
*swig_obj
[1] ;
9158 if (!args
) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9164 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (int)(arg1
)->GetDepth();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_From_int(static_cast< int >(result
));
9178 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
= 0;
9180 wxIcon
*arg1
= (wxIcon
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "self",(char *) "w", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9197 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9199 if (!SWIG_IsOK(ecode2
)) {
9200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9202 arg2
= static_cast< int >(val2
);
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 (arg1
)->SetWidth(arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_Py_Void();
9216 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
= 0;
9218 wxIcon
*arg1
= (wxIcon
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9225 PyObject
* obj1
= 0 ;
9226 char * kwnames
[] = {
9227 (char *) "self",(char *) "h", NULL
9230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9232 if (!SWIG_IsOK(res1
)) {
9233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9235 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9237 if (!SWIG_IsOK(ecode2
)) {
9238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9240 arg2
= static_cast< int >(val2
);
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 (arg1
)->SetHeight(arg2
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_Py_Void();
9254 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxIcon
*arg1
= (wxIcon
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "d", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9273 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9275 if (!SWIG_IsOK(ecode2
)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9278 arg2
= static_cast< int >(val2
);
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 (arg1
)->SetDepth(arg2
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_Py_Void();
9292 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
= 0;
9294 wxIcon
*arg1
= (wxIcon
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9300 PyObject
* obj1
= 0 ;
9301 char * kwnames
[] = {
9302 (char *) "self",(char *) "size", NULL
9305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9310 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 (arg1
)->SetSize((wxSize
const &)*arg2
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_Py_Void();
9328 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxIcon
*arg1
= (wxIcon
*) 0 ;
9331 wxBitmap
*arg2
= 0 ;
9336 PyObject
* obj0
= 0 ;
9337 PyObject
* obj1
= 0 ;
9338 char * kwnames
[] = {
9339 (char *) "self",(char *) "bmp", NULL
9342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9344 if (!SWIG_IsOK(res1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9347 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9349 if (!SWIG_IsOK(res2
)) {
9350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9355 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_Py_Void();
9369 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9372 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9373 return SWIG_Py_Void();
9376 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9377 return SWIG_Python_InitShadowInstance(args
);
9380 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= 0;
9382 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9383 int arg2
= (int) 0 ;
9384 wxIconLocation
*result
= 0 ;
9385 bool temp1
= false ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 char * kwnames
[] = {
9391 (char *) "filename",(char *) "num", NULL
9394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9397 arg1
= wxString_in_helper(obj0
);
9398 if (arg1
== NULL
) SWIG_fail
;
9403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9404 if (!SWIG_IsOK(ecode2
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9407 arg2
= static_cast< int >(val2
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9430 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9431 PyObject
*resultobj
= 0;
9432 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9435 PyObject
*swig_obj
[1] ;
9437 if (!args
) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9443 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_Py_Void();
9458 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9459 PyObject
*resultobj
= 0;
9460 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9464 PyObject
*swig_obj
[1] ;
9466 if (!args
) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9472 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9488 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
= 0;
9490 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9491 wxString
*arg2
= 0 ;
9494 bool temp2
= false ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 char * kwnames
[] = {
9498 (char *) "self",(char *) "filename", NULL
9501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9503 if (!SWIG_IsOK(res1
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9506 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9508 arg2
= wxString_in_helper(obj1
);
9509 if (arg2
== NULL
) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 (arg1
)->SetFileName((wxString
const &)*arg2
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_Py_Void();
9533 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9534 PyObject
*resultobj
= 0;
9535 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9536 wxString
*result
= 0 ;
9539 PyObject
*swig_obj
[1] ;
9541 if (!args
) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9547 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9552 result
= (wxString
*) &_result_ref
;
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9561 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9570 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
= 0;
9572 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9579 PyObject
* obj1
= 0 ;
9580 char * kwnames
[] = {
9581 (char *) "self",(char *) "num", NULL
9584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9586 if (!SWIG_IsOK(res1
)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9589 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9591 if (!SWIG_IsOK(ecode2
)) {
9592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9594 arg2
= static_cast< int >(val2
);
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 wxIconLocation_SetIndex(arg1
,arg2
);
9598 wxPyEndAllowThreads(__tstate
);
9599 if (PyErr_Occurred()) SWIG_fail
;
9601 resultobj
= SWIG_Py_Void();
9608 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9609 PyObject
*resultobj
= 0;
9610 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9614 PyObject
*swig_obj
[1] ;
9616 if (!args
) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9622 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)wxIconLocation_GetIndex(arg1
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_From_int(static_cast< int >(result
));
9636 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9639 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9640 return SWIG_Py_Void();
9643 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9644 return SWIG_Python_InitShadowInstance(args
);
9647 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9648 PyObject
*resultobj
= 0;
9649 wxIconBundle
*result
= 0 ;
9651 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (wxIconBundle
*)new wxIconBundle();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9665 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
= 0;
9667 wxString
*arg1
= 0 ;
9669 wxIconBundle
*result
= 0 ;
9670 bool temp1
= false ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 char * kwnames
[] = {
9676 (char *) "file",(char *) "type", NULL
9679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 arg1
= wxString_in_helper(obj0
);
9682 if (arg1
== NULL
) SWIG_fail
;
9685 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9686 if (!SWIG_IsOK(ecode2
)) {
9687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9689 arg2
= static_cast< long >(val2
);
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9711 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
= 0;
9714 wxIconBundle
*result
= 0 ;
9717 PyObject
* obj0
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "icon", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9730 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9744 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 PyObject
*resultobj
= 0;
9746 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9749 PyObject
*swig_obj
[1] ;
9751 if (!args
) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9757 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_Py_Void();
9772 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
= 0;
9774 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 char * kwnames
[] = {
9783 (char *) "self",(char *) "icon", NULL
9786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9788 if (!SWIG_IsOK(res1
)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9791 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9793 if (!SWIG_IsOK(res2
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9799 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_Py_Void();
9813 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9816 wxString
*arg2
= 0 ;
9820 bool temp2
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 PyObject
* obj2
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "self",(char *) "file",(char *) "type", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9835 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9837 arg2
= wxString_in_helper(obj1
);
9838 if (arg2
== NULL
) SWIG_fail
;
9841 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9842 if (!SWIG_IsOK(ecode3
)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9845 arg3
= static_cast< long >(val3
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_Py_Void();
9867 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
= 0;
9869 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9871 wxIcon
*result
= 0 ;
9875 PyObject
* obj0
= 0 ;
9876 PyObject
* obj1
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "size", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9886 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9895 result
= (wxIcon
*) &_result_ref
;
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9901 wxIcon
* resultptr
= new wxIcon(*result
);
9902 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9910 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9913 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9914 return SWIG_Py_Void();
9917 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 return SWIG_Python_InitShadowInstance(args
);
9921 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= 0;
9923 wxString
*arg1
= 0 ;
9925 int arg3
= (int) 0 ;
9926 int arg4
= (int) 0 ;
9927 wxCursor
*result
= 0 ;
9928 bool temp1
= false ;
9935 PyObject
* obj0
= 0 ;
9936 PyObject
* obj1
= 0 ;
9937 PyObject
* obj2
= 0 ;
9938 PyObject
* obj3
= 0 ;
9939 char * kwnames
[] = {
9940 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9945 arg1
= wxString_in_helper(obj0
);
9946 if (arg1
== NULL
) SWIG_fail
;
9949 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9950 if (!SWIG_IsOK(ecode2
)) {
9951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9953 arg2
= static_cast< long >(val2
);
9955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9956 if (!SWIG_IsOK(ecode3
)) {
9957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9959 arg3
= static_cast< int >(val3
);
9962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9963 if (!SWIG_IsOK(ecode4
)) {
9964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9966 arg4
= static_cast< int >(val4
);
9969 if (!wxPyCheckForApp()) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9990 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9991 PyObject
*resultobj
= 0;
9992 wxCursor
*arg1
= (wxCursor
*) 0 ;
9995 PyObject
*swig_obj
[1] ;
9997 if (!args
) SWIG_fail
;
9999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10000 if (!SWIG_IsOK(res1
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10003 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_Py_Void();
10018 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
= 0;
10021 wxCursor
*result
= 0 ;
10024 PyObject
* obj0
= 0 ;
10025 char * kwnames
[] = {
10026 (char *) "id", NULL
10029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10031 if (!SWIG_IsOK(ecode1
)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10034 arg1
= static_cast< int >(val1
);
10036 if (!wxPyCheckForApp()) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= (wxCursor
*)new wxCursor(arg1
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10049 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
= 0;
10051 wxImage
*arg1
= 0 ;
10052 wxCursor
*result
= 0 ;
10055 PyObject
* obj0
= 0 ;
10056 char * kwnames
[] = {
10057 (char *) "image", NULL
10060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10061 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10062 if (!SWIG_IsOK(res1
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10068 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10070 if (!wxPyCheckForApp()) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10083 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10084 PyObject
*resultobj
= 0;
10085 wxCursor
*arg1
= (wxCursor
*) 0 ;
10089 PyObject
*swig_obj
[1] ;
10091 if (!args
) SWIG_fail
;
10092 swig_obj
[0] = args
;
10093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10097 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 result
= (long)(arg1
)->GetHandle();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_From_long(static_cast< long >(result
));
10111 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
= 0;
10113 wxCursor
*arg1
= (wxCursor
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 char * kwnames
[] = {
10122 (char *) "self",(char *) "handle", NULL
10125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10130 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10131 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10132 if (!SWIG_IsOK(ecode2
)) {
10133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10135 arg2
= static_cast< long >(val2
);
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 wxCursor_SetHandle(arg1
,arg2
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_Py_Void();
10149 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10150 PyObject
*resultobj
= 0;
10151 wxCursor
*arg1
= (wxCursor
*) 0 ;
10155 PyObject
*swig_obj
[1] ;
10157 if (!args
) SWIG_fail
;
10158 swig_obj
[0] = args
;
10159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
10163 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (bool)(arg1
)->Ok();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10179 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10180 PyObject
*resultobj
= 0;
10181 wxCursor
*arg1
= (wxCursor
*) 0 ;
10185 PyObject
*swig_obj
[1] ;
10187 if (!args
) SWIG_fail
;
10188 swig_obj
[0] = args
;
10189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10190 if (!SWIG_IsOK(res1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10193 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)(arg1
)->GetWidth();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_From_int(static_cast< int >(result
));
10207 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10208 PyObject
*resultobj
= 0;
10209 wxCursor
*arg1
= (wxCursor
*) 0 ;
10213 PyObject
*swig_obj
[1] ;
10215 if (!args
) SWIG_fail
;
10216 swig_obj
[0] = args
;
10217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10218 if (!SWIG_IsOK(res1
)) {
10219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10221 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (int)(arg1
)->GetHeight();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_From_int(static_cast< int >(result
));
10235 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10236 PyObject
*resultobj
= 0;
10237 wxCursor
*arg1
= (wxCursor
*) 0 ;
10241 PyObject
*swig_obj
[1] ;
10243 if (!args
) SWIG_fail
;
10244 swig_obj
[0] = args
;
10245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10249 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (int)(arg1
)->GetDepth();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_From_int(static_cast< int >(result
));
10263 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
= 0;
10265 wxCursor
*arg1
= (wxCursor
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 char * kwnames
[] = {
10274 (char *) "self",(char *) "w", NULL
10277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10279 if (!SWIG_IsOK(res1
)) {
10280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10282 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10284 if (!SWIG_IsOK(ecode2
)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10287 arg2
= static_cast< int >(val2
);
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 (arg1
)->SetWidth(arg2
);
10291 wxPyEndAllowThreads(__tstate
);
10292 if (PyErr_Occurred()) SWIG_fail
;
10294 resultobj
= SWIG_Py_Void();
10301 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
= 0;
10303 wxCursor
*arg1
= (wxCursor
*) 0 ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char * kwnames
[] = {
10312 (char *) "self",(char *) "h", NULL
10315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10320 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10322 if (!SWIG_IsOK(ecode2
)) {
10323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10325 arg2
= static_cast< int >(val2
);
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 (arg1
)->SetHeight(arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_Py_Void();
10339 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
= 0;
10341 wxCursor
*arg1
= (wxCursor
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char * kwnames
[] = {
10350 (char *) "self",(char *) "d", NULL
10353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10355 if (!SWIG_IsOK(res1
)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10358 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10360 if (!SWIG_IsOK(ecode2
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10363 arg2
= static_cast< int >(val2
);
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 (arg1
)->SetDepth(arg2
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= SWIG_Py_Void();
10377 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
= 0;
10379 wxCursor
*arg1
= (wxCursor
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 char * kwnames
[] = {
10387 (char *) "self",(char *) "size", NULL
10390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10392 if (!SWIG_IsOK(res1
)) {
10393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10395 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10398 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 (arg1
)->SetSize((wxSize
const &)*arg2
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_Py_Void();
10413 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10416 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10417 return SWIG_Py_Void();
10420 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 return SWIG_Python_InitShadowInstance(args
);
10424 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 int arg1
= (int) 0 ;
10427 int arg2
= (int) 0 ;
10428 int arg3
= (int) 0 ;
10429 int arg4
= (int) 0 ;
10430 wxRegion
*result
= 0 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10450 if (!SWIG_IsOK(ecode1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10453 arg1
= static_cast< int >(val1
);
10456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10457 if (!SWIG_IsOK(ecode2
)) {
10458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10460 arg2
= static_cast< int >(val2
);
10463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10464 if (!SWIG_IsOK(ecode3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10467 arg3
= static_cast< int >(val3
);
10470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10471 if (!SWIG_IsOK(ecode4
)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10474 arg4
= static_cast< int >(val4
);
10477 if (!wxPyCheckForApp()) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10490 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
= 0;
10492 wxBitmap
*arg1
= 0 ;
10493 wxRegion
*result
= 0 ;
10496 PyObject
* obj0
= 0 ;
10497 char * kwnames
[] = {
10498 (char *) "bmp", NULL
10501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10502 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10511 if (!wxPyCheckForApp()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10524 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
= 0;
10526 wxBitmap
*arg1
= 0 ;
10527 wxColour
*arg2
= 0 ;
10528 int arg3
= (int) 0 ;
10529 wxRegion
*result
= 0 ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 PyObject
* obj2
= 0 ;
10538 char * kwnames
[] = {
10539 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10543 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10544 if (!SWIG_IsOK(res1
)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10553 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10557 if (!SWIG_IsOK(ecode3
)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10560 arg3
= static_cast< int >(val3
);
10563 if (!wxPyCheckForApp()) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10576 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
= 0;
10579 wxPoint
*arg2
= (wxPoint
*) 0 ;
10580 int arg3
= (int) wxWINDING_RULE
;
10581 wxRegion
*result
= 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "points",(char *) "fillStyle", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10592 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10593 if (arg2
== NULL
) SWIG_fail
;
10596 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10597 if (!SWIG_IsOK(ecode3
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10600 arg3
= static_cast< int >(val3
);
10603 if (!wxPyCheckForApp()) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10611 if (arg2
) delete [] arg2
;
10616 if (arg2
) delete [] arg2
;
10622 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10623 PyObject
*resultobj
= 0;
10624 wxRegion
*arg1
= (wxRegion
*) 0 ;
10627 PyObject
*swig_obj
[1] ;
10629 if (!args
) SWIG_fail
;
10630 swig_obj
[0] = args
;
10631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10635 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_Py_Void();
10650 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10651 PyObject
*resultobj
= 0;
10652 wxRegion
*arg1
= (wxRegion
*) 0 ;
10655 PyObject
*swig_obj
[1] ;
10657 if (!args
) SWIG_fail
;
10658 swig_obj
[0] = args
;
10659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10660 if (!SWIG_IsOK(res1
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10663 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_Py_Void();
10677 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
= 0;
10679 wxRegion
*arg1
= (wxRegion
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 char * kwnames
[] = {
10693 (char *) "self",(char *) "x",(char *) "y", NULL
10696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10698 if (!SWIG_IsOK(res1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10703 if (!SWIG_IsOK(ecode2
)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10706 arg2
= static_cast< int >(val2
);
10707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10708 if (!SWIG_IsOK(ecode3
)) {
10709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10711 arg3
= static_cast< int >(val3
);
10713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10714 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10727 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
= 0;
10729 wxRegion
*arg1
= (wxRegion
*) 0 ;
10732 wxRegionContain result
;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 char * kwnames
[] = {
10743 (char *) "self",(char *) "x",(char *) "y", NULL
10746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10751 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10753 if (!SWIG_IsOK(ecode2
)) {
10754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10756 arg2
= static_cast< int >(val2
);
10757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10758 if (!SWIG_IsOK(ecode3
)) {
10759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10761 arg3
= static_cast< int >(val3
);
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_From_int(static_cast< int >(result
));
10775 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
= 0;
10777 wxRegion
*arg1
= (wxRegion
*) 0 ;
10778 wxPoint
*arg2
= 0 ;
10779 wxRegionContain result
;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "pt", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10794 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= SWIG_From_int(static_cast< int >(result
));
10812 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
= 0;
10814 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 wxRegionContain result
;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "self",(char *) "rect", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10831 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10834 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_From_int(static_cast< int >(result
));
10849 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= 0;
10851 wxRegion
*arg1
= (wxRegion
*) 0 ;
10856 wxRegionContain result
;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 PyObject
* obj3
= 0 ;
10871 PyObject
* obj4
= 0 ;
10872 char * kwnames
[] = {
10873 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10878 if (!SWIG_IsOK(res1
)) {
10879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10881 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10883 if (!SWIG_IsOK(ecode2
)) {
10884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10886 arg2
= static_cast< int >(val2
);
10887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10888 if (!SWIG_IsOK(ecode3
)) {
10889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10891 arg3
= static_cast< int >(val3
);
10892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10893 if (!SWIG_IsOK(ecode4
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10896 arg4
= static_cast< int >(val4
);
10897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10898 if (!SWIG_IsOK(ecode5
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10901 arg5
= static_cast< int >(val5
);
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= SWIG_From_int(static_cast< int >(result
));
10915 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10916 PyObject
*resultobj
= 0;
10917 wxRegion
*arg1
= (wxRegion
*) 0 ;
10921 PyObject
*swig_obj
[1] ;
10923 if (!args
) SWIG_fail
;
10924 swig_obj
[0] = args
;
10925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10926 if (!SWIG_IsOK(res1
)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10929 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (arg1
)->GetBox();
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10943 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
= 0;
10945 wxRegion
*arg1
= (wxRegion
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 PyObject
* obj1
= 0 ;
10963 PyObject
* obj2
= 0 ;
10964 PyObject
* obj3
= 0 ;
10965 PyObject
* obj4
= 0 ;
10966 char * kwnames
[] = {
10967 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10972 if (!SWIG_IsOK(res1
)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10975 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10977 if (!SWIG_IsOK(ecode2
)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10980 arg2
= static_cast< int >(val2
);
10981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10982 if (!SWIG_IsOK(ecode3
)) {
10983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10985 arg3
= static_cast< int >(val3
);
10986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10987 if (!SWIG_IsOK(ecode4
)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10990 arg4
= static_cast< int >(val4
);
10991 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10992 if (!SWIG_IsOK(ecode5
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10995 arg5
= static_cast< int >(val5
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxRegion
*arg1
= (wxRegion
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char * kwnames
[] = {
11022 (char *) "self",(char *) "rect", NULL
11025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11030 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11033 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11050 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
= 0;
11052 wxRegion
*arg1
= (wxRegion
*) 0 ;
11053 wxRegion
*arg2
= 0 ;
11059 PyObject
* obj0
= 0 ;
11060 PyObject
* obj1
= 0 ;
11061 char * kwnames
[] = {
11062 (char *) "self",(char *) "region", NULL
11065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11067 if (!SWIG_IsOK(res1
)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11070 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11072 if (!SWIG_IsOK(res2
)) {
11073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11078 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11095 PyObject
*resultobj
= 0;
11096 wxRegion
*arg1
= (wxRegion
*) 0 ;
11100 PyObject
*swig_obj
[1] ;
11102 if (!args
) SWIG_fail
;
11103 swig_obj
[0] = args
;
11104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11105 if (!SWIG_IsOK(res1
)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11108 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (bool)(arg1
)->IsEmpty();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11124 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
= 0;
11126 wxRegion
*arg1
= (wxRegion
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 PyObject
* obj3
= 0 ;
11146 PyObject
* obj4
= 0 ;
11147 char * kwnames
[] = {
11148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11153 if (!SWIG_IsOK(res1
)) {
11154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11156 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11158 if (!SWIG_IsOK(ecode2
)) {
11159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11161 arg2
= static_cast< int >(val2
);
11162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11163 if (!SWIG_IsOK(ecode3
)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11166 arg3
= static_cast< int >(val3
);
11167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11168 if (!SWIG_IsOK(ecode4
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11171 arg4
= static_cast< int >(val4
);
11172 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11173 if (!SWIG_IsOK(ecode5
)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11176 arg5
= static_cast< int >(val5
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11192 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxRegion
*arg1
= (wxRegion
*) 0 ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char * kwnames
[] = {
11203 (char *) "self",(char *) "rect", NULL
11206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11211 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11214 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11231 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxRegion
*arg1
= (wxRegion
*) 0 ;
11234 wxRegion
*arg2
= 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 char * kwnames
[] = {
11243 (char *) "self",(char *) "region", NULL
11246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11248 if (!SWIG_IsOK(res1
)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11251 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11253 if (!SWIG_IsOK(res2
)) {
11254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11259 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11275 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
= 0;
11277 wxRegion
*arg1
= (wxRegion
*) 0 ;
11293 PyObject
* obj0
= 0 ;
11294 PyObject
* obj1
= 0 ;
11295 PyObject
* obj2
= 0 ;
11296 PyObject
* obj3
= 0 ;
11297 PyObject
* obj4
= 0 ;
11298 char * kwnames
[] = {
11299 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11304 if (!SWIG_IsOK(res1
)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11307 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11309 if (!SWIG_IsOK(ecode2
)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11312 arg2
= static_cast< int >(val2
);
11313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11314 if (!SWIG_IsOK(ecode3
)) {
11315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11317 arg3
= static_cast< int >(val3
);
11318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11319 if (!SWIG_IsOK(ecode4
)) {
11320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11322 arg4
= static_cast< int >(val4
);
11323 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11324 if (!SWIG_IsOK(ecode5
)) {
11325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11327 arg5
= static_cast< int >(val5
);
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11343 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
= 0;
11345 wxRegion
*arg1
= (wxRegion
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 PyObject
* obj1
= 0 ;
11353 char * kwnames
[] = {
11354 (char *) "self",(char *) "rect", NULL
11357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11362 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11382 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
= 0;
11384 wxRegion
*arg1
= (wxRegion
*) 0 ;
11385 wxRegion
*arg2
= 0 ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 char * kwnames
[] = {
11394 (char *) "self",(char *) "region", NULL
11397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11399 if (!SWIG_IsOK(res1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11402 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11404 if (!SWIG_IsOK(res2
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11410 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11426 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
= 0;
11428 wxRegion
*arg1
= (wxRegion
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 PyObject
* obj2
= 0 ;
11447 PyObject
* obj3
= 0 ;
11448 PyObject
* obj4
= 0 ;
11449 char * kwnames
[] = {
11450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11455 if (!SWIG_IsOK(res1
)) {
11456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11458 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11460 if (!SWIG_IsOK(ecode2
)) {
11461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11463 arg2
= static_cast< int >(val2
);
11464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11465 if (!SWIG_IsOK(ecode3
)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11468 arg3
= static_cast< int >(val3
);
11469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11470 if (!SWIG_IsOK(ecode4
)) {
11471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11473 arg4
= static_cast< int >(val4
);
11474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11475 if (!SWIG_IsOK(ecode5
)) {
11476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11478 arg5
= static_cast< int >(val5
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11494 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
= 0;
11496 wxRegion
*arg1
= (wxRegion
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 char * kwnames
[] = {
11505 (char *) "self",(char *) "rect", NULL
11508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11510 if (!SWIG_IsOK(res1
)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11513 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11516 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11533 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
= 0;
11535 wxRegion
*arg1
= (wxRegion
*) 0 ;
11536 wxRegion
*arg2
= 0 ;
11542 PyObject
* obj0
= 0 ;
11543 PyObject
* obj1
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "self",(char *) "region", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11553 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11555 if (!SWIG_IsOK(res2
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11561 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11577 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11578 PyObject
*resultobj
= 0;
11579 wxRegion
*arg1
= (wxRegion
*) 0 ;
11580 SwigValueWrapper
<wxBitmap
> result
;
11583 PyObject
*swig_obj
[1] ;
11585 if (!args
) SWIG_fail
;
11586 swig_obj
[0] = args
;
11587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11591 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (arg1
)->ConvertToBitmap();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11605 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
= 0;
11607 wxRegion
*arg1
= (wxRegion
*) 0 ;
11608 wxBitmap
*arg2
= 0 ;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 char * kwnames
[] = {
11617 (char *) "self",(char *) "bmp", NULL
11620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11622 if (!SWIG_IsOK(res1
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11625 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11627 if (!SWIG_IsOK(res2
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11633 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11649 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= 0;
11651 wxRegion
*arg1
= (wxRegion
*) 0 ;
11652 wxBitmap
*arg2
= 0 ;
11653 wxColour
*arg3
= 0 ;
11654 int arg4
= (int) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 PyObject
* obj1
= 0 ;
11665 PyObject
* obj2
= 0 ;
11666 PyObject
* obj3
= 0 ;
11667 char * kwnames
[] = {
11668 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11676 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11678 if (!SWIG_IsOK(res2
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11684 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11687 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11691 if (!SWIG_IsOK(ecode4
)) {
11692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11694 arg4
= static_cast< int >(val4
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11711 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11714 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11715 return SWIG_Py_Void();
11718 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11719 return SWIG_Python_InitShadowInstance(args
);
11722 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
= 0;
11724 wxRegion
*arg1
= 0 ;
11725 wxRegionIterator
*result
= 0 ;
11728 PyObject
* obj0
= 0 ;
11729 char * kwnames
[] = {
11730 (char *) "region", NULL
11733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11734 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11735 if (!SWIG_IsOK(res1
)) {
11736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11741 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11743 if (!wxPyCheckForApp()) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11756 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11757 PyObject
*resultobj
= 0;
11758 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11761 PyObject
*swig_obj
[1] ;
11763 if (!args
) SWIG_fail
;
11764 swig_obj
[0] = args
;
11765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11769 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_Py_Void();
11784 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11798 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (int)(arg1
)->GetX();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int(static_cast< int >(result
));
11812 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11813 PyObject
*resultobj
= 0;
11814 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11818 PyObject
*swig_obj
[1] ;
11820 if (!args
) SWIG_fail
;
11821 swig_obj
[0] = args
;
11822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11823 if (!SWIG_IsOK(res1
)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11826 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (int)(arg1
)->GetY();
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= SWIG_From_int(static_cast< int >(result
));
11840 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11841 PyObject
*resultobj
= 0;
11842 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11846 PyObject
*swig_obj
[1] ;
11848 if (!args
) SWIG_fail
;
11849 swig_obj
[0] = args
;
11850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11854 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (int)(arg1
)->GetW();
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= SWIG_From_int(static_cast< int >(result
));
11868 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11869 PyObject
*resultobj
= 0;
11870 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11874 PyObject
*swig_obj
[1] ;
11876 if (!args
) SWIG_fail
;
11877 swig_obj
[0] = args
;
11878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11879 if (!SWIG_IsOK(res1
)) {
11880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11882 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11885 result
= (int)(arg1
)->GetWidth();
11886 wxPyEndAllowThreads(__tstate
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= SWIG_From_int(static_cast< int >(result
));
11896 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11897 PyObject
*resultobj
= 0;
11898 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11902 PyObject
*swig_obj
[1] ;
11904 if (!args
) SWIG_fail
;
11905 swig_obj
[0] = args
;
11906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11910 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (int)(arg1
)->GetH();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= SWIG_From_int(static_cast< int >(result
));
11924 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11925 PyObject
*resultobj
= 0;
11926 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11930 PyObject
*swig_obj
[1] ;
11932 if (!args
) SWIG_fail
;
11933 swig_obj
[0] = args
;
11934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11938 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (int)(arg1
)->GetHeight();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= SWIG_From_int(static_cast< int >(result
));
11952 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11953 PyObject
*resultobj
= 0;
11954 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11958 PyObject
*swig_obj
[1] ;
11960 if (!args
) SWIG_fail
;
11961 swig_obj
[0] = args
;
11962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11966 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (arg1
)->GetRect();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11980 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11981 PyObject
*resultobj
= 0;
11982 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11986 PyObject
*swig_obj
[1] ;
11988 if (!args
) SWIG_fail
;
11989 swig_obj
[0] = args
;
11990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11991 if (!SWIG_IsOK(res1
)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11994 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)(arg1
)->HaveRects();
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12010 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12011 PyObject
*resultobj
= 0;
12012 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12015 PyObject
*swig_obj
[1] ;
12017 if (!args
) SWIG_fail
;
12018 swig_obj
[0] = args
;
12019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12023 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_Py_Void();
12037 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 PyObject
*resultobj
= 0;
12039 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12042 PyObject
*swig_obj
[1] ;
12044 if (!args
) SWIG_fail
;
12045 swig_obj
[0] = args
;
12046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12047 if (!SWIG_IsOK(res1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12050 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 wxRegionIterator_Next(arg1
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_Py_Void();
12064 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12065 PyObject
*resultobj
= 0;
12066 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12070 PyObject
*swig_obj
[1] ;
12072 if (!args
) SWIG_fail
;
12073 swig_obj
[0] = args
;
12074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12078 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12094 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12097 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12098 return SWIG_Py_Void();
12101 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 return SWIG_Python_InitShadowInstance(args
);
12105 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12106 PyObject
*resultobj
= 0;
12107 wxNativeFontInfo
*result
= 0 ;
12109 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12123 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12124 PyObject
*resultobj
= 0;
12125 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12128 PyObject
*swig_obj
[1] ;
12130 if (!args
) SWIG_fail
;
12131 swig_obj
[0] = args
;
12132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12136 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_Py_Void();
12151 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 PyObject
*resultobj
= 0;
12153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12156 PyObject
*swig_obj
[1] ;
12158 if (!args
) SWIG_fail
;
12159 swig_obj
[0] = args
;
12160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12161 if (!SWIG_IsOK(res1
)) {
12162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12164 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= SWIG_Py_Void();
12178 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
= 0;
12180 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 PyObject
* obj1
= 0 ;
12188 char * kwnames
[] = {
12189 (char *) "self",(char *) "font", NULL
12192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12194 if (!SWIG_IsOK(res1
)) {
12195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12197 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12199 if (!SWIG_IsOK(res2
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12205 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= SWIG_Py_Void();
12219 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12220 PyObject
*resultobj
= 0;
12221 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12225 PyObject
*swig_obj
[1] ;
12227 if (!args
) SWIG_fail
;
12228 swig_obj
[0] = args
;
12229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12230 if (!SWIG_IsOK(res1
)) {
12231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12233 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= SWIG_From_int(static_cast< int >(result
));
12247 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12261 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12275 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12276 PyObject
*resultobj
= 0;
12277 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12278 wxFontStyle result
;
12281 PyObject
*swig_obj
[1] ;
12283 if (!args
) SWIG_fail
;
12284 swig_obj
[0] = args
;
12285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12289 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_From_int(static_cast< int >(result
));
12303 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12306 wxFontWeight result
;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12317 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_From_int(static_cast< int >(result
));
12331 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12345 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12361 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12362 PyObject
*resultobj
= 0;
12363 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12367 PyObject
*swig_obj
[1] ;
12369 if (!args
) SWIG_fail
;
12370 swig_obj
[0] = args
;
12371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12372 if (!SWIG_IsOK(res1
)) {
12373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12375 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12395 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12396 PyObject
*resultobj
= 0;
12397 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12398 wxFontFamily result
;
12401 PyObject
*swig_obj
[1] ;
12403 if (!args
) SWIG_fail
;
12404 swig_obj
[0] = args
;
12405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12406 if (!SWIG_IsOK(res1
)) {
12407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12409 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_From_int(static_cast< int >(result
));
12423 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12424 PyObject
*resultobj
= 0;
12425 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12426 wxFontEncoding result
;
12429 PyObject
*swig_obj
[1] ;
12431 if (!args
) SWIG_fail
;
12432 swig_obj
[0] = args
;
12433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12434 if (!SWIG_IsOK(res1
)) {
12435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12437 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12441 wxPyEndAllowThreads(__tstate
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_From_int(static_cast< int >(result
));
12451 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= 0;
12453 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 PyObject
* obj1
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "pointsize", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12470 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12475 arg2
= static_cast< int >(val2
);
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 (arg1
)->SetPointSize(arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= SWIG_Py_Void();
12489 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
= 0;
12491 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char * kwnames
[] = {
12499 (char *) "self",(char *) "pixelSize", NULL
12502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12507 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12510 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_Py_Void();
12525 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
= 0;
12527 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "self",(char *) "style", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12544 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12546 if (!SWIG_IsOK(ecode2
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12549 arg2
= static_cast< wxFontStyle
>(val2
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->SetStyle(arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12566 wxFontWeight arg2
;
12571 PyObject
* obj0
= 0 ;
12572 PyObject
* obj1
= 0 ;
12573 char * kwnames
[] = {
12574 (char *) "self",(char *) "weight", NULL
12577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12579 if (!SWIG_IsOK(res1
)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12582 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12584 if (!SWIG_IsOK(ecode2
)) {
12585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12587 arg2
= static_cast< wxFontWeight
>(val2
);
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 (arg1
)->SetWeight(arg2
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= SWIG_Py_Void();
12601 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
= 0;
12603 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12609 PyObject
* obj0
= 0 ;
12610 PyObject
* obj1
= 0 ;
12611 char * kwnames
[] = {
12612 (char *) "self",(char *) "underlined", NULL
12615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12617 if (!SWIG_IsOK(res1
)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12620 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12621 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12622 if (!SWIG_IsOK(ecode2
)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12625 arg2
= static_cast< bool >(val2
);
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->SetUnderlined(arg2
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char * kwnames
[] = {
12649 (char *) "self",(char *) "facename", NULL
12652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12654 if (!SWIG_IsOK(res1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12657 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12659 wxString
* sptr
= wxString_in_helper(obj1
);
12660 if (sptr
== NULL
) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 result
= (bool)(arg1
)->SetFaceName(arg2
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12679 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12682 wxFontFamily arg2
;
12687 PyObject
* obj0
= 0 ;
12688 PyObject
* obj1
= 0 ;
12689 char * kwnames
[] = {
12690 (char *) "self",(char *) "family", NULL
12693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12695 if (!SWIG_IsOK(res1
)) {
12696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12698 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12700 if (!SWIG_IsOK(ecode2
)) {
12701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12703 arg2
= static_cast< wxFontFamily
>(val2
);
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetFamily(arg2
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_Py_Void();
12717 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
= 0;
12719 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12720 wxFontEncoding arg2
;
12725 PyObject
* obj0
= 0 ;
12726 PyObject
* obj1
= 0 ;
12727 char * kwnames
[] = {
12728 (char *) "self",(char *) "encoding", NULL
12731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12736 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12738 if (!SWIG_IsOK(ecode2
)) {
12739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12741 arg2
= static_cast< wxFontEncoding
>(val2
);
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 (arg1
)->SetEncoding(arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_Py_Void();
12755 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= 0;
12757 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12758 wxString
*arg2
= 0 ;
12762 bool temp2
= false ;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 char * kwnames
[] = {
12766 (char *) "self",(char *) "s", NULL
12769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12771 if (!SWIG_IsOK(res1
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12774 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12776 arg2
= wxString_in_helper(obj1
);
12777 if (arg2
== NULL
) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12803 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12804 PyObject
*resultobj
= 0;
12805 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12809 PyObject
*swig_obj
[1] ;
12811 if (!args
) SWIG_fail
;
12812 swig_obj
[0] = args
;
12813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12817 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12837 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12838 PyObject
*resultobj
= 0;
12839 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12843 PyObject
*swig_obj
[1] ;
12845 if (!args
) SWIG_fail
;
12846 swig_obj
[0] = args
;
12847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12848 if (!SWIG_IsOK(res1
)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12851 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= wxNativeFontInfo___str__(arg1
);
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12871 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
= 0;
12873 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12874 wxString
*arg2
= 0 ;
12878 bool temp2
= false ;
12879 PyObject
* obj0
= 0 ;
12880 PyObject
* obj1
= 0 ;
12881 char * kwnames
[] = {
12882 (char *) "self",(char *) "s", NULL
12885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12890 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12892 arg2
= wxString_in_helper(obj1
);
12893 if (arg2
== NULL
) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12919 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12920 PyObject
*resultobj
= 0;
12921 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12925 PyObject
*swig_obj
[1] ;
12927 if (!args
) SWIG_fail
;
12928 swig_obj
[0] = args
;
12929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12933 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12953 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12956 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12957 return SWIG_Py_Void();
12960 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 return SWIG_Python_InitShadowInstance(args
);
12964 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12965 PyObject
*resultobj
= 0;
12966 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12967 wxString
*arg2
= (wxString
*) 0 ;
12970 bool temp2
= false ;
12971 PyObject
*swig_obj
[2] ;
12973 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12975 if (!SWIG_IsOK(res1
)) {
12976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12978 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12980 arg2
= wxString_in_helper(swig_obj
[1]);
12981 if (arg2
== NULL
) SWIG_fail
;
12984 if (arg1
) (arg1
)->facename
= *arg2
;
12986 resultobj
= SWIG_Py_Void();
13001 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 PyObject
*resultobj
= 0;
13003 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13004 wxString
*result
= 0 ;
13007 PyObject
*swig_obj
[1] ;
13009 if (!args
) SWIG_fail
;
13010 swig_obj
[0] = args
;
13011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13012 if (!SWIG_IsOK(res1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13015 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13016 result
= (wxString
*)& ((arg1
)->facename
);
13019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13030 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13031 PyObject
*resultobj
= 0;
13032 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13033 wxFontEncoding arg2
;
13038 PyObject
*swig_obj
[2] ;
13040 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13045 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13046 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13047 if (!SWIG_IsOK(ecode2
)) {
13048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13050 arg2
= static_cast< wxFontEncoding
>(val2
);
13051 if (arg1
) (arg1
)->encoding
= arg2
;
13053 resultobj
= SWIG_Py_Void();
13060 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13061 PyObject
*resultobj
= 0;
13062 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13063 wxFontEncoding result
;
13066 PyObject
*swig_obj
[1] ;
13068 if (!args
) SWIG_fail
;
13069 swig_obj
[0] = args
;
13070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13074 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13075 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13076 resultobj
= SWIG_From_int(static_cast< int >(result
));
13083 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13084 PyObject
*resultobj
= 0;
13085 wxNativeEncodingInfo
*result
= 0 ;
13087 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13101 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13102 PyObject
*resultobj
= 0;
13103 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13106 PyObject
*swig_obj
[1] ;
13108 if (!args
) SWIG_fail
;
13109 swig_obj
[0] = args
;
13110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13111 if (!SWIG_IsOK(res1
)) {
13112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13114 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_Py_Void();
13129 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
= 0;
13131 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13132 wxString
*arg2
= 0 ;
13136 bool temp2
= false ;
13137 PyObject
* obj0
= 0 ;
13138 PyObject
* obj1
= 0 ;
13139 char * kwnames
[] = {
13140 (char *) "self",(char *) "s", NULL
13143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13148 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13150 arg2
= wxString_in_helper(obj1
);
13151 if (arg2
== NULL
) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13177 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 PyObject
*resultobj
= 0;
13179 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13183 PyObject
*swig_obj
[1] ;
13185 if (!args
) SWIG_fail
;
13186 swig_obj
[0] = args
;
13187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13191 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13211 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13214 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13215 return SWIG_Py_Void();
13218 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 return SWIG_Python_InitShadowInstance(args
);
13222 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
= 0;
13224 wxFontEncoding arg1
;
13225 wxNativeEncodingInfo
*result
= 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char * kwnames
[] = {
13230 (char *) "encoding", NULL
13233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13235 if (!SWIG_IsOK(ecode1
)) {
13236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13238 arg1
= static_cast< wxFontEncoding
>(val1
);
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13252 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
= 0;
13254 wxNativeEncodingInfo
*arg1
= 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char * kwnames
[] = {
13260 (char *) "info", NULL
13263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13264 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13265 if (!SWIG_IsOK(res1
)) {
13266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13271 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13288 PyObject
*resultobj
= 0;
13289 wxFontMapper
*result
= 0 ;
13291 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxFontMapper
*)new wxFontMapper();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13305 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13306 PyObject
*resultobj
= 0;
13307 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13310 PyObject
*swig_obj
[1] ;
13312 if (!args
) SWIG_fail
;
13313 swig_obj
[0] = args
;
13314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13315 if (!SWIG_IsOK(res1
)) {
13316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13318 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_Py_Void();
13333 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13334 PyObject
*resultobj
= 0;
13335 wxFontMapper
*result
= 0 ;
13337 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (wxFontMapper
*)wxFontMapper::Get();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13351 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
= 0;
13353 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13354 wxFontMapper
*result
= 0 ;
13357 PyObject
* obj0
= 0 ;
13358 char * kwnames
[] = {
13359 (char *) "mapper", NULL
13362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13367 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13381 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13384 wxString
*arg2
= 0 ;
13385 bool arg3
= (bool) true ;
13386 wxFontEncoding result
;
13389 bool temp2
= false ;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 PyObject
* obj2
= 0 ;
13395 char * kwnames
[] = {
13396 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13401 if (!SWIG_IsOK(res1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13404 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13406 arg2
= wxString_in_helper(obj1
);
13407 if (arg2
== NULL
) SWIG_fail
;
13411 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13412 if (!SWIG_IsOK(ecode3
)) {
13413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13415 arg3
= static_cast< bool >(val3
);
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_From_int(static_cast< int >(result
));
13438 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13442 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13456 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13459 wxFontEncoding result
;
13462 PyObject
* obj0
= 0 ;
13463 char * kwnames
[] = {
13467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13468 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13469 if (!SWIG_IsOK(ecode1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13472 arg1
= static_cast< size_t >(val1
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_From_int(static_cast< int >(result
));
13486 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
= 0;
13488 wxFontEncoding arg1
;
13492 PyObject
* obj0
= 0 ;
13493 char * kwnames
[] = {
13494 (char *) "encoding", NULL
13497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13498 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13499 if (!SWIG_IsOK(ecode1
)) {
13500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13502 arg1
= static_cast< wxFontEncoding
>(val1
);
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= wxFontMapper::GetEncodingName(arg1
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13522 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
= 0;
13524 wxFontEncoding arg1
;
13528 PyObject
* obj0
= 0 ;
13529 char * kwnames
[] = {
13530 (char *) "encoding", NULL
13533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13535 if (!SWIG_IsOK(ecode1
)) {
13536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13538 arg1
= static_cast< wxFontEncoding
>(val1
);
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= wxFontMapper::GetEncodingDescription(arg1
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13558 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
= 0;
13560 wxString
*arg1
= 0 ;
13561 wxFontEncoding result
;
13562 bool temp1
= false ;
13563 PyObject
* obj0
= 0 ;
13564 char * kwnames
[] = {
13565 (char *) "name", NULL
13568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13570 arg1
= wxString_in_helper(obj0
);
13571 if (arg1
== NULL
) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_From_int(static_cast< int >(result
));
13595 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13598 wxString
*arg2
= 0 ;
13601 bool temp2
= false ;
13602 PyObject
* obj0
= 0 ;
13603 PyObject
* obj1
= 0 ;
13604 char * kwnames
[] = {
13605 (char *) "self",(char *) "prefix", NULL
13608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13610 if (!SWIG_IsOK(res1
)) {
13611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13613 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13615 arg2
= wxString_in_helper(obj1
);
13616 if (arg2
== NULL
) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13622 wxPyEndAllowThreads(__tstate
);
13623 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= SWIG_Py_Void();
13640 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13644 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= wxFontMapper::GetDefaultConfigPath();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13664 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
= 0;
13666 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13667 wxFontEncoding arg2
;
13668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13670 bool arg4
= (bool) true ;
13671 PyObject
*result
= 0 ;
13676 bool temp3
= false ;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 PyObject
* obj2
= 0 ;
13682 PyObject
* obj3
= 0 ;
13683 char * kwnames
[] = {
13684 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13689 if (!SWIG_IsOK(res1
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13692 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13694 if (!SWIG_IsOK(ecode2
)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13697 arg2
= static_cast< wxFontEncoding
>(val2
);
13700 arg3
= wxString_in_helper(obj2
);
13701 if (arg3
== NULL
) SWIG_fail
;
13706 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13707 if (!SWIG_IsOK(ecode4
)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13710 arg4
= static_cast< bool >(val4
);
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
;
13733 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13736 wxFontEncoding arg2
;
13737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13744 bool temp3
= false ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 char * kwnames
[] = {
13749 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13757 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13759 if (!SWIG_IsOK(ecode2
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13762 arg2
= static_cast< wxFontEncoding
>(val2
);
13765 arg3
= wxString_in_helper(obj2
);
13766 if (arg3
== NULL
) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13793 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13795 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13796 wxWindow
*arg2
= (wxWindow
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 PyObject
* obj1
= 0 ;
13803 char * kwnames
[] = {
13804 (char *) "self",(char *) "parent", NULL
13807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13809 if (!SWIG_IsOK(res1
)) {
13810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13812 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13814 if (!SWIG_IsOK(res2
)) {
13815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 (arg1
)->SetDialogParent(arg2
);
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= SWIG_Py_Void();
13831 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
= 0;
13833 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13834 wxString
*arg2
= 0 ;
13837 bool temp2
= false ;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 char * kwnames
[] = {
13841 (char *) "self",(char *) "title", NULL
13844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13846 if (!SWIG_IsOK(res1
)) {
13847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13849 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13851 arg2
= wxString_in_helper(obj1
);
13852 if (arg2
== NULL
) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_Py_Void();
13876 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13879 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13880 return SWIG_Py_Void();
13883 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 return SWIG_Python_InitShadowInstance(args
);
13887 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13893 bool arg5
= (bool) false ;
13894 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13895 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13896 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13897 wxFont
*result
= 0 ;
13908 bool temp6
= false ;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 PyObject
* obj2
= 0 ;
13914 PyObject
* obj3
= 0 ;
13915 PyObject
* obj4
= 0 ;
13916 PyObject
* obj5
= 0 ;
13917 PyObject
* obj6
= 0 ;
13918 char * kwnames
[] = {
13919 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13924 if (!SWIG_IsOK(ecode1
)) {
13925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13927 arg1
= static_cast< int >(val1
);
13928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13929 if (!SWIG_IsOK(ecode2
)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13932 arg2
= static_cast< int >(val2
);
13933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13934 if (!SWIG_IsOK(ecode3
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13937 arg3
= static_cast< int >(val3
);
13938 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13939 if (!SWIG_IsOK(ecode4
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13942 arg4
= static_cast< int >(val4
);
13944 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13945 if (!SWIG_IsOK(ecode5
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13948 arg5
= static_cast< bool >(val5
);
13952 arg6
= wxString_in_helper(obj5
);
13953 if (arg6
== NULL
) SWIG_fail
;
13958 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13959 if (!SWIG_IsOK(ecode7
)) {
13960 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13962 arg7
= static_cast< wxFontEncoding
>(val7
);
13965 if (!wxPyCheckForApp()) SWIG_fail
;
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13986 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 PyObject
*resultobj
= 0;
13988 wxFont
*arg1
= (wxFont
*) 0 ;
13991 PyObject
*swig_obj
[1] ;
13993 if (!args
) SWIG_fail
;
13994 swig_obj
[0] = args
;
13995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13996 if (!SWIG_IsOK(res1
)) {
13997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13999 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14016 wxNativeFontInfo
*arg1
= 0 ;
14017 wxFont
*result
= 0 ;
14020 PyObject
* obj0
= 0 ;
14021 char * kwnames
[] = {
14022 (char *) "info", NULL
14025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14026 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14033 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14035 if (!wxPyCheckForApp()) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14048 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
= 0;
14050 wxString
*arg1
= 0 ;
14051 wxFont
*result
= 0 ;
14052 bool temp1
= false ;
14053 PyObject
* obj0
= 0 ;
14054 char * kwnames
[] = {
14055 (char *) "info", NULL
14058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14060 arg1
= wxString_in_helper(obj0
);
14061 if (arg1
== NULL
) SWIG_fail
;
14065 if (!wxPyCheckForApp()) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14086 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
= 0;
14089 wxFontFamily arg2
;
14090 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14091 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14092 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14093 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14094 wxFont
*result
= 0 ;
14101 bool temp4
= false ;
14104 PyObject
* obj0
= 0 ;
14105 PyObject
* obj1
= 0 ;
14106 PyObject
* obj2
= 0 ;
14107 PyObject
* obj3
= 0 ;
14108 PyObject
* obj4
= 0 ;
14109 char * kwnames
[] = {
14110 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14115 if (!SWIG_IsOK(ecode1
)) {
14116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14118 arg1
= static_cast< int >(val1
);
14119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14120 if (!SWIG_IsOK(ecode2
)) {
14121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14123 arg2
= static_cast< wxFontFamily
>(val2
);
14125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14126 if (!SWIG_IsOK(ecode3
)) {
14127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14129 arg3
= static_cast< int >(val3
);
14133 arg4
= wxString_in_helper(obj3
);
14134 if (arg4
== NULL
) SWIG_fail
;
14139 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14140 if (!SWIG_IsOK(ecode5
)) {
14141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14143 arg5
= static_cast< wxFontEncoding
>(val5
);
14146 if (!wxPyCheckForApp()) SWIG_fail
;
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14167 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
= 0;
14173 bool arg5
= (bool) false ;
14174 wxString
const &arg6_defvalue
= wxEmptyString
;
14175 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14176 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14177 wxFont
*result
= 0 ;
14187 bool temp6
= false ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 PyObject
* obj2
= 0 ;
14193 PyObject
* obj3
= 0 ;
14194 PyObject
* obj4
= 0 ;
14195 PyObject
* obj5
= 0 ;
14196 PyObject
* obj6
= 0 ;
14197 char * kwnames
[] = {
14198 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14204 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14207 if (!SWIG_IsOK(ecode2
)) {
14208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14210 arg2
= static_cast< int >(val2
);
14211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14212 if (!SWIG_IsOK(ecode3
)) {
14213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14215 arg3
= static_cast< int >(val3
);
14216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14217 if (!SWIG_IsOK(ecode4
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14220 arg4
= static_cast< int >(val4
);
14222 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14223 if (!SWIG_IsOK(ecode5
)) {
14224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14226 arg5
= static_cast< bool >(val5
);
14230 arg6
= wxString_in_helper(obj5
);
14231 if (arg6
== NULL
) SWIG_fail
;
14236 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14237 if (!SWIG_IsOK(ecode7
)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14240 arg7
= static_cast< wxFontEncoding
>(val7
);
14243 if (!wxPyCheckForApp()) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14264 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
= 0;
14267 wxFontFamily arg2
;
14268 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14269 wxString
const &arg4_defvalue
= wxEmptyString
;
14270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14271 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14272 wxFont
*result
= 0 ;
14278 bool temp4
= false ;
14281 PyObject
* obj0
= 0 ;
14282 PyObject
* obj1
= 0 ;
14283 PyObject
* obj2
= 0 ;
14284 PyObject
* obj3
= 0 ;
14285 PyObject
* obj4
= 0 ;
14286 char * kwnames
[] = {
14287 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14293 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14296 if (!SWIG_IsOK(ecode2
)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14299 arg2
= static_cast< wxFontFamily
>(val2
);
14301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14302 if (!SWIG_IsOK(ecode3
)) {
14303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14305 arg3
= static_cast< int >(val3
);
14309 arg4
= wxString_in_helper(obj3
);
14310 if (arg4
== NULL
) SWIG_fail
;
14315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14316 if (!SWIG_IsOK(ecode5
)) {
14317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14319 arg5
= static_cast< wxFontEncoding
>(val5
);
14322 if (!wxPyCheckForApp()) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14325 wxPyEndAllowThreads(__tstate
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14343 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14344 PyObject
*resultobj
= 0;
14345 wxFont
*arg1
= (wxFont
*) 0 ;
14349 PyObject
*swig_obj
[1] ;
14351 if (!args
) SWIG_fail
;
14352 swig_obj
[0] = args
;
14353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14354 if (!SWIG_IsOK(res1
)) {
14355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
14357 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (bool)((wxFont
const *)arg1
)->Ok();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14373 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
= 0;
14375 wxFont
*arg1
= (wxFont
*) 0 ;
14376 wxFont
*arg2
= (wxFont
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char * kwnames
[] = {
14385 (char *) "self",(char *) "other", NULL
14388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14393 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14395 if (!SWIG_IsOK(res2
)) {
14396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14398 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14414 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxFont
*arg1
= (wxFont
*) 0 ;
14417 wxFont
*arg2
= (wxFont
*) 0 ;
14423 PyObject
* obj0
= 0 ;
14424 PyObject
* obj1
= 0 ;
14425 char * kwnames
[] = {
14426 (char *) "self",(char *) "other", NULL
14429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14431 if (!SWIG_IsOK(res1
)) {
14432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14434 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14436 if (!SWIG_IsOK(res2
)) {
14437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14439 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14442 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14455 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14456 PyObject
*resultobj
= 0;
14457 wxFont
*arg1
= (wxFont
*) 0 ;
14461 PyObject
*swig_obj
[1] ;
14463 if (!args
) SWIG_fail
;
14464 swig_obj
[0] = args
;
14465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14469 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_From_int(static_cast< int >(result
));
14483 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxFont
*arg1
= (wxFont
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14497 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14511 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14512 PyObject
*resultobj
= 0;
14513 wxFont
*arg1
= (wxFont
*) 0 ;
14517 PyObject
*swig_obj
[1] ;
14519 if (!args
) SWIG_fail
;
14520 swig_obj
[0] = args
;
14521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14525 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14542 PyObject
*resultobj
= 0;
14543 wxFont
*arg1
= (wxFont
*) 0 ;
14547 PyObject
*swig_obj
[1] ;
14549 if (!args
) SWIG_fail
;
14550 swig_obj
[0] = args
;
14551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14555 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_From_int(static_cast< int >(result
));
14569 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxFont
*arg1
= (wxFont
*) 0 ;
14575 PyObject
*swig_obj
[1] ;
14577 if (!args
) SWIG_fail
;
14578 swig_obj
[0] = args
;
14579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14583 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_From_int(static_cast< int >(result
));
14597 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14598 PyObject
*resultobj
= 0;
14599 wxFont
*arg1
= (wxFont
*) 0 ;
14603 PyObject
*swig_obj
[1] ;
14605 if (!args
) SWIG_fail
;
14606 swig_obj
[0] = args
;
14607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14611 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_From_int(static_cast< int >(result
));
14625 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14626 PyObject
*resultobj
= 0;
14627 wxFont
*arg1
= (wxFont
*) 0 ;
14631 PyObject
*swig_obj
[1] ;
14633 if (!args
) SWIG_fail
;
14634 swig_obj
[0] = args
;
14635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14639 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14655 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14656 PyObject
*resultobj
= 0;
14657 wxFont
*arg1
= (wxFont
*) 0 ;
14661 PyObject
*swig_obj
[1] ;
14663 if (!args
) SWIG_fail
;
14664 swig_obj
[0] = args
;
14665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14666 if (!SWIG_IsOK(res1
)) {
14667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14669 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= ((wxFont
const *)arg1
)->GetFaceName();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14689 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14690 PyObject
*resultobj
= 0;
14691 wxFont
*arg1
= (wxFont
*) 0 ;
14692 wxFontEncoding result
;
14695 PyObject
*swig_obj
[1] ;
14697 if (!args
) SWIG_fail
;
14698 swig_obj
[0] = args
;
14699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14700 if (!SWIG_IsOK(res1
)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14703 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_From_int(static_cast< int >(result
));
14717 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14718 PyObject
*resultobj
= 0;
14719 wxFont
*arg1
= (wxFont
*) 0 ;
14720 wxNativeFontInfo
*result
= 0 ;
14723 PyObject
*swig_obj
[1] ;
14725 if (!args
) SWIG_fail
;
14726 swig_obj
[0] = args
;
14727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14728 if (!SWIG_IsOK(res1
)) {
14729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14731 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14745 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14746 PyObject
*resultobj
= 0;
14747 wxFont
*arg1
= (wxFont
*) 0 ;
14751 PyObject
*swig_obj
[1] ;
14753 if (!args
) SWIG_fail
;
14754 swig_obj
[0] = args
;
14755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14756 if (!SWIG_IsOK(res1
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14759 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14763 wxPyEndAllowThreads(__tstate
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14775 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14776 PyObject
*resultobj
= 0;
14777 wxFont
*arg1
= (wxFont
*) 0 ;
14781 PyObject
*swig_obj
[1] ;
14783 if (!args
) SWIG_fail
;
14784 swig_obj
[0] = args
;
14785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14789 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14809 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14810 PyObject
*resultobj
= 0;
14811 wxFont
*arg1
= (wxFont
*) 0 ;
14815 PyObject
*swig_obj
[1] ;
14817 if (!args
) SWIG_fail
;
14818 swig_obj
[0] = args
;
14819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14823 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14843 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
= 0;
14845 wxFont
*arg1
= (wxFont
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 char * kwnames
[] = {
14854 (char *) "self",(char *) "pointSize", NULL
14857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14859 if (!SWIG_IsOK(res1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14862 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14864 if (!SWIG_IsOK(ecode2
)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14867 arg2
= static_cast< int >(val2
);
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetPointSize(arg2
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_Py_Void();
14881 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14882 PyObject
*resultobj
= 0;
14883 wxFont
*arg1
= (wxFont
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char * kwnames
[] = {
14891 (char *) "self",(char *) "pixelSize", NULL
14894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14896 if (!SWIG_IsOK(res1
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14899 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14902 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= SWIG_Py_Void();
14917 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
= 0;
14919 wxFont
*arg1
= (wxFont
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 char * kwnames
[] = {
14928 (char *) "self",(char *) "family", NULL
14931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14936 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14938 if (!SWIG_IsOK(ecode2
)) {
14939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14941 arg2
= static_cast< int >(val2
);
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 (arg1
)->SetFamily(arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_Py_Void();
14955 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= 0;
14957 wxFont
*arg1
= (wxFont
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char * kwnames
[] = {
14966 (char *) "self",(char *) "style", NULL
14969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14971 if (!SWIG_IsOK(res1
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14974 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14976 if (!SWIG_IsOK(ecode2
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14979 arg2
= static_cast< int >(val2
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 (arg1
)->SetStyle(arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_Py_Void();
14993 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
= 0;
14995 wxFont
*arg1
= (wxFont
*) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 char * kwnames
[] = {
15004 (char *) "self",(char *) "weight", NULL
15007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15009 if (!SWIG_IsOK(res1
)) {
15010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15012 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15014 if (!SWIG_IsOK(ecode2
)) {
15015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15017 arg2
= static_cast< int >(val2
);
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 (arg1
)->SetWeight(arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_Py_Void();
15031 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15034 wxString
*arg2
= 0 ;
15038 bool temp2
= false ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char * kwnames
[] = {
15042 (char *) "self",(char *) "faceName", NULL
15045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15050 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15052 arg2
= wxString_in_helper(obj1
);
15053 if (arg2
== NULL
) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15079 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
= 0;
15081 wxFont
*arg1
= (wxFont
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 PyObject
* obj1
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "self",(char *) "underlined", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15098 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15099 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15100 if (!SWIG_IsOK(ecode2
)) {
15101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15103 arg2
= static_cast< bool >(val2
);
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetUnderlined(arg2
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_Py_Void();
15117 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
= 0;
15119 wxFont
*arg1
= (wxFont
*) 0 ;
15120 wxFontEncoding arg2
;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "self",(char *) "encoding", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15136 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15138 if (!SWIG_IsOK(ecode2
)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15141 arg2
= static_cast< wxFontEncoding
>(val2
);
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 (arg1
)->SetEncoding(arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_Py_Void();
15155 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
= 0;
15157 wxFont
*arg1
= (wxFont
*) 0 ;
15158 wxNativeFontInfo
*arg2
= 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char * kwnames
[] = {
15166 (char *) "self",(char *) "info", NULL
15169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15174 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15176 if (!SWIG_IsOK(res2
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15182 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_Py_Void();
15196 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
= 0;
15198 wxFont
*arg1
= (wxFont
*) 0 ;
15199 wxString
*arg2
= 0 ;
15203 bool temp2
= false ;
15204 PyObject
* obj0
= 0 ;
15205 PyObject
* obj1
= 0 ;
15206 char * kwnames
[] = {
15207 (char *) "self",(char *) "info", NULL
15210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15215 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15217 arg2
= wxString_in_helper(obj1
);
15218 if (arg2
== NULL
) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15244 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
= 0;
15246 wxFont
*arg1
= (wxFont
*) 0 ;
15247 wxString
*arg2
= 0 ;
15251 bool temp2
= false ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "info", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15263 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15265 arg2
= wxString_in_helper(obj1
);
15266 if (arg2
== NULL
) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15292 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15293 PyObject
*resultobj
= 0;
15294 wxFont
*arg1
= (wxFont
*) 0 ;
15298 PyObject
*swig_obj
[1] ;
15300 if (!args
) SWIG_fail
;
15301 swig_obj
[0] = args
;
15302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15306 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15326 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 PyObject
*resultobj
= 0;
15328 wxFont
*arg1
= (wxFont
*) 0 ;
15332 PyObject
*swig_obj
[1] ;
15334 if (!args
) SWIG_fail
;
15335 swig_obj
[0] = args
;
15336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15337 if (!SWIG_IsOK(res1
)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15340 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= ((wxFont
const *)arg1
)->GetStyleString();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15360 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15361 PyObject
*resultobj
= 0;
15362 wxFont
*arg1
= (wxFont
*) 0 ;
15366 PyObject
*swig_obj
[1] ;
15368 if (!args
) SWIG_fail
;
15369 swig_obj
[0] = args
;
15370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15371 if (!SWIG_IsOK(res1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15374 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 result
= ((wxFont
const *)arg1
)->GetWeightString();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15394 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
= 0;
15396 wxFont
*arg1
= (wxFont
*) 0 ;
15397 bool arg2
= (bool) true ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char * kwnames
[] = {
15405 (char *) "self",(char *) "no", NULL
15408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15410 if (!SWIG_IsOK(res1
)) {
15411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15413 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15415 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15416 if (!SWIG_IsOK(ecode2
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15419 arg2
= static_cast< bool >(val2
);
15422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 (arg1
)->SetNoAntiAliasing(arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_Py_Void();
15434 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15435 PyObject
*resultobj
= 0;
15436 wxFont
*arg1
= (wxFont
*) 0 ;
15440 PyObject
*swig_obj
[1] ;
15442 if (!args
) SWIG_fail
;
15443 swig_obj
[0] = args
;
15444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15448 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15465 PyObject
*resultobj
= 0;
15466 wxFontEncoding result
;
15468 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15470 if (!wxPyCheckForApp()) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_From_int(static_cast< int >(result
));
15483 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
= 0;
15485 wxFontEncoding arg1
;
15488 PyObject
* obj0
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "encoding", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15494 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15495 if (!SWIG_IsOK(ecode1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15498 arg1
= static_cast< wxFontEncoding
>(val1
);
15500 if (!wxPyCheckForApp()) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 wxFont::SetDefaultEncoding(arg1
);
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_Py_Void();
15513 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15516 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15517 return SWIG_Py_Void();
15520 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15521 return SWIG_Python_InitShadowInstance(args
);
15524 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15525 PyObject
*resultobj
= 0;
15526 wxPyFontEnumerator
*result
= 0 ;
15528 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15530 if (!wxPyCheckForApp()) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15543 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15544 PyObject
*resultobj
= 0;
15545 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15548 PyObject
*swig_obj
[1] ;
15550 if (!args
) SWIG_fail
;
15551 swig_obj
[0] = args
;
15552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15553 if (!SWIG_IsOK(res1
)) {
15554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15556 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_Py_Void();
15571 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
= 0;
15573 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15574 PyObject
*arg2
= (PyObject
*) 0 ;
15575 PyObject
*arg3
= (PyObject
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 PyObject
* obj2
= 0 ;
15584 PyObject
* obj3
= 0 ;
15585 char * kwnames
[] = {
15586 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15591 if (!SWIG_IsOK(res1
)) {
15592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15594 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15597 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15598 if (!SWIG_IsOK(ecode4
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15601 arg4
= static_cast< bool >(val4
);
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_Py_Void();
15615 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
= 0;
15617 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15618 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15619 bool arg3
= (bool) false ;
15627 PyObject
* obj0
= 0 ;
15628 PyObject
* obj1
= 0 ;
15629 PyObject
* obj2
= 0 ;
15630 char * kwnames
[] = {
15631 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15636 if (!SWIG_IsOK(res1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15639 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15642 if (!SWIG_IsOK(ecode2
)) {
15643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15645 arg2
= static_cast< wxFontEncoding
>(val2
);
15648 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15649 if (!SWIG_IsOK(ecode3
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15652 arg3
= static_cast< bool >(val3
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15669 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15672 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15677 bool temp2
= false ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 char * kwnames
[] = {
15681 (char *) "self",(char *) "facename", NULL
15684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15689 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15692 arg2
= wxString_in_helper(obj1
);
15693 if (arg2
== NULL
) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15720 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15721 PyObject
*resultobj
= 0;
15722 PyObject
*result
= 0 ;
15724 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= result
;
15738 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15739 PyObject
*resultobj
= 0;
15740 PyObject
*result
= 0 ;
15742 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= result
;
15756 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
= 0;
15758 wxString
*arg1
= 0 ;
15760 bool temp1
= false ;
15761 PyObject
* obj0
= 0 ;
15762 char * kwnames
[] = {
15763 (char *) "str", NULL
15766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15768 arg1
= wxString_in_helper(obj0
);
15769 if (arg1
== NULL
) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15798 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15799 return SWIG_Py_Void();
15802 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 return SWIG_Python_InitShadowInstance(args
);
15806 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15807 PyObject
*resultobj
= 0;
15808 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15814 PyObject
*swig_obj
[2] ;
15816 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15818 if (!SWIG_IsOK(res1
)) {
15819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15821 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15822 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15823 if (!SWIG_IsOK(ecode2
)) {
15824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15826 arg2
= static_cast< int >(val2
);
15827 if (arg1
) (arg1
)->Language
= arg2
;
15829 resultobj
= SWIG_Py_Void();
15836 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15850 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15851 result
= (int) ((arg1
)->Language
);
15852 resultobj
= SWIG_From_int(static_cast< int >(result
));
15859 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15860 PyObject
*resultobj
= 0;
15861 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15862 wxString
*arg2
= (wxString
*) 0 ;
15865 bool temp2
= false ;
15866 PyObject
*swig_obj
[2] ;
15868 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15870 if (!SWIG_IsOK(res1
)) {
15871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15873 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15875 arg2
= wxString_in_helper(swig_obj
[1]);
15876 if (arg2
== NULL
) SWIG_fail
;
15879 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15881 resultobj
= SWIG_Py_Void();
15896 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15897 PyObject
*resultobj
= 0;
15898 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15899 wxString
*result
= 0 ;
15902 PyObject
*swig_obj
[1] ;
15904 if (!args
) SWIG_fail
;
15905 swig_obj
[0] = args
;
15906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15910 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15911 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15914 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15916 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15925 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15926 PyObject
*resultobj
= 0;
15927 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15928 wxString
*arg2
= (wxString
*) 0 ;
15931 bool temp2
= false ;
15932 PyObject
*swig_obj
[2] ;
15934 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15936 if (!SWIG_IsOK(res1
)) {
15937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15939 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15941 arg2
= wxString_in_helper(swig_obj
[1]);
15942 if (arg2
== NULL
) SWIG_fail
;
15945 if (arg1
) (arg1
)->Description
= *arg2
;
15947 resultobj
= SWIG_Py_Void();
15962 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 PyObject
*resultobj
= 0;
15964 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15965 wxString
*result
= 0 ;
15968 PyObject
*swig_obj
[1] ;
15970 if (!args
) SWIG_fail
;
15971 swig_obj
[0] = args
;
15972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15973 if (!SWIG_IsOK(res1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15976 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15977 result
= (wxString
*)& ((arg1
)->Description
);
15980 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15982 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15991 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15994 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15995 return SWIG_Py_Void();
15998 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
= 0;
16000 int arg1
= (int) -1 ;
16001 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16002 wxLocale
*result
= 0 ;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 char * kwnames
[] = {
16010 (char *) "language",(char *) "flags", NULL
16013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16016 if (!SWIG_IsOK(ecode1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16019 arg1
= static_cast< int >(val1
);
16022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16023 if (!SWIG_IsOK(ecode2
)) {
16024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16026 arg2
= static_cast< int >(val2
);
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16041 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16042 PyObject
*resultobj
= 0;
16043 wxLocale
*arg1
= (wxLocale
*) 0 ;
16046 PyObject
*swig_obj
[1] ;
16048 if (!args
) SWIG_fail
;
16049 swig_obj
[0] = args
;
16050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16051 if (!SWIG_IsOK(res1
)) {
16052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16054 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= SWIG_Py_Void();
16069 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
= 0;
16071 wxLocale
*arg1
= (wxLocale
*) 0 ;
16072 wxString
*arg2
= 0 ;
16073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16075 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16076 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16077 bool arg5
= (bool) true ;
16078 bool arg6
= (bool) false ;
16082 bool temp2
= false ;
16083 bool temp3
= false ;
16084 bool temp4
= false ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 PyObject
* obj2
= 0 ;
16092 PyObject
* obj3
= 0 ;
16093 PyObject
* obj4
= 0 ;
16094 PyObject
* obj5
= 0 ;
16095 char * kwnames
[] = {
16096 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16101 if (!SWIG_IsOK(res1
)) {
16102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16104 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16106 arg2
= wxString_in_helper(obj1
);
16107 if (arg2
== NULL
) SWIG_fail
;
16112 arg3
= wxString_in_helper(obj2
);
16113 if (arg3
== NULL
) SWIG_fail
;
16119 arg4
= wxString_in_helper(obj3
);
16120 if (arg4
== NULL
) SWIG_fail
;
16125 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16126 if (!SWIG_IsOK(ecode5
)) {
16127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16129 arg5
= static_cast< bool >(val5
);
16132 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16133 if (!SWIG_IsOK(ecode6
)) {
16134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16136 arg6
= static_cast< bool >(val6
);
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16141 wxPyEndAllowThreads(__tstate
);
16142 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16177 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
= 0;
16179 wxLocale
*arg1
= (wxLocale
*) 0 ;
16180 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16181 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16189 PyObject
* obj0
= 0 ;
16190 PyObject
* obj1
= 0 ;
16191 PyObject
* obj2
= 0 ;
16192 char * kwnames
[] = {
16193 (char *) "self",(char *) "language",(char *) "flags", NULL
16196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16198 if (!SWIG_IsOK(res1
)) {
16199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16201 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16204 if (!SWIG_IsOK(ecode2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16207 arg2
= static_cast< int >(val2
);
16210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16211 if (!SWIG_IsOK(ecode3
)) {
16212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16214 arg3
= static_cast< int >(val3
);
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16231 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16232 PyObject
*resultobj
= 0;
16235 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (int)wxLocale::GetSystemLanguage();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= SWIG_From_int(static_cast< int >(result
));
16249 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16250 PyObject
*resultobj
= 0;
16251 wxFontEncoding result
;
16253 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_From_int(static_cast< int >(result
));
16267 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16268 PyObject
*resultobj
= 0;
16271 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= wxLocale::GetSystemEncodingName();
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16282 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16291 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 wxLocale
*arg1
= (wxLocale
*) 0 ;
16297 PyObject
*swig_obj
[1] ;
16299 if (!args
) SWIG_fail
;
16300 swig_obj
[0] = args
;
16301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16302 if (!SWIG_IsOK(res1
)) {
16303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16305 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16308 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16309 wxPyEndAllowThreads(__tstate
);
16310 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16321 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16322 PyObject
*resultobj
= 0;
16323 wxLocale
*arg1
= (wxLocale
*) 0 ;
16327 PyObject
*swig_obj
[1] ;
16329 if (!args
) SWIG_fail
;
16330 swig_obj
[0] = args
;
16331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16332 if (!SWIG_IsOK(res1
)) {
16333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16335 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 result
= ((wxLocale
const *)arg1
)->GetLocale();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16355 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16356 PyObject
*resultobj
= 0;
16357 wxLocale
*arg1
= (wxLocale
*) 0 ;
16361 PyObject
*swig_obj
[1] ;
16363 if (!args
) SWIG_fail
;
16364 swig_obj
[0] = args
;
16365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16366 if (!SWIG_IsOK(res1
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16369 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= SWIG_From_int(static_cast< int >(result
));
16383 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16384 PyObject
*resultobj
= 0;
16385 wxLocale
*arg1
= (wxLocale
*) 0 ;
16389 PyObject
*swig_obj
[1] ;
16391 if (!args
) SWIG_fail
;
16392 swig_obj
[0] = args
;
16393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16397 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= ((wxLocale
const *)arg1
)->GetSysName();
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16417 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16418 PyObject
*resultobj
= 0;
16419 wxLocale
*arg1
= (wxLocale
*) 0 ;
16423 PyObject
*swig_obj
[1] ;
16425 if (!args
) SWIG_fail
;
16426 swig_obj
[0] = args
;
16427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16428 if (!SWIG_IsOK(res1
)) {
16429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16431 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16451 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
= 0;
16453 wxString
*arg1
= 0 ;
16454 bool temp1
= false ;
16455 PyObject
* obj0
= 0 ;
16456 char * kwnames
[] = {
16457 (char *) "prefix", NULL
16460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16462 arg1
= wxString_in_helper(obj0
);
16463 if (arg1
== NULL
) SWIG_fail
;
16467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16468 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= SWIG_Py_Void();
16487 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
= 0;
16489 wxLocale
*arg1
= (wxLocale
*) 0 ;
16490 wxString
*arg2
= 0 ;
16494 bool temp2
= false ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char * kwnames
[] = {
16498 (char *) "self",(char *) "szDomain", NULL
16501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16503 if (!SWIG_IsOK(res1
)) {
16504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16506 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16508 arg2
= wxString_in_helper(obj1
);
16509 if (arg2
== NULL
) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16535 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
= 0;
16537 wxLocale
*arg1
= (wxLocale
*) 0 ;
16538 wxString
*arg2
= 0 ;
16542 bool temp2
= false ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 char * kwnames
[] = {
16546 (char *) "self",(char *) "szDomain", NULL
16549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16551 if (!SWIG_IsOK(res1
)) {
16552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16554 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16556 arg2
= wxString_in_helper(obj1
);
16557 if (arg2
== NULL
) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16583 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16584 PyObject
*resultobj
= 0;
16586 wxLanguageInfo
*result
= 0 ;
16589 PyObject
* obj0
= 0 ;
16590 char * kwnames
[] = {
16591 (char *) "lang", NULL
16594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16595 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16596 if (!SWIG_IsOK(ecode1
)) {
16597 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16599 arg1
= static_cast< int >(val1
);
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16613 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
= 0;
16619 PyObject
* obj0
= 0 ;
16620 char * kwnames
[] = {
16621 (char *) "lang", NULL
16624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16625 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16626 if (!SWIG_IsOK(ecode1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16629 arg1
= static_cast< int >(val1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= wxLocale::GetLanguageName(arg1
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16649 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
= 0;
16651 wxString
*arg1
= 0 ;
16652 wxLanguageInfo
*result
= 0 ;
16653 bool temp1
= false ;
16654 PyObject
* obj0
= 0 ;
16655 char * kwnames
[] = {
16656 (char *) "locale", NULL
16659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16661 arg1
= wxString_in_helper(obj0
);
16662 if (arg1
== NULL
) SWIG_fail
;
16666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16667 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16686 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
= 0;
16688 wxLanguageInfo
*arg1
= 0 ;
16691 PyObject
* obj0
= 0 ;
16692 char * kwnames
[] = {
16693 (char *) "info", NULL
16696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16697 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16704 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16711 resultobj
= SWIG_Py_Void();
16718 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
= 0;
16720 wxLocale
*arg1
= (wxLocale
*) 0 ;
16721 wxString
*arg2
= 0 ;
16722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16727 bool temp2
= false ;
16728 bool temp3
= false ;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 PyObject
* obj2
= 0 ;
16732 char * kwnames
[] = {
16733 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16738 if (!SWIG_IsOK(res1
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16741 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16743 arg2
= wxString_in_helper(obj1
);
16744 if (arg2
== NULL
) SWIG_fail
;
16749 arg3
= wxString_in_helper(obj2
);
16750 if (arg3
== NULL
) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16789 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 PyObject
*resultobj
= 0;
16791 wxLocale
*arg1
= (wxLocale
*) 0 ;
16792 wxString
*result
= 0 ;
16795 PyObject
*swig_obj
[1] ;
16797 if (!args
) SWIG_fail
;
16798 swig_obj
[0] = args
;
16799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16803 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16808 result
= (wxString
*) &_result_ref
;
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16817 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16826 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16829 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16830 return SWIG_Py_Void();
16833 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16834 return SWIG_Python_InitShadowInstance(args
);
16837 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
= 0;
16839 int arg1
= (int) -1 ;
16840 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16841 wxPyLocale
*result
= 0 ;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 char * kwnames
[] = {
16849 (char *) "language",(char *) "flags", NULL
16852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16855 if (!SWIG_IsOK(ecode1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16858 arg1
= static_cast< int >(val1
);
16861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16862 if (!SWIG_IsOK(ecode2
)) {
16863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16865 arg2
= static_cast< int >(val2
);
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16880 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16881 PyObject
*resultobj
= 0;
16882 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16885 PyObject
*swig_obj
[1] ;
16887 if (!args
) SWIG_fail
;
16888 swig_obj
[0] = args
;
16889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16890 if (!SWIG_IsOK(res1
)) {
16891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16893 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_Py_Void();
16908 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
= 0;
16910 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16911 PyObject
*arg2
= (PyObject
*) 0 ;
16912 PyObject
*arg3
= (PyObject
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 PyObject
* obj2
= 0 ;
16918 char * kwnames
[] = {
16919 (char *) "self",(char *) "self",(char *) "_class", NULL
16922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16924 if (!SWIG_IsOK(res1
)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16927 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_Py_Void();
16943 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
= 0;
16945 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16946 wxChar
*arg2
= (wxChar
*) 0 ;
16947 wxChar
*arg3
= (wxChar
*) NULL
;
16948 wxChar
*result
= 0 ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 PyObject
* obj2
= 0 ;
16958 char * kwnames
[] = {
16959 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16967 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16969 if (!SWIG_IsOK(res2
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16972 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16974 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16975 if (!SWIG_IsOK(res3
)) {
16976 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16978 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16993 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
= 0;
16995 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16996 wxChar
*arg2
= (wxChar
*) 0 ;
16997 wxChar
*arg3
= (wxChar
*) 0 ;
16999 wxChar
*arg5
= (wxChar
*) NULL
;
17000 wxChar
*result
= 0 ;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 PyObject
* obj2
= 0 ;
17014 PyObject
* obj3
= 0 ;
17015 PyObject
* obj4
= 0 ;
17016 char * kwnames
[] = {
17017 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17022 if (!SWIG_IsOK(res1
)) {
17023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17025 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17027 if (!SWIG_IsOK(res2
)) {
17028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17030 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17031 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17032 if (!SWIG_IsOK(res3
)) {
17033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17035 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17036 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17037 if (!SWIG_IsOK(ecode4
)) {
17038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17040 arg4
= static_cast< size_t >(val4
);
17042 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17043 if (!SWIG_IsOK(res5
)) {
17044 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17046 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17061 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17065 return SWIG_Py_Void();
17068 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17069 return SWIG_Python_InitShadowInstance(args
);
17072 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17073 PyObject
*resultobj
= 0;
17074 wxLocale
*result
= 0 ;
17076 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (wxLocale
*)wxGetLocale();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17090 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17091 PyObject
*resultobj
= 0;
17092 wxString
*arg1
= 0 ;
17094 bool temp1
= false ;
17096 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17098 arg1
= wxString_in_helper(swig_obj
[0]);
17099 if (arg1
== NULL
) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= wxGetTranslation((wxString
const &)*arg1
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17129 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17130 PyObject
*resultobj
= 0;
17131 wxString
*arg1
= 0 ;
17132 wxString
*arg2
= 0 ;
17134 bool temp1
= false ;
17135 bool temp2
= false ;
17137 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17139 arg1
= wxString_in_helper(swig_obj
[0]);
17140 if (arg1
== NULL
) SWIG_fail
;
17144 arg2
= wxString_in_helper(swig_obj
[1]);
17145 if (arg2
== NULL
) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17183 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17184 PyObject
*resultobj
= 0;
17185 wxString
*arg1
= 0 ;
17186 wxString
*arg2
= 0 ;
17189 bool temp1
= false ;
17190 bool temp2
= false ;
17194 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17196 arg1
= wxString_in_helper(swig_obj
[0]);
17197 if (arg1
== NULL
) SWIG_fail
;
17201 arg2
= wxString_in_helper(swig_obj
[1]);
17202 if (arg2
== NULL
) SWIG_fail
;
17205 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17206 if (!SWIG_IsOK(ecode3
)) {
17207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17209 arg3
= static_cast< size_t >(val3
);
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17220 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17245 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17246 PyObject
*resultobj
= 0;
17247 wxString
*arg1
= 0 ;
17248 wxString
*arg2
= 0 ;
17250 wxString
*arg4
= 0 ;
17252 bool temp1
= false ;
17253 bool temp2
= false ;
17256 bool temp4
= false ;
17258 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17260 arg1
= wxString_in_helper(swig_obj
[0]);
17261 if (arg1
== NULL
) SWIG_fail
;
17265 arg2
= wxString_in_helper(swig_obj
[1]);
17266 if (arg2
== NULL
) SWIG_fail
;
17269 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17270 if (!SWIG_IsOK(ecode3
)) {
17271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17273 arg3
= static_cast< size_t >(val3
);
17275 arg4
= wxString_in_helper(swig_obj
[3]);
17276 if (arg4
== NULL
) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17322 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17326 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17329 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17332 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17335 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17338 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17342 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17347 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17348 PyObject
*resultobj
= 0;
17349 wxEncodingConverter
*result
= 0 ;
17351 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17365 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17366 PyObject
*resultobj
= 0;
17367 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17370 PyObject
*swig_obj
[1] ;
17372 if (!args
) SWIG_fail
;
17373 swig_obj
[0] = args
;
17374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17375 if (!SWIG_IsOK(res1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17378 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= SWIG_Py_Void();
17393 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17396 wxFontEncoding arg2
;
17397 wxFontEncoding arg3
;
17398 int arg4
= (int) wxCONVERT_STRICT
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 PyObject
* obj3
= 0 ;
17412 char * kwnames
[] = {
17413 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17418 if (!SWIG_IsOK(res1
)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17421 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17423 if (!SWIG_IsOK(ecode2
)) {
17424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17426 arg2
= static_cast< wxFontEncoding
>(val2
);
17427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17428 if (!SWIG_IsOK(ecode3
)) {
17429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17431 arg3
= static_cast< wxFontEncoding
>(val3
);
17433 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17434 if (!SWIG_IsOK(ecode4
)) {
17435 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17437 arg4
= static_cast< int >(val4
);
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17454 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
= 0;
17456 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17457 wxString
*arg2
= 0 ;
17461 bool temp2
= false ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 char * kwnames
[] = {
17465 (char *) "self",(char *) "input", NULL
17468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17470 if (!SWIG_IsOK(res1
)) {
17471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17473 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17475 arg2
= wxString_in_helper(obj1
);
17476 if (arg2
== NULL
) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17506 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
= 0;
17508 wxFontEncoding arg1
;
17509 int arg2
= (int) wxPLATFORM_CURRENT
;
17510 wxFontEncodingArray result
;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char * kwnames
[] = {
17518 (char *) "enc",(char *) "platform", NULL
17521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17523 if (!SWIG_IsOK(ecode1
)) {
17524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17526 arg1
= static_cast< wxFontEncoding
>(val1
);
17528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17529 if (!SWIG_IsOK(ecode2
)) {
17530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17532 arg2
= static_cast< int >(val2
);
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= PyList_New(0);
17542 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17543 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17544 PyList_Append(resultobj
, number
);
17554 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
= 0;
17556 wxFontEncoding arg1
;
17557 wxFontEncodingArray result
;
17560 PyObject
* obj0
= 0 ;
17561 char * kwnames
[] = {
17562 (char *) "enc", NULL
17565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17566 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17567 if (!SWIG_IsOK(ecode1
)) {
17568 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17570 arg1
= static_cast< wxFontEncoding
>(val1
);
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17578 resultobj
= PyList_New(0);
17579 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17580 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17581 PyList_Append(resultobj
, number
);
17591 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17592 PyObject
*resultobj
= 0;
17593 wxFontEncoding arg1
;
17594 wxFontEncoding arg2
;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 char * kwnames
[] = {
17603 (char *) "encIn",(char *) "encOut", NULL
17606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17607 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17608 if (!SWIG_IsOK(ecode1
)) {
17609 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17611 arg1
= static_cast< wxFontEncoding
>(val1
);
17612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17613 if (!SWIG_IsOK(ecode2
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17616 arg2
= static_cast< wxFontEncoding
>(val2
);
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17632 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17635 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17636 return SWIG_Py_Void();
17639 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17640 return SWIG_Python_InitShadowInstance(args
);
17643 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17644 PyObject
*resultobj
= 0;
17645 wxDC
*arg1
= (wxDC
*) 0 ;
17648 PyObject
*swig_obj
[1] ;
17650 if (!args
) SWIG_fail
;
17651 swig_obj
[0] = args
;
17652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= SWIG_Py_Void();
17671 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
= 0;
17673 wxDC
*arg1
= (wxDC
*) 0 ;
17676 wxColour
*arg4
= 0 ;
17677 int arg5
= (int) wxFLOOD_SURFACE
;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 PyObject
* obj2
= 0 ;
17691 PyObject
* obj3
= 0 ;
17692 PyObject
* obj4
= 0 ;
17693 char * kwnames
[] = {
17694 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17699 if (!SWIG_IsOK(res1
)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17704 if (!SWIG_IsOK(ecode2
)) {
17705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17707 arg2
= static_cast< int >(val2
);
17708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17709 if (!SWIG_IsOK(ecode3
)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17712 arg3
= static_cast< int >(val3
);
17715 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17718 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17719 if (!SWIG_IsOK(ecode5
)) {
17720 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17722 arg5
= static_cast< int >(val5
);
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17739 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
= 0;
17741 wxDC
*arg1
= (wxDC
*) 0 ;
17742 wxPoint
*arg2
= 0 ;
17743 wxColour
*arg3
= 0 ;
17744 int arg4
= (int) wxFLOOD_SURFACE
;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 PyObject
* obj2
= 0 ;
17755 PyObject
* obj3
= 0 ;
17756 char * kwnames
[] = {
17757 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17762 if (!SWIG_IsOK(res1
)) {
17763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17772 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17775 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17776 if (!SWIG_IsOK(ecode4
)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17779 arg4
= static_cast< int >(val4
);
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17796 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
= 0;
17798 wxDC
*arg1
= (wxDC
*) 0 ;
17800 wxColour
*arg3
= 0 ;
17801 wxColour
*arg4
= 0 ;
17802 wxPoint
*arg5
= 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 PyObject
* obj2
= 0 ;
17812 PyObject
* obj3
= 0 ;
17813 PyObject
* obj4
= 0 ;
17814 char * kwnames
[] = {
17815 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17820 if (!SWIG_IsOK(res1
)) {
17821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17826 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17830 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17834 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17838 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_Py_Void();
17853 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= 0;
17855 wxDC
*arg1
= (wxDC
*) 0 ;
17857 wxColour
*arg3
= 0 ;
17858 wxColour
*arg4
= 0 ;
17859 wxDirection arg5
= (wxDirection
) wxEAST
;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 PyObject
* obj2
= 0 ;
17870 PyObject
* obj3
= 0 ;
17871 PyObject
* obj4
= 0 ;
17872 char * kwnames
[] = {
17873 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17878 if (!SWIG_IsOK(res1
)) {
17879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17884 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17888 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17892 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17895 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17896 if (!SWIG_IsOK(ecode5
)) {
17897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17899 arg5
= static_cast< wxDirection
>(val5
);
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= SWIG_Py_Void();
17914 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
= 0;
17916 wxDC
*arg1
= (wxDC
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 char * kwnames
[] = {
17930 (char *) "self",(char *) "x",(char *) "y", NULL
17933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17940 if (!SWIG_IsOK(ecode2
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17943 arg2
= static_cast< int >(val2
);
17944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17945 if (!SWIG_IsOK(ecode3
)) {
17946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17948 arg3
= static_cast< int >(val3
);
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17962 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17963 PyObject
*resultobj
= 0;
17964 wxDC
*arg1
= (wxDC
*) 0 ;
17965 wxPoint
*arg2
= 0 ;
17970 PyObject
* obj0
= 0 ;
17971 PyObject
* obj1
= 0 ;
17972 char * kwnames
[] = {
17973 (char *) "self",(char *) "pt", NULL
17976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17978 if (!SWIG_IsOK(res1
)) {
17979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17999 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
= 0;
18001 wxDC
*arg1
= (wxDC
*) 0 ;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 PyObject
* obj2
= 0 ;
18019 PyObject
* obj3
= 0 ;
18020 PyObject
* obj4
= 0 ;
18021 char * kwnames
[] = {
18022 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18027 if (!SWIG_IsOK(res1
)) {
18028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18032 if (!SWIG_IsOK(ecode2
)) {
18033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18035 arg2
= static_cast< int >(val2
);
18036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18037 if (!SWIG_IsOK(ecode3
)) {
18038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18040 arg3
= static_cast< int >(val3
);
18041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18042 if (!SWIG_IsOK(ecode4
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18045 arg4
= static_cast< int >(val4
);
18046 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18047 if (!SWIG_IsOK(ecode5
)) {
18048 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18050 arg5
= static_cast< int >(val5
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_Py_Void();
18064 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
= 0;
18066 wxDC
*arg1
= (wxDC
*) 0 ;
18067 wxPoint
*arg2
= 0 ;
18068 wxPoint
*arg3
= 0 ;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 PyObject
* obj2
= 0 ;
18076 char * kwnames
[] = {
18077 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18082 if (!SWIG_IsOK(res1
)) {
18083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= SWIG_Py_Void();
18107 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
= 0;
18109 wxDC
*arg1
= (wxDC
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 PyObject
* obj2
= 0 ;
18121 char * kwnames
[] = {
18122 (char *) "self",(char *) "x",(char *) "y", NULL
18125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18127 if (!SWIG_IsOK(res1
)) {
18128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18132 if (!SWIG_IsOK(ecode2
)) {
18133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18135 arg2
= static_cast< int >(val2
);
18136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18137 if (!SWIG_IsOK(ecode3
)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18140 arg3
= static_cast< int >(val3
);
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 (arg1
)->CrossHair(arg2
,arg3
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_Py_Void();
18154 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
= 0;
18156 wxDC
*arg1
= (wxDC
*) 0 ;
18157 wxPoint
*arg2
= 0 ;
18161 PyObject
* obj0
= 0 ;
18162 PyObject
* obj1
= 0 ;
18163 char * kwnames
[] = {
18164 (char *) "self",(char *) "pt", NULL
18167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18169 if (!SWIG_IsOK(res1
)) {
18170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_Py_Void();
18190 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= 0;
18192 wxDC
*arg1
= (wxDC
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 PyObject
* obj2
= 0 ;
18216 PyObject
* obj3
= 0 ;
18217 PyObject
* obj4
= 0 ;
18218 PyObject
* obj5
= 0 ;
18219 PyObject
* obj6
= 0 ;
18220 char * kwnames
[] = {
18221 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18226 if (!SWIG_IsOK(res1
)) {
18227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18231 if (!SWIG_IsOK(ecode2
)) {
18232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18234 arg2
= static_cast< int >(val2
);
18235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18236 if (!SWIG_IsOK(ecode3
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18239 arg3
= static_cast< int >(val3
);
18240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18241 if (!SWIG_IsOK(ecode4
)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18244 arg4
= static_cast< int >(val4
);
18245 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18246 if (!SWIG_IsOK(ecode5
)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18249 arg5
= static_cast< int >(val5
);
18250 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18251 if (!SWIG_IsOK(ecode6
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18254 arg6
= static_cast< int >(val6
);
18255 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18256 if (!SWIG_IsOK(ecode7
)) {
18257 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18259 arg7
= static_cast< int >(val7
);
18261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= SWIG_Py_Void();
18273 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
= 0;
18275 wxDC
*arg1
= (wxDC
*) 0 ;
18276 wxPoint
*arg2
= 0 ;
18277 wxPoint
*arg3
= 0 ;
18278 wxPoint
*arg4
= 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 PyObject
* obj3
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18304 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18308 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_Py_Void();
18323 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxDC
*arg1
= (wxDC
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 PyObject
* obj2
= 0 ;
18343 PyObject
* obj3
= 0 ;
18344 PyObject
* obj4
= 0 ;
18345 char * kwnames
[] = {
18346 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18356 if (!SWIG_IsOK(ecode2
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18359 arg2
= static_cast< int >(val2
);
18360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18361 if (!SWIG_IsOK(ecode3
)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18364 arg3
= static_cast< int >(val3
);
18365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18366 if (!SWIG_IsOK(ecode4
)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18369 arg4
= static_cast< int >(val4
);
18370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18371 if (!SWIG_IsOK(ecode5
)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18374 arg5
= static_cast< int >(val5
);
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_Py_Void();
18388 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= 0;
18390 wxDC
*arg1
= (wxDC
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 PyObject
* obj1
= 0 ;
18397 char * kwnames
[] = {
18398 (char *) "self",(char *) "rect", NULL
18401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18403 if (!SWIG_IsOK(res1
)) {
18404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18409 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_Py_Void();
18424 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
= 0;
18426 wxDC
*arg1
= (wxDC
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 PyObject
* obj2
= 0 ;
18450 PyObject
* obj3
= 0 ;
18451 PyObject
* obj4
= 0 ;
18452 PyObject
* obj5
= 0 ;
18453 PyObject
* obj6
= 0 ;
18454 char * kwnames
[] = {
18455 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18460 if (!SWIG_IsOK(res1
)) {
18461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18465 if (!SWIG_IsOK(ecode2
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18468 arg2
= static_cast< int >(val2
);
18469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18470 if (!SWIG_IsOK(ecode3
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18473 arg3
= static_cast< int >(val3
);
18474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18475 if (!SWIG_IsOK(ecode4
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18478 arg4
= static_cast< int >(val4
);
18479 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18480 if (!SWIG_IsOK(ecode5
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18483 arg5
= static_cast< int >(val5
);
18484 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18485 if (!SWIG_IsOK(ecode6
)) {
18486 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18488 arg6
= static_cast< double >(val6
);
18489 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18490 if (!SWIG_IsOK(ecode7
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18493 arg7
= static_cast< double >(val7
);
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18497 wxPyEndAllowThreads(__tstate
);
18498 if (PyErr_Occurred()) SWIG_fail
;
18500 resultobj
= SWIG_Py_Void();
18507 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
= 0;
18509 wxDC
*arg1
= (wxDC
*) 0 ;
18510 wxPoint
*arg2
= 0 ;
18522 PyObject
* obj0
= 0 ;
18523 PyObject
* obj1
= 0 ;
18524 PyObject
* obj2
= 0 ;
18525 PyObject
* obj3
= 0 ;
18526 PyObject
* obj4
= 0 ;
18527 char * kwnames
[] = {
18528 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18533 if (!SWIG_IsOK(res1
)) {
18534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18543 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18545 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18546 if (!SWIG_IsOK(ecode4
)) {
18547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18549 arg4
= static_cast< double >(val4
);
18550 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18551 if (!SWIG_IsOK(ecode5
)) {
18552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18554 arg5
= static_cast< double >(val5
);
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_Py_Void();
18568 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxDC
*arg1
= (wxDC
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 PyObject
* obj2
= 0 ;
18582 char * kwnames
[] = {
18583 (char *) "self",(char *) "x",(char *) "y", NULL
18586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18593 if (!SWIG_IsOK(ecode2
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18596 arg2
= static_cast< int >(val2
);
18597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18598 if (!SWIG_IsOK(ecode3
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18601 arg3
= static_cast< int >(val3
);
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->DrawPoint(arg2
,arg3
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_Py_Void();
18615 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= 0;
18617 wxDC
*arg1
= (wxDC
*) 0 ;
18618 wxPoint
*arg2
= 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char * kwnames
[] = {
18625 (char *) "self",(char *) "pt", NULL
18628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18630 if (!SWIG_IsOK(res1
)) {
18631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18640 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= SWIG_Py_Void();
18651 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
= 0;
18653 wxDC
*arg1
= (wxDC
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 PyObject
* obj1
= 0 ;
18670 PyObject
* obj2
= 0 ;
18671 PyObject
* obj3
= 0 ;
18672 PyObject
* obj4
= 0 ;
18673 char * kwnames
[] = {
18674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18684 if (!SWIG_IsOK(ecode2
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18687 arg2
= static_cast< int >(val2
);
18688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18689 if (!SWIG_IsOK(ecode3
)) {
18690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18692 arg3
= static_cast< int >(val3
);
18693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18694 if (!SWIG_IsOK(ecode4
)) {
18695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18697 arg4
= static_cast< int >(val4
);
18698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18699 if (!SWIG_IsOK(ecode5
)) {
18700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18702 arg5
= static_cast< int >(val5
);
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_Py_Void();
18716 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
= 0;
18718 wxDC
*arg1
= (wxDC
*) 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "self",(char *) "rect", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18737 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_Py_Void();
18752 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
= 0;
18754 wxDC
*arg1
= (wxDC
*) 0 ;
18755 wxPoint
*arg2
= 0 ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 PyObject
* obj2
= 0 ;
18764 char * kwnames
[] = {
18765 (char *) "self",(char *) "pt",(char *) "sz", NULL
18768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18770 if (!SWIG_IsOK(res1
)) {
18771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18780 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= SWIG_Py_Void();
18795 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
= 0;
18797 wxDC
*arg1
= (wxDC
*) 0 ;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 PyObject
* obj2
= 0 ;
18818 PyObject
* obj3
= 0 ;
18819 PyObject
* obj4
= 0 ;
18820 PyObject
* obj5
= 0 ;
18821 char * kwnames
[] = {
18822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18827 if (!SWIG_IsOK(res1
)) {
18828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18832 if (!SWIG_IsOK(ecode2
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18835 arg2
= static_cast< int >(val2
);
18836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18837 if (!SWIG_IsOK(ecode3
)) {
18838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18840 arg3
= static_cast< int >(val3
);
18841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18842 if (!SWIG_IsOK(ecode4
)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18845 arg4
= static_cast< int >(val4
);
18846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18847 if (!SWIG_IsOK(ecode5
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18850 arg5
= static_cast< int >(val5
);
18851 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18852 if (!SWIG_IsOK(ecode6
)) {
18853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18855 arg6
= static_cast< double >(val6
);
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= SWIG_Py_Void();
18869 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
= 0;
18871 wxDC
*arg1
= (wxDC
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 PyObject
* obj2
= 0 ;
18882 char * kwnames
[] = {
18883 (char *) "self",(char *) "r",(char *) "radius", NULL
18886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18894 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18896 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18897 if (!SWIG_IsOK(ecode3
)) {
18898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18900 arg3
= static_cast< double >(val3
);
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_Py_Void();
18914 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
= 0;
18916 wxDC
*arg1
= (wxDC
*) 0 ;
18917 wxPoint
*arg2
= 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 PyObject
* obj2
= 0 ;
18929 PyObject
* obj3
= 0 ;
18930 char * kwnames
[] = {
18931 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18936 if (!SWIG_IsOK(res1
)) {
18937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18946 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18948 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18949 if (!SWIG_IsOK(ecode4
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18952 arg4
= static_cast< double >(val4
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_Py_Void();
18966 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
= 0;
18968 wxDC
*arg1
= (wxDC
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 PyObject
* obj2
= 0 ;
18983 PyObject
* obj3
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18990 if (!SWIG_IsOK(res1
)) {
18991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18995 if (!SWIG_IsOK(ecode2
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18998 arg2
= static_cast< int >(val2
);
18999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19000 if (!SWIG_IsOK(ecode3
)) {
19001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19003 arg3
= static_cast< int >(val3
);
19004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19005 if (!SWIG_IsOK(ecode4
)) {
19006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19008 arg4
= static_cast< int >(val4
);
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_Py_Void();
19022 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
= 0;
19024 wxDC
*arg1
= (wxDC
*) 0 ;
19025 wxPoint
*arg2
= 0 ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 PyObject
* obj2
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "pt",(char *) "radius", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19050 if (!SWIG_IsOK(ecode3
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19053 arg3
= static_cast< int >(val3
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_Py_Void();
19067 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
= 0;
19069 wxDC
*arg1
= (wxDC
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 PyObject
* obj2
= 0 ;
19087 PyObject
* obj3
= 0 ;
19088 PyObject
* obj4
= 0 ;
19089 char * kwnames
[] = {
19090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19100 if (!SWIG_IsOK(ecode2
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19103 arg2
= static_cast< int >(val2
);
19104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19105 if (!SWIG_IsOK(ecode3
)) {
19106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19108 arg3
= static_cast< int >(val3
);
19109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19110 if (!SWIG_IsOK(ecode4
)) {
19111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19113 arg4
= static_cast< int >(val4
);
19114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19115 if (!SWIG_IsOK(ecode5
)) {
19116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19118 arg5
= static_cast< int >(val5
);
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_Py_Void();
19132 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxDC
*arg1
= (wxDC
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char * kwnames
[] = {
19142 (char *) "self",(char *) "rect", NULL
19145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_Py_Void();
19168 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= 0;
19170 wxDC
*arg1
= (wxDC
*) 0 ;
19171 wxPoint
*arg2
= 0 ;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 PyObject
* obj2
= 0 ;
19180 char * kwnames
[] = {
19181 (char *) "self",(char *) "pt",(char *) "sz", NULL
19184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19186 if (!SWIG_IsOK(res1
)) {
19187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19196 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_Py_Void();
19211 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
= 0;
19213 wxDC
*arg1
= (wxDC
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 PyObject
* obj2
= 0 ;
19228 PyObject
* obj3
= 0 ;
19229 char * kwnames
[] = {
19230 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19235 if (!SWIG_IsOK(res1
)) {
19236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19240 if (!SWIG_IsOK(res2
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19246 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19248 if (!SWIG_IsOK(ecode3
)) {
19249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19251 arg3
= static_cast< int >(val3
);
19252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19253 if (!SWIG_IsOK(ecode4
)) {
19254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19256 arg4
= static_cast< int >(val4
);
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_Py_Void();
19270 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxDC
*arg1
= (wxDC
*) 0 ;
19274 wxPoint
*arg3
= 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 PyObject
* obj2
= 0 ;
19283 char * kwnames
[] = {
19284 (char *) "self",(char *) "icon",(char *) "pt", NULL
19287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19289 if (!SWIG_IsOK(res1
)) {
19290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19294 if (!SWIG_IsOK(res2
)) {
19295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19300 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= SWIG_Py_Void();
19318 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
= 0;
19320 wxDC
*arg1
= (wxDC
*) 0 ;
19321 wxBitmap
*arg2
= 0 ;
19324 bool arg5
= (bool) false ;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 PyObject
* obj2
= 0 ;
19338 PyObject
* obj3
= 0 ;
19339 PyObject
* obj4
= 0 ;
19340 char * kwnames
[] = {
19341 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19346 if (!SWIG_IsOK(res1
)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19351 if (!SWIG_IsOK(res2
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19357 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19359 if (!SWIG_IsOK(ecode3
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19362 arg3
= static_cast< int >(val3
);
19363 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19364 if (!SWIG_IsOK(ecode4
)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19367 arg4
= static_cast< int >(val4
);
19369 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19370 if (!SWIG_IsOK(ecode5
)) {
19371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19373 arg5
= static_cast< bool >(val5
);
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= SWIG_Py_Void();
19388 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= 0;
19390 wxDC
*arg1
= (wxDC
*) 0 ;
19391 wxBitmap
*arg2
= 0 ;
19392 wxPoint
*arg3
= 0 ;
19393 bool arg4
= (bool) false ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 PyObject
* obj2
= 0 ;
19404 PyObject
* obj3
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19416 if (!SWIG_IsOK(res2
)) {
19417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19422 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19428 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19429 if (!SWIG_IsOK(ecode4
)) {
19430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19432 arg4
= static_cast< bool >(val4
);
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_Py_Void();
19447 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
= 0;
19449 wxDC
*arg1
= (wxDC
*) 0 ;
19450 wxString
*arg2
= 0 ;
19455 bool temp2
= false ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 PyObject
* obj2
= 0 ;
19463 PyObject
* obj3
= 0 ;
19464 char * kwnames
[] = {
19465 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19470 if (!SWIG_IsOK(res1
)) {
19471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19475 arg2
= wxString_in_helper(obj1
);
19476 if (arg2
== NULL
) SWIG_fail
;
19479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19480 if (!SWIG_IsOK(ecode3
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19483 arg3
= static_cast< int >(val3
);
19484 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19485 if (!SWIG_IsOK(ecode4
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19488 arg4
= static_cast< int >(val4
);
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_Py_Void();
19510 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
= 0;
19512 wxDC
*arg1
= (wxDC
*) 0 ;
19513 wxString
*arg2
= 0 ;
19514 wxPoint
*arg3
= 0 ;
19517 bool temp2
= false ;
19519 PyObject
* obj0
= 0 ;
19520 PyObject
* obj1
= 0 ;
19521 PyObject
* obj2
= 0 ;
19522 char * kwnames
[] = {
19523 (char *) "self",(char *) "text",(char *) "pt", NULL
19526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19528 if (!SWIG_IsOK(res1
)) {
19529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19533 arg2
= wxString_in_helper(obj1
);
19534 if (arg2
== NULL
) SWIG_fail
;
19539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19547 resultobj
= SWIG_Py_Void();
19562 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxDC
*arg1
= (wxDC
*) 0 ;
19565 wxString
*arg2
= 0 ;
19571 bool temp2
= false ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 PyObject
* obj2
= 0 ;
19581 PyObject
* obj3
= 0 ;
19582 PyObject
* obj4
= 0 ;
19583 char * kwnames
[] = {
19584 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19589 if (!SWIG_IsOK(res1
)) {
19590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19594 arg2
= wxString_in_helper(obj1
);
19595 if (arg2
== NULL
) SWIG_fail
;
19598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19599 if (!SWIG_IsOK(ecode3
)) {
19600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19602 arg3
= static_cast< int >(val3
);
19603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19604 if (!SWIG_IsOK(ecode4
)) {
19605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19607 arg4
= static_cast< int >(val4
);
19608 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19609 if (!SWIG_IsOK(ecode5
)) {
19610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19612 arg5
= static_cast< double >(val5
);
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= SWIG_Py_Void();
19634 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
= 0;
19636 wxDC
*arg1
= (wxDC
*) 0 ;
19637 wxString
*arg2
= 0 ;
19638 wxPoint
*arg3
= 0 ;
19642 bool temp2
= false ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 PyObject
* obj2
= 0 ;
19649 PyObject
* obj3
= 0 ;
19650 char * kwnames
[] = {
19651 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19656 if (!SWIG_IsOK(res1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19661 arg2
= wxString_in_helper(obj1
);
19662 if (arg2
== NULL
) SWIG_fail
;
19667 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19669 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19670 if (!SWIG_IsOK(ecode4
)) {
19671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19673 arg4
= static_cast< double >(val4
);
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_Py_Void();
19695 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
= 0;
19697 wxDC
*arg1
= (wxDC
*) 0 ;
19702 wxDC
*arg6
= (wxDC
*) 0 ;
19705 int arg9
= (int) wxCOPY
;
19706 bool arg10
= (bool) false ;
19707 int arg11
= (int) -1 ;
19708 int arg12
= (int) -1 ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 PyObject
* obj2
= 0 ;
19737 PyObject
* obj3
= 0 ;
19738 PyObject
* obj4
= 0 ;
19739 PyObject
* obj5
= 0 ;
19740 PyObject
* obj6
= 0 ;
19741 PyObject
* obj7
= 0 ;
19742 PyObject
* obj8
= 0 ;
19743 PyObject
* obj9
= 0 ;
19744 PyObject
* obj10
= 0 ;
19745 PyObject
* obj11
= 0 ;
19746 char * kwnames
[] = {
19747 (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
19750 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
;
19751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19752 if (!SWIG_IsOK(res1
)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19757 if (!SWIG_IsOK(ecode2
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19760 arg2
= static_cast< int >(val2
);
19761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19762 if (!SWIG_IsOK(ecode3
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19765 arg3
= static_cast< int >(val3
);
19766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19767 if (!SWIG_IsOK(ecode4
)) {
19768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19770 arg4
= static_cast< int >(val4
);
19771 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19772 if (!SWIG_IsOK(ecode5
)) {
19773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19775 arg5
= static_cast< int >(val5
);
19776 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19777 if (!SWIG_IsOK(res6
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19780 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19781 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19782 if (!SWIG_IsOK(ecode7
)) {
19783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19785 arg7
= static_cast< int >(val7
);
19786 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19787 if (!SWIG_IsOK(ecode8
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19790 arg8
= static_cast< int >(val8
);
19792 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19793 if (!SWIG_IsOK(ecode9
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19796 arg9
= static_cast< int >(val9
);
19799 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19800 if (!SWIG_IsOK(ecode10
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19803 arg10
= static_cast< bool >(val10
);
19806 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19807 if (!SWIG_IsOK(ecode11
)) {
19808 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19810 arg11
= static_cast< int >(val11
);
19813 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19814 if (!SWIG_IsOK(ecode12
)) {
19815 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19817 arg12
= static_cast< int >(val12
);
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19834 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
= 0;
19836 wxDC
*arg1
= (wxDC
*) 0 ;
19837 wxPoint
*arg2
= 0 ;
19839 wxDC
*arg4
= (wxDC
*) 0 ;
19840 wxPoint
*arg5
= 0 ;
19841 int arg6
= (int) wxCOPY
;
19842 bool arg7
= (bool) false ;
19843 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19844 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 PyObject
* obj2
= 0 ;
19861 PyObject
* obj3
= 0 ;
19862 PyObject
* obj4
= 0 ;
19863 PyObject
* obj5
= 0 ;
19864 PyObject
* obj6
= 0 ;
19865 PyObject
* obj7
= 0 ;
19866 char * kwnames
[] = {
19867 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19882 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19884 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19885 if (!SWIG_IsOK(res4
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19888 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19891 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19894 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19895 if (!SWIG_IsOK(ecode6
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19898 arg6
= static_cast< int >(val6
);
19901 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19902 if (!SWIG_IsOK(ecode7
)) {
19903 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19905 arg7
= static_cast< bool >(val7
);
19910 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= 0;
19930 wxDC
*arg1
= (wxDC
*) 0 ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 PyObject
* obj2
= 0 ;
19948 PyObject
* obj3
= 0 ;
19949 PyObject
* obj4
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19956 if (!SWIG_IsOK(res1
)) {
19957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19961 if (!SWIG_IsOK(ecode2
)) {
19962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19964 arg2
= static_cast< int >(val2
);
19965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19966 if (!SWIG_IsOK(ecode3
)) {
19967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19969 arg3
= static_cast< int >(val3
);
19970 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19971 if (!SWIG_IsOK(ecode4
)) {
19972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19974 arg4
= static_cast< int >(val4
);
19975 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19976 if (!SWIG_IsOK(ecode5
)) {
19977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19979 arg5
= static_cast< int >(val5
);
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= SWIG_Py_Void();
19993 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
= 0;
19995 wxDC
*arg1
= (wxDC
*) 0 ;
19996 wxPoint
*arg2
= 0 ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 PyObject
* obj2
= 0 ;
20005 char * kwnames
[] = {
20006 (char *) "self",(char *) "pt",(char *) "sz", NULL
20009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20021 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_Py_Void();
20036 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxDC
*arg1
= (wxDC
*) 0 ;
20039 wxRegion
*arg2
= 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "self",(char *) "region", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20052 if (!SWIG_IsOK(res1
)) {
20053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20057 if (!SWIG_IsOK(res2
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20063 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= SWIG_Py_Void();
20077 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
= 0;
20079 wxDC
*arg1
= (wxDC
*) 0 ;
20084 PyObject
* obj0
= 0 ;
20085 PyObject
* obj1
= 0 ;
20086 char * kwnames
[] = {
20087 (char *) "self",(char *) "rect", NULL
20090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20092 if (!SWIG_IsOK(res1
)) {
20093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20098 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= SWIG_Py_Void();
20113 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxDC
*arg1
= (wxDC
*) 0 ;
20117 wxPoint
*arg3
= (wxPoint
*) 0 ;
20118 int arg4
= (int) 0 ;
20119 int arg5
= (int) 0 ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 PyObject
* obj2
= 0 ;
20129 PyObject
* obj3
= 0 ;
20130 char * kwnames
[] = {
20131 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20136 if (!SWIG_IsOK(res1
)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20141 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20142 if (arg3
== NULL
) SWIG_fail
;
20145 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20146 if (!SWIG_IsOK(ecode4
)) {
20147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20149 arg4
= static_cast< int >(val4
);
20152 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20153 if (!SWIG_IsOK(ecode5
)) {
20154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20156 arg5
= static_cast< int >(val5
);
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= SWIG_Py_Void();
20166 if (arg3
) delete [] arg3
;
20171 if (arg3
) delete [] arg3
;
20177 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
= 0;
20179 wxDC
*arg1
= (wxDC
*) 0 ;
20181 wxPoint
*arg3
= (wxPoint
*) 0 ;
20182 int arg4
= (int) 0 ;
20183 int arg5
= (int) 0 ;
20184 int arg6
= (int) wxODDEVEN_RULE
;
20193 PyObject
* obj0
= 0 ;
20194 PyObject
* obj1
= 0 ;
20195 PyObject
* obj2
= 0 ;
20196 PyObject
* obj3
= 0 ;
20197 PyObject
* obj4
= 0 ;
20198 char * kwnames
[] = {
20199 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20204 if (!SWIG_IsOK(res1
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20209 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20210 if (arg3
== NULL
) SWIG_fail
;
20213 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20214 if (!SWIG_IsOK(ecode4
)) {
20215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20217 arg4
= static_cast< int >(val4
);
20220 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20221 if (!SWIG_IsOK(ecode5
)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20224 arg5
= static_cast< int >(val5
);
20227 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20228 if (!SWIG_IsOK(ecode6
)) {
20229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20231 arg6
= static_cast< int >(val6
);
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_Py_Void();
20241 if (arg3
) delete [] arg3
;
20246 if (arg3
) delete [] arg3
;
20252 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
= 0;
20254 wxDC
*arg1
= (wxDC
*) 0 ;
20255 wxString
*arg2
= 0 ;
20257 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20258 int arg5
= (int) -1 ;
20261 bool temp2
= false ;
20267 PyObject
* obj0
= 0 ;
20268 PyObject
* obj1
= 0 ;
20269 PyObject
* obj2
= 0 ;
20270 PyObject
* obj3
= 0 ;
20271 PyObject
* obj4
= 0 ;
20272 char * kwnames
[] = {
20273 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20283 arg2
= wxString_in_helper(obj1
);
20284 if (arg2
== NULL
) SWIG_fail
;
20289 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20293 if (!SWIG_IsOK(ecode4
)) {
20294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20296 arg4
= static_cast< int >(val4
);
20299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20300 if (!SWIG_IsOK(ecode5
)) {
20301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20303 arg5
= static_cast< int >(val5
);
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= SWIG_Py_Void();
20326 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
= 0;
20328 wxDC
*arg1
= (wxDC
*) 0 ;
20329 wxString
*arg2
= 0 ;
20330 wxBitmap
*arg3
= 0 ;
20332 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20333 int arg6
= (int) -1 ;
20337 bool temp2
= false ;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 PyObject
* obj2
= 0 ;
20348 PyObject
* obj3
= 0 ;
20349 PyObject
* obj4
= 0 ;
20350 PyObject
* obj5
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20362 arg2
= wxString_in_helper(obj1
);
20363 if (arg2
== NULL
) SWIG_fail
;
20366 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20367 if (!SWIG_IsOK(res3
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20373 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20376 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20379 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20380 if (!SWIG_IsOK(ecode5
)) {
20381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20383 arg5
= static_cast< int >(val5
);
20386 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20387 if (!SWIG_IsOK(ecode6
)) {
20388 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20390 arg6
= static_cast< int >(val6
);
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20413 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
= 0;
20415 wxDC
*arg1
= (wxDC
*) 0 ;
20417 wxPoint
*arg3
= (wxPoint
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char * kwnames
[] = {
20423 (char *) "self",(char *) "points", NULL
20426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20428 if (!SWIG_IsOK(res1
)) {
20429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20431 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20433 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20434 if (arg3
== NULL
) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 (arg1
)->DrawSpline(arg2
,arg3
);
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20442 resultobj
= SWIG_Py_Void();
20444 if (arg3
) delete [] arg3
;
20449 if (arg3
) delete [] arg3
;
20455 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20456 PyObject
*resultobj
= 0;
20457 wxDC
*arg1
= (wxDC
*) 0 ;
20460 PyObject
*swig_obj
[1] ;
20462 if (!args
) SWIG_fail
;
20463 swig_obj
[0] = args
;
20464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20465 if (!SWIG_IsOK(res1
)) {
20466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= SWIG_Py_Void();
20482 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20483 PyObject
*resultobj
= 0;
20484 wxDC
*arg1
= (wxDC
*) 0 ;
20485 wxString
*arg2
= 0 ;
20489 bool temp2
= false ;
20490 PyObject
* obj0
= 0 ;
20491 PyObject
* obj1
= 0 ;
20492 char * kwnames
[] = {
20493 (char *) "self",(char *) "message", NULL
20496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20498 if (!SWIG_IsOK(res1
)) {
20499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20503 arg2
= wxString_in_helper(obj1
);
20504 if (arg2
== NULL
) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20530 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20531 PyObject
*resultobj
= 0;
20532 wxDC
*arg1
= (wxDC
*) 0 ;
20535 PyObject
*swig_obj
[1] ;
20537 if (!args
) SWIG_fail
;
20538 swig_obj
[0] = args
;
20539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20540 if (!SWIG_IsOK(res1
)) {
20541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_Py_Void();
20557 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20558 PyObject
*resultobj
= 0;
20559 wxDC
*arg1
= (wxDC
*) 0 ;
20562 PyObject
*swig_obj
[1] ;
20564 if (!args
) SWIG_fail
;
20565 swig_obj
[0] = args
;
20566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20567 if (!SWIG_IsOK(res1
)) {
20568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 (arg1
)->StartPage();
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_Py_Void();
20584 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20585 PyObject
*resultobj
= 0;
20586 wxDC
*arg1
= (wxDC
*) 0 ;
20589 PyObject
*swig_obj
[1] ;
20591 if (!args
) SWIG_fail
;
20592 swig_obj
[0] = args
;
20593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20597 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_Py_Void();
20611 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
= 0;
20613 wxDC
*arg1
= (wxDC
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 PyObject
* obj1
= 0 ;
20621 char * kwnames
[] = {
20622 (char *) "self",(char *) "font", NULL
20625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20627 if (!SWIG_IsOK(res1
)) {
20628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20632 if (!SWIG_IsOK(res2
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20638 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 (arg1
)->SetFont((wxFont
const &)*arg2
);
20642 wxPyEndAllowThreads(__tstate
);
20643 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= SWIG_Py_Void();
20652 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
= 0;
20654 wxDC
*arg1
= (wxDC
*) 0 ;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char * kwnames
[] = {
20663 (char *) "self",(char *) "pen", NULL
20666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20668 if (!SWIG_IsOK(res1
)) {
20669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20671 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20673 if (!SWIG_IsOK(res2
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20679 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->SetPen((wxPen
const &)*arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20693 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
= 0;
20695 wxDC
*arg1
= (wxDC
*) 0 ;
20696 wxBrush
*arg2
= 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20703 char * kwnames
[] = {
20704 (char *) "self",(char *) "brush", NULL
20707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20709 if (!SWIG_IsOK(res1
)) {
20710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20714 if (!SWIG_IsOK(res2
)) {
20715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20720 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_Py_Void();
20734 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxDC
*arg1
= (wxDC
*) 0 ;
20737 wxBrush
*arg2
= 0 ;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20744 char * kwnames
[] = {
20745 (char *) "self",(char *) "brush", NULL
20748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20750 if (!SWIG_IsOK(res1
)) {
20751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20755 if (!SWIG_IsOK(res2
)) {
20756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20761 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_Py_Void();
20775 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
= 0;
20777 wxDC
*arg1
= (wxDC
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char * kwnames
[] = {
20786 (char *) "self",(char *) "mode", NULL
20789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20791 if (!SWIG_IsOK(res1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20796 if (!SWIG_IsOK(ecode2
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20799 arg2
= static_cast< int >(val2
);
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->SetBackgroundMode(arg2
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_Py_Void();
20813 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
= 0;
20815 wxDC
*arg1
= (wxDC
*) 0 ;
20816 wxPalette
*arg2
= 0 ;
20821 PyObject
* obj0
= 0 ;
20822 PyObject
* obj1
= 0 ;
20823 char * kwnames
[] = {
20824 (char *) "self",(char *) "palette", NULL
20827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20834 if (!SWIG_IsOK(res2
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20840 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_Py_Void();
20854 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20855 PyObject
*resultobj
= 0;
20856 wxDC
*arg1
= (wxDC
*) 0 ;
20859 PyObject
*swig_obj
[1] ;
20861 if (!args
) SWIG_fail
;
20862 swig_obj
[0] = args
;
20863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 (arg1
)->DestroyClippingRegion();
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_Py_Void();
20881 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20882 PyObject
*resultobj
= 0;
20883 wxDC
*arg1
= (wxDC
*) 0 ;
20884 int *arg2
= (int *) 0 ;
20885 int *arg3
= (int *) 0 ;
20886 int *arg4
= (int *) 0 ;
20887 int *arg5
= (int *) 0 ;
20891 int res2
= SWIG_TMPOBJ
;
20893 int res3
= SWIG_TMPOBJ
;
20895 int res4
= SWIG_TMPOBJ
;
20897 int res5
= SWIG_TMPOBJ
;
20898 PyObject
*swig_obj
[1] ;
20904 if (!args
) SWIG_fail
;
20905 swig_obj
[0] = args
;
20906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 resultobj
= SWIG_Py_Void();
20918 if (SWIG_IsTmpObj(res2
)) {
20919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20921 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20924 if (SWIG_IsTmpObj(res3
)) {
20925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20927 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20930 if (SWIG_IsTmpObj(res4
)) {
20931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20933 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20936 if (SWIG_IsTmpObj(res5
)) {
20937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20939 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20948 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20949 PyObject
*resultobj
= 0;
20950 wxDC
*arg1
= (wxDC
*) 0 ;
20954 PyObject
*swig_obj
[1] ;
20956 if (!args
) SWIG_fail
;
20957 swig_obj
[0] = args
;
20958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20959 if (!SWIG_IsOK(res1
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= wxDC_GetClippingRect(arg1
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20976 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20977 PyObject
*resultobj
= 0;
20978 wxDC
*arg1
= (wxDC
*) 0 ;
20982 PyObject
*swig_obj
[1] ;
20984 if (!args
) SWIG_fail
;
20985 swig_obj
[0] = args
;
20986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20987 if (!SWIG_IsOK(res1
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_From_int(static_cast< int >(result
));
21004 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21005 PyObject
*resultobj
= 0;
21006 wxDC
*arg1
= (wxDC
*) 0 ;
21010 PyObject
*swig_obj
[1] ;
21012 if (!args
) SWIG_fail
;
21013 swig_obj
[0] = args
;
21014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= SWIG_From_int(static_cast< int >(result
));
21032 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
= 0;
21034 wxDC
*arg1
= (wxDC
*) 0 ;
21035 wxString
*arg2
= 0 ;
21036 int *arg3
= (int *) 0 ;
21037 int *arg4
= (int *) 0 ;
21040 bool temp2
= false ;
21042 int res3
= SWIG_TMPOBJ
;
21044 int res4
= SWIG_TMPOBJ
;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char * kwnames
[] = {
21048 (char *) "self",(char *) "string", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21060 arg2
= wxString_in_helper(obj1
);
21061 if (arg2
== NULL
) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_Py_Void();
21071 if (SWIG_IsTmpObj(res3
)) {
21072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21074 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21077 if (SWIG_IsTmpObj(res4
)) {
21078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21080 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21097 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
= 0;
21099 wxDC
*arg1
= (wxDC
*) 0 ;
21100 wxString
*arg2
= 0 ;
21101 int *arg3
= (int *) 0 ;
21102 int *arg4
= (int *) 0 ;
21103 int *arg5
= (int *) 0 ;
21104 int *arg6
= (int *) 0 ;
21105 wxFont
*arg7
= (wxFont
*) NULL
;
21108 bool temp2
= false ;
21110 int res3
= SWIG_TMPOBJ
;
21112 int res4
= SWIG_TMPOBJ
;
21114 int res5
= SWIG_TMPOBJ
;
21116 int res6
= SWIG_TMPOBJ
;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 PyObject
* obj2
= 0 ;
21122 char * kwnames
[] = {
21123 (char *) "self",(char *) "string",(char *) "font", NULL
21130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 arg2
= wxString_in_helper(obj1
);
21138 if (arg2
== NULL
) SWIG_fail
;
21142 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21143 if (!SWIG_IsOK(res7
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21146 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_Py_Void();
21155 if (SWIG_IsTmpObj(res3
)) {
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21158 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21161 if (SWIG_IsTmpObj(res4
)) {
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21164 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21167 if (SWIG_IsTmpObj(res5
)) {
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21170 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21173 if (SWIG_IsTmpObj(res6
)) {
21174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21176 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21193 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= 0;
21195 wxDC
*arg1
= (wxDC
*) 0 ;
21196 wxString
*arg2
= 0 ;
21197 int *arg3
= (int *) 0 ;
21198 int *arg4
= (int *) 0 ;
21199 int *arg5
= (int *) 0 ;
21200 wxFont
*arg6
= (wxFont
*) NULL
;
21203 bool temp2
= false ;
21205 int res3
= SWIG_TMPOBJ
;
21207 int res4
= SWIG_TMPOBJ
;
21209 int res5
= SWIG_TMPOBJ
;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 PyObject
* obj2
= 0 ;
21215 char * kwnames
[] = {
21216 (char *) "self",(char *) "text",(char *) "font", NULL
21222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21224 if (!SWIG_IsOK(res1
)) {
21225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21229 arg2
= wxString_in_helper(obj1
);
21230 if (arg2
== NULL
) SWIG_fail
;
21234 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21235 if (!SWIG_IsOK(res6
)) {
21236 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21238 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_Py_Void();
21247 if (SWIG_IsTmpObj(res3
)) {
21248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21250 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21253 if (SWIG_IsTmpObj(res4
)) {
21254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21256 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21259 if (SWIG_IsTmpObj(res5
)) {
21260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21262 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21279 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
= 0;
21281 wxDC
*arg1
= (wxDC
*) 0 ;
21282 wxString
*arg2
= 0 ;
21286 bool temp2
= false ;
21287 PyObject
* obj0
= 0 ;
21288 PyObject
* obj1
= 0 ;
21289 char * kwnames
[] = {
21290 (char *) "self",(char *) "text", NULL
21293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21295 if (!SWIG_IsOK(res1
)) {
21296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21300 arg2
= wxString_in_helper(obj1
);
21301 if (arg2
== NULL
) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= PyList_New(0);
21313 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
21314 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
21315 PyList_Append(resultobj
, val
);
21333 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21334 PyObject
*resultobj
= 0;
21335 wxDC
*arg1
= (wxDC
*) 0 ;
21339 PyObject
*swig_obj
[1] ;
21341 if (!args
) SWIG_fail
;
21342 swig_obj
[0] = args
;
21343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21344 if (!SWIG_IsOK(res1
)) {
21345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (arg1
)->GetSize();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21361 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21362 PyObject
*resultobj
= 0;
21363 wxDC
*arg1
= (wxDC
*) 0 ;
21364 int *arg2
= (int *) 0 ;
21365 int *arg3
= (int *) 0 ;
21369 int res2
= SWIG_TMPOBJ
;
21371 int res3
= SWIG_TMPOBJ
;
21372 PyObject
*swig_obj
[1] ;
21376 if (!args
) SWIG_fail
;
21377 swig_obj
[0] = args
;
21378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21379 if (!SWIG_IsOK(res1
)) {
21380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 (arg1
)->GetSize(arg2
,arg3
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_Py_Void();
21390 if (SWIG_IsTmpObj(res2
)) {
21391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21393 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21396 if (SWIG_IsTmpObj(res3
)) {
21397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21399 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21408 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 PyObject
*resultobj
= 0;
21410 wxDC
*arg1
= (wxDC
*) 0 ;
21414 PyObject
*swig_obj
[1] ;
21416 if (!args
) SWIG_fail
;
21417 swig_obj
[0] = args
;
21418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21419 if (!SWIG_IsOK(res1
)) {
21420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21436 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21437 PyObject
*resultobj
= 0;
21438 wxDC
*arg1
= (wxDC
*) 0 ;
21439 int *arg2
= (int *) 0 ;
21440 int *arg3
= (int *) 0 ;
21444 int res2
= SWIG_TMPOBJ
;
21446 int res3
= SWIG_TMPOBJ
;
21447 PyObject
*swig_obj
[1] ;
21451 if (!args
) SWIG_fail
;
21452 swig_obj
[0] = args
;
21453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= SWIG_Py_Void();
21465 if (SWIG_IsTmpObj(res2
)) {
21466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21468 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21471 if (SWIG_IsTmpObj(res3
)) {
21472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21474 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21483 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21484 PyObject
*resultobj
= 0;
21485 wxDC
*arg1
= (wxDC
*) 0 ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 char * kwnames
[] = {
21495 (char *) "self",(char *) "x", NULL
21498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21500 if (!SWIG_IsOK(res1
)) {
21501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21505 if (!SWIG_IsOK(ecode2
)) {
21506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21508 arg2
= static_cast< int >(val2
);
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_From_int(static_cast< int >(result
));
21522 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
= 0;
21524 wxDC
*arg1
= (wxDC
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char * kwnames
[] = {
21534 (char *) "self",(char *) "y", NULL
21537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21539 if (!SWIG_IsOK(res1
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21544 if (!SWIG_IsOK(ecode2
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21547 arg2
= static_cast< int >(val2
);
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 resultobj
= SWIG_From_int(static_cast< int >(result
));
21561 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
= 0;
21563 wxDC
*arg1
= (wxDC
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char * kwnames
[] = {
21573 (char *) "self",(char *) "x", NULL
21576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21578 if (!SWIG_IsOK(res1
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21583 if (!SWIG_IsOK(ecode2
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21586 arg2
= static_cast< int >(val2
);
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_From_int(static_cast< int >(result
));
21600 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
= 0;
21602 wxDC
*arg1
= (wxDC
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char * kwnames
[] = {
21612 (char *) "self",(char *) "y", NULL
21615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21617 if (!SWIG_IsOK(res1
)) {
21618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21622 if (!SWIG_IsOK(ecode2
)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21625 arg2
= static_cast< int >(val2
);
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= SWIG_From_int(static_cast< int >(result
));
21639 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
= 0;
21641 wxDC
*arg1
= (wxDC
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char * kwnames
[] = {
21651 (char *) "self",(char *) "x", NULL
21654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21656 if (!SWIG_IsOK(res1
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21661 if (!SWIG_IsOK(ecode2
)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21664 arg2
= static_cast< int >(val2
);
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 resultobj
= SWIG_From_int(static_cast< int >(result
));
21678 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
= 0;
21680 wxDC
*arg1
= (wxDC
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 PyObject
* obj1
= 0 ;
21689 char * kwnames
[] = {
21690 (char *) "self",(char *) "y", NULL
21693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21695 if (!SWIG_IsOK(res1
)) {
21696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21700 if (!SWIG_IsOK(ecode2
)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21703 arg2
= static_cast< int >(val2
);
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 resultobj
= SWIG_From_int(static_cast< int >(result
));
21717 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
= 0;
21719 wxDC
*arg1
= (wxDC
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 PyObject
* obj1
= 0 ;
21728 char * kwnames
[] = {
21729 (char *) "self",(char *) "x", NULL
21732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21734 if (!SWIG_IsOK(res1
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21739 if (!SWIG_IsOK(ecode2
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21742 arg2
= static_cast< int >(val2
);
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21746 wxPyEndAllowThreads(__tstate
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21749 resultobj
= SWIG_From_int(static_cast< int >(result
));
21756 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
= 0;
21758 wxDC
*arg1
= (wxDC
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 PyObject
* obj1
= 0 ;
21767 char * kwnames
[] = {
21768 (char *) "self",(char *) "y", NULL
21771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21773 if (!SWIG_IsOK(res1
)) {
21774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21778 if (!SWIG_IsOK(ecode2
)) {
21779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21781 arg2
= static_cast< int >(val2
);
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_From_int(static_cast< int >(result
));
21795 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21796 PyObject
*resultobj
= 0;
21797 wxDC
*arg1
= (wxDC
*) 0 ;
21801 PyObject
*swig_obj
[1] ;
21803 if (!args
) SWIG_fail
;
21804 swig_obj
[0] = args
;
21805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21806 if (!SWIG_IsOK(res1
)) {
21807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21809 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21825 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21826 PyObject
*resultobj
= 0;
21827 wxDC
*arg1
= (wxDC
*) 0 ;
21831 PyObject
*swig_obj
[1] ;
21833 if (!args
) SWIG_fail
;
21834 swig_obj
[0] = args
;
21835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21855 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxDC
*arg1
= (wxDC
*) 0 ;
21861 PyObject
*swig_obj
[1] ;
21863 if (!args
) SWIG_fail
;
21864 swig_obj
[0] = args
;
21865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_From_int(static_cast< int >(result
));
21883 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21884 PyObject
*resultobj
= 0;
21885 wxDC
*arg1
= (wxDC
*) 0 ;
21889 PyObject
*swig_obj
[1] ;
21891 if (!args
) SWIG_fail
;
21892 swig_obj
[0] = args
;
21893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= ((wxDC
const *)arg1
)->GetPPI();
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21911 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21912 PyObject
*resultobj
= 0;
21913 wxDC
*arg1
= (wxDC
*) 0 ;
21917 PyObject
*swig_obj
[1] ;
21919 if (!args
) SWIG_fail
;
21920 swig_obj
[0] = args
;
21921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21922 if (!SWIG_IsOK(res1
)) {
21923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (bool)((wxDC
const *)arg1
)->Ok();
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21941 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21942 PyObject
*resultobj
= 0;
21943 wxDC
*arg1
= (wxDC
*) 0 ;
21947 PyObject
*swig_obj
[1] ;
21949 if (!args
) SWIG_fail
;
21950 swig_obj
[0] = args
;
21951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21952 if (!SWIG_IsOK(res1
)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21955 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= SWIG_From_int(static_cast< int >(result
));
21969 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21970 PyObject
*resultobj
= 0;
21971 wxDC
*arg1
= (wxDC
*) 0 ;
21972 wxBrush
*result
= 0 ;
21975 PyObject
*swig_obj
[1] ;
21977 if (!args
) SWIG_fail
;
21978 swig_obj
[0] = args
;
21979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21988 result
= (wxBrush
*) &_result_ref
;
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21994 wxBrush
* resultptr
= new wxBrush(*result
);
21995 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22003 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22004 PyObject
*resultobj
= 0;
22005 wxDC
*arg1
= (wxDC
*) 0 ;
22006 wxBrush
*result
= 0 ;
22009 PyObject
*swig_obj
[1] ;
22011 if (!args
) SWIG_fail
;
22012 swig_obj
[0] = args
;
22013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22014 if (!SWIG_IsOK(res1
)) {
22015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22022 result
= (wxBrush
*) &_result_ref
;
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 wxBrush
* resultptr
= new wxBrush(*result
);
22029 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22037 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22038 PyObject
*resultobj
= 0;
22039 wxDC
*arg1
= (wxDC
*) 0 ;
22040 wxFont
*result
= 0 ;
22043 PyObject
*swig_obj
[1] ;
22045 if (!args
) SWIG_fail
;
22046 swig_obj
[0] = args
;
22047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22048 if (!SWIG_IsOK(res1
)) {
22049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22056 result
= (wxFont
*) &_result_ref
;
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22062 wxFont
* resultptr
= new wxFont(*result
);
22063 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22071 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 PyObject
*resultobj
= 0;
22073 wxDC
*arg1
= (wxDC
*) 0 ;
22074 wxPen
*result
= 0 ;
22077 PyObject
*swig_obj
[1] ;
22079 if (!args
) SWIG_fail
;
22080 swig_obj
[0] = args
;
22081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22082 if (!SWIG_IsOK(res1
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22090 result
= (wxPen
*) &_result_ref
;
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 wxPen
* resultptr
= new wxPen(*result
);
22097 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22105 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 PyObject
*resultobj
= 0;
22107 wxDC
*arg1
= (wxDC
*) 0 ;
22108 wxColour
*result
= 0 ;
22111 PyObject
*swig_obj
[1] ;
22113 if (!args
) SWIG_fail
;
22114 swig_obj
[0] = args
;
22115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22124 result
= (wxColour
*) &_result_ref
;
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22136 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22137 PyObject
*resultobj
= 0;
22138 wxDC
*arg1
= (wxDC
*) 0 ;
22139 wxColour
*result
= 0 ;
22142 PyObject
*swig_obj
[1] ;
22144 if (!args
) SWIG_fail
;
22145 swig_obj
[0] = args
;
22146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22147 if (!SWIG_IsOK(res1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22155 result
= (wxColour
*) &_result_ref
;
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22167 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
= 0;
22169 wxDC
*arg1
= (wxDC
*) 0 ;
22170 wxColour
*arg2
= 0 ;
22174 PyObject
* obj0
= 0 ;
22175 PyObject
* obj1
= 0 ;
22176 char * kwnames
[] = {
22177 (char *) "self",(char *) "colour", NULL
22180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22182 if (!SWIG_IsOK(res1
)) {
22183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_Py_Void();
22203 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= 0;
22205 wxDC
*arg1
= (wxDC
*) 0 ;
22206 wxColour
*arg2
= 0 ;
22210 PyObject
* obj0
= 0 ;
22211 PyObject
* obj1
= 0 ;
22212 char * kwnames
[] = {
22213 (char *) "self",(char *) "colour", NULL
22216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22218 if (!SWIG_IsOK(res1
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 resultobj
= SWIG_Py_Void();
22239 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22240 PyObject
*resultobj
= 0;
22241 wxDC
*arg1
= (wxDC
*) 0 ;
22245 PyObject
*swig_obj
[1] ;
22247 if (!args
) SWIG_fail
;
22248 swig_obj
[0] = args
;
22249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22253 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_From_int(static_cast< int >(result
));
22267 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
= 0;
22269 wxDC
*arg1
= (wxDC
*) 0 ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "self",(char *) "mode", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22288 if (!SWIG_IsOK(ecode2
)) {
22289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22291 arg2
= static_cast< int >(val2
);
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 (arg1
)->SetMapMode(arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_Py_Void();
22305 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 PyObject
*resultobj
= 0;
22307 wxDC
*arg1
= (wxDC
*) 0 ;
22308 double *arg2
= (double *) 0 ;
22309 double *arg3
= (double *) 0 ;
22313 int res2
= SWIG_TMPOBJ
;
22315 int res3
= SWIG_TMPOBJ
;
22316 PyObject
*swig_obj
[1] ;
22320 if (!args
) SWIG_fail
;
22321 swig_obj
[0] = args
;
22322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22323 if (!SWIG_IsOK(res1
)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22330 wxPyEndAllowThreads(__tstate
);
22331 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= SWIG_Py_Void();
22334 if (SWIG_IsTmpObj(res2
)) {
22335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22337 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22340 if (SWIG_IsTmpObj(res3
)) {
22341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22343 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22352 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
= 0;
22354 wxDC
*arg1
= (wxDC
*) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 PyObject
* obj2
= 0 ;
22366 char * kwnames
[] = {
22367 (char *) "self",(char *) "x",(char *) "y", NULL
22370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22376 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22377 if (!SWIG_IsOK(ecode2
)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22380 arg2
= static_cast< double >(val2
);
22381 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22382 if (!SWIG_IsOK(ecode3
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22385 arg3
= static_cast< double >(val3
);
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 (arg1
)->SetUserScale(arg2
,arg3
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= SWIG_Py_Void();
22399 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22400 PyObject
*resultobj
= 0;
22401 wxDC
*arg1
= (wxDC
*) 0 ;
22402 double *arg2
= (double *) 0 ;
22403 double *arg3
= (double *) 0 ;
22407 int res2
= SWIG_TMPOBJ
;
22409 int res3
= SWIG_TMPOBJ
;
22410 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->GetLogicalScale(arg2
,arg3
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_Py_Void();
22428 if (SWIG_IsTmpObj(res2
)) {
22429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22431 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22434 if (SWIG_IsTmpObj(res3
)) {
22435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22437 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22446 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
= 0;
22448 wxDC
*arg1
= (wxDC
*) 0 ;
22457 PyObject
* obj0
= 0 ;
22458 PyObject
* obj1
= 0 ;
22459 PyObject
* obj2
= 0 ;
22460 char * kwnames
[] = {
22461 (char *) "self",(char *) "x",(char *) "y", NULL
22464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22466 if (!SWIG_IsOK(res1
)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22470 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22471 if (!SWIG_IsOK(ecode2
)) {
22472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22474 arg2
= static_cast< double >(val2
);
22475 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22476 if (!SWIG_IsOK(ecode3
)) {
22477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22479 arg3
= static_cast< double >(val3
);
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->SetLogicalScale(arg2
,arg3
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= SWIG_Py_Void();
22493 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 PyObject
*resultobj
= 0;
22495 wxDC
*arg1
= (wxDC
*) 0 ;
22499 PyObject
*swig_obj
[1] ;
22501 if (!args
) SWIG_fail
;
22502 swig_obj
[0] = args
;
22503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22521 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 PyObject
*resultobj
= 0;
22523 wxDC
*arg1
= (wxDC
*) 0 ;
22524 int *arg2
= (int *) 0 ;
22525 int *arg3
= (int *) 0 ;
22529 int res2
= SWIG_TMPOBJ
;
22531 int res3
= SWIG_TMPOBJ
;
22532 PyObject
*swig_obj
[1] ;
22536 if (!args
) SWIG_fail
;
22537 swig_obj
[0] = args
;
22538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_Py_Void();
22550 if (SWIG_IsTmpObj(res2
)) {
22551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22553 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22556 if (SWIG_IsTmpObj(res3
)) {
22557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22559 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22568 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
= 0;
22570 wxDC
*arg1
= (wxDC
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 char * kwnames
[] = {
22583 (char *) "self",(char *) "x",(char *) "y", NULL
22586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22593 if (!SWIG_IsOK(ecode2
)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22596 arg2
= static_cast< int >(val2
);
22597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22598 if (!SWIG_IsOK(ecode3
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22601 arg3
= static_cast< int >(val3
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22615 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
= 0;
22617 wxDC
*arg1
= (wxDC
*) 0 ;
22618 wxPoint
*arg2
= 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 char * kwnames
[] = {
22625 (char *) "self",(char *) "point", NULL
22628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22630 if (!SWIG_IsOK(res1
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= SWIG_Py_Void();
22651 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxDC
*arg1
= (wxDC
*) 0 ;
22657 PyObject
*swig_obj
[1] ;
22659 if (!args
) SWIG_fail
;
22660 swig_obj
[0] = args
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22679 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22680 PyObject
*resultobj
= 0;
22681 wxDC
*arg1
= (wxDC
*) 0 ;
22682 int *arg2
= (int *) 0 ;
22683 int *arg3
= (int *) 0 ;
22687 int res2
= SWIG_TMPOBJ
;
22689 int res3
= SWIG_TMPOBJ
;
22690 PyObject
*swig_obj
[1] ;
22694 if (!args
) SWIG_fail
;
22695 swig_obj
[0] = args
;
22696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_Py_Void();
22708 if (SWIG_IsTmpObj(res2
)) {
22709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22711 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22714 if (SWIG_IsTmpObj(res3
)) {
22715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22717 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22726 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
= 0;
22728 wxDC
*arg1
= (wxDC
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 char * kwnames
[] = {
22741 (char *) "self",(char *) "x",(char *) "y", NULL
22744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22746 if (!SWIG_IsOK(res1
)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22751 if (!SWIG_IsOK(ecode2
)) {
22752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22754 arg2
= static_cast< int >(val2
);
22755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22756 if (!SWIG_IsOK(ecode3
)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22759 arg3
= static_cast< int >(val3
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22773 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22774 PyObject
*resultobj
= 0;
22775 wxDC
*arg1
= (wxDC
*) 0 ;
22776 wxPoint
*arg2
= 0 ;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 char * kwnames
[] = {
22783 (char *) "self",(char *) "point", NULL
22786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22794 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_Py_Void();
22809 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
= 0;
22811 wxDC
*arg1
= (wxDC
*) 0 ;
22820 PyObject
* obj0
= 0 ;
22821 PyObject
* obj1
= 0 ;
22822 PyObject
* obj2
= 0 ;
22823 char * kwnames
[] = {
22824 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22829 if (!SWIG_IsOK(res1
)) {
22830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22834 if (!SWIG_IsOK(ecode2
)) {
22835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22837 arg2
= static_cast< bool >(val2
);
22838 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22839 if (!SWIG_IsOK(ecode3
)) {
22840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22842 arg3
= static_cast< bool >(val3
);
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_Py_Void();
22856 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22857 PyObject
*resultobj
= 0;
22858 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
*swig_obj
[1] ;
22864 if (!args
) SWIG_fail
;
22865 swig_obj
[0] = args
;
22866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22867 if (!SWIG_IsOK(res1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_From_int(static_cast< int >(result
));
22884 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22885 PyObject
*resultobj
= 0;
22886 wxDC
*arg1
= (wxDC
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 char * kwnames
[] = {
22895 (char *) "self",(char *) "function", NULL
22898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22905 if (!SWIG_IsOK(ecode2
)) {
22906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22908 arg2
= static_cast< int >(val2
);
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->SetLogicalFunction(arg2
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= SWIG_Py_Void();
22922 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22923 PyObject
*resultobj
= 0;
22924 wxDC
*arg1
= (wxDC
*) 0 ;
22927 PyObject
*swig_obj
[1] ;
22929 if (!args
) SWIG_fail
;
22930 swig_obj
[0] = args
;
22931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 (arg1
)->ComputeScaleAndOrigin();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_Py_Void();
22949 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= 0;
22951 wxDC
*arg1
= (wxDC
*) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 PyObject
* obj1
= 0 ;
22962 PyObject
* obj2
= 0 ;
22963 char * kwnames
[] = {
22964 (char *) "self",(char *) "x",(char *) "y", NULL
22967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22969 if (!SWIG_IsOK(res1
)) {
22970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22974 if (!SWIG_IsOK(ecode2
)) {
22975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22977 arg2
= static_cast< int >(val2
);
22978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22979 if (!SWIG_IsOK(ecode3
)) {
22980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22982 arg3
= static_cast< int >(val3
);
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22986 wxPyEndAllowThreads(__tstate
);
22987 if (PyErr_Occurred()) SWIG_fail
;
22989 resultobj
= SWIG_Py_Void();
22996 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
= 0;
22998 wxDC
*arg1
= (wxDC
*) 0 ;
22999 wxPoint
*arg2
= 0 ;
23003 PyObject
* obj0
= 0 ;
23004 PyObject
* obj1
= 0 ;
23005 char * kwnames
[] = {
23006 (char *) "self",(char *) "point", NULL
23009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_Py_Void();
23032 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxDC
*arg1
= (wxDC
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->ResetBoundingBox();
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_Py_Void();
23059 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23060 PyObject
*resultobj
= 0;
23061 wxDC
*arg1
= (wxDC
*) 0 ;
23065 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (int)((wxDC
const *)arg1
)->MinX();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_From_int(static_cast< int >(result
));
23087 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxDC
*arg1
= (wxDC
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (int)((wxDC
const *)arg1
)->MaxX();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_From_int(static_cast< int >(result
));
23115 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23116 PyObject
*resultobj
= 0;
23117 wxDC
*arg1
= (wxDC
*) 0 ;
23121 PyObject
*swig_obj
[1] ;
23123 if (!args
) SWIG_fail
;
23124 swig_obj
[0] = args
;
23125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23126 if (!SWIG_IsOK(res1
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (int)((wxDC
const *)arg1
)->MinY();
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= SWIG_From_int(static_cast< int >(result
));
23143 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23144 PyObject
*resultobj
= 0;
23145 wxDC
*arg1
= (wxDC
*) 0 ;
23149 PyObject
*swig_obj
[1] ;
23151 if (!args
) SWIG_fail
;
23152 swig_obj
[0] = args
;
23153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (int)((wxDC
const *)arg1
)->MaxY();
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_From_int(static_cast< int >(result
));
23171 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23172 PyObject
*resultobj
= 0;
23173 wxDC
*arg1
= (wxDC
*) 0 ;
23174 int *arg2
= (int *) 0 ;
23175 int *arg3
= (int *) 0 ;
23176 int *arg4
= (int *) 0 ;
23177 int *arg5
= (int *) 0 ;
23181 int res2
= SWIG_TMPOBJ
;
23183 int res3
= SWIG_TMPOBJ
;
23185 int res4
= SWIG_TMPOBJ
;
23187 int res5
= SWIG_TMPOBJ
;
23188 PyObject
*swig_obj
[1] ;
23194 if (!args
) SWIG_fail
;
23195 swig_obj
[0] = args
;
23196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23197 if (!SWIG_IsOK(res1
)) {
23198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_Py_Void();
23208 if (SWIG_IsTmpObj(res2
)) {
23209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23211 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23214 if (SWIG_IsTmpObj(res3
)) {
23215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23217 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23220 if (SWIG_IsTmpObj(res4
)) {
23221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23223 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23226 if (SWIG_IsTmpObj(res5
)) {
23227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23229 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23238 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23239 PyObject
*resultobj
= 0;
23240 wxDC
*arg1
= (wxDC
*) 0 ;
23244 PyObject
*swig_obj
[1] ;
23246 if (!args
) SWIG_fail
;
23247 swig_obj
[0] = args
;
23248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (long)(arg1
)->GetHDC();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_From_long(static_cast< long >(result
));
23266 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
= 0;
23268 wxDC
*arg1
= (wxDC
*) 0 ;
23269 PyObject
*arg2
= (PyObject
*) 0 ;
23270 PyObject
*arg3
= (PyObject
*) 0 ;
23271 PyObject
*arg4
= (PyObject
*) 0 ;
23272 PyObject
*result
= 0 ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 PyObject
* obj2
= 0 ;
23278 PyObject
* obj3
= 0 ;
23279 char * kwnames
[] = {
23280 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23285 if (!SWIG_IsOK(res1
)) {
23286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= result
;
23305 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23307 wxDC
*arg1
= (wxDC
*) 0 ;
23308 PyObject
*arg2
= (PyObject
*) 0 ;
23309 PyObject
*arg3
= (PyObject
*) 0 ;
23310 PyObject
*arg4
= (PyObject
*) 0 ;
23311 PyObject
*result
= 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 PyObject
* obj2
= 0 ;
23317 PyObject
* obj3
= 0 ;
23318 char * kwnames
[] = {
23319 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23324 if (!SWIG_IsOK(res1
)) {
23325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= result
;
23344 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
= 0;
23346 wxDC
*arg1
= (wxDC
*) 0 ;
23347 PyObject
*arg2
= (PyObject
*) 0 ;
23348 PyObject
*arg3
= (PyObject
*) 0 ;
23349 PyObject
*arg4
= (PyObject
*) 0 ;
23350 PyObject
*result
= 0 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 PyObject
* obj2
= 0 ;
23356 PyObject
* obj3
= 0 ;
23357 char * kwnames
[] = {
23358 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23363 if (!SWIG_IsOK(res1
)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= result
;
23383 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
= 0;
23385 wxDC
*arg1
= (wxDC
*) 0 ;
23386 PyObject
*arg2
= (PyObject
*) 0 ;
23387 PyObject
*arg3
= (PyObject
*) 0 ;
23388 PyObject
*arg4
= (PyObject
*) 0 ;
23389 PyObject
*result
= 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 PyObject
* obj2
= 0 ;
23395 PyObject
* obj3
= 0 ;
23396 char * kwnames
[] = {
23397 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= result
;
23422 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
= 0;
23424 wxDC
*arg1
= (wxDC
*) 0 ;
23425 PyObject
*arg2
= (PyObject
*) 0 ;
23426 PyObject
*arg3
= (PyObject
*) 0 ;
23427 PyObject
*arg4
= (PyObject
*) 0 ;
23428 PyObject
*result
= 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 PyObject
* obj2
= 0 ;
23434 PyObject
* obj3
= 0 ;
23435 char * kwnames
[] = {
23436 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23441 if (!SWIG_IsOK(res1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= result
;
23461 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= 0;
23463 wxDC
*arg1
= (wxDC
*) 0 ;
23464 PyObject
*arg2
= (PyObject
*) 0 ;
23465 PyObject
*arg3
= (PyObject
*) 0 ;
23466 PyObject
*arg4
= (PyObject
*) 0 ;
23467 PyObject
*arg5
= (PyObject
*) 0 ;
23468 PyObject
*result
= 0 ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 PyObject
* obj2
= 0 ;
23474 PyObject
* obj3
= 0 ;
23475 PyObject
* obj4
= 0 ;
23476 char * kwnames
[] = {
23477 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= result
;
23503 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23506 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23507 return SWIG_Py_Void();
23510 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23511 PyObject
*resultobj
= 0;
23512 wxMemoryDC
*result
= 0 ;
23514 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23516 if (!wxPyCheckForApp()) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (wxMemoryDC
*)new wxMemoryDC();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23529 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
= 0;
23531 wxDC
*arg1
= (wxDC
*) 0 ;
23532 wxMemoryDC
*result
= 0 ;
23535 PyObject
* obj0
= 0 ;
23536 char * kwnames
[] = {
23537 (char *) "oldDC", NULL
23540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23542 if (!SWIG_IsOK(res1
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23547 if (!wxPyCheckForApp()) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23560 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
= 0;
23562 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23563 wxBitmap
*arg2
= 0 ;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 char * kwnames
[] = {
23571 (char *) "self",(char *) "bitmap", NULL
23574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23576 if (!SWIG_IsOK(res1
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23579 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23581 if (!SWIG_IsOK(res2
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23587 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_Py_Void();
23601 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23604 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23605 return SWIG_Py_Void();
23608 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23609 return SWIG_Python_InitShadowInstance(args
);
23612 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23613 PyObject
*resultobj
= 0;
23614 wxDC
*arg1
= (wxDC
*) 0 ;
23615 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23616 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23617 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23618 wxBufferedDC
*result
= 0 ;
23626 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23633 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23634 if (!SWIG_IsOK(res2
)) {
23635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23640 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23643 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23644 if (!SWIG_IsOK(ecode3
)) {
23645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23647 arg3
= static_cast< int >(val3
);
23650 if (!wxPyCheckForApp()) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23663 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23664 PyObject
*resultobj
= 0;
23665 wxDC
*arg1
= (wxDC
*) 0 ;
23667 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23668 wxBufferedDC
*result
= 0 ;
23675 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23677 if (!SWIG_IsOK(res1
)) {
23678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23683 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23686 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23687 if (!SWIG_IsOK(ecode3
)) {
23688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23690 arg3
= static_cast< int >(val3
);
23693 if (!wxPyCheckForApp()) SWIG_fail
;
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23706 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23710 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23712 if ((argc
>= 1) && (argc
<= 3)) {
23716 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23717 _v
= SWIG_CheckState(res
);
23719 if (!_v
) goto check_1
;
23721 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23725 if ((argc
>= 2) && (argc
<= 3)) {
23726 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23730 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23735 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 PyObject
*resultobj
= 0;
23737 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23740 PyObject
*swig_obj
[1] ;
23742 if (!args
) SWIG_fail
;
23743 swig_obj
[0] = args
;
23744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23748 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_Py_Void();
23763 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23764 PyObject
*resultobj
= 0;
23765 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23768 PyObject
*swig_obj
[1] ;
23770 if (!args
) SWIG_fail
;
23771 swig_obj
[0] = args
;
23772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23773 if (!SWIG_IsOK(res1
)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23776 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_Py_Void();
23790 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23793 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23794 return SWIG_Py_Void();
23797 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23798 return SWIG_Python_InitShadowInstance(args
);
23801 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
= 0;
23803 wxWindow
*arg1
= (wxWindow
*) 0 ;
23804 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23805 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23806 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23807 wxBufferedPaintDC
*result
= 0 ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 PyObject
* obj2
= 0 ;
23817 char * kwnames
[] = {
23818 (char *) "window",(char *) "buffer",(char *) "style", NULL
23821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23826 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23828 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23829 if (!SWIG_IsOK(res2
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23835 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23839 if (!SWIG_IsOK(ecode3
)) {
23840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23842 arg3
= static_cast< int >(val3
);
23845 if (!wxPyCheckForApp()) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23858 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23861 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23862 return SWIG_Py_Void();
23865 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 return SWIG_Python_InitShadowInstance(args
);
23869 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23870 PyObject
*resultobj
= 0;
23871 wxScreenDC
*result
= 0 ;
23873 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23875 if (!wxPyCheckForApp()) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxScreenDC
*)new wxScreenDC();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23888 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
= 0;
23890 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23891 wxWindow
*arg2
= (wxWindow
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 PyObject
* obj1
= 0 ;
23899 char * kwnames
[] = {
23900 (char *) "self",(char *) "window", NULL
23903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23905 if (!SWIG_IsOK(res1
)) {
23906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23908 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23910 if (!SWIG_IsOK(res2
)) {
23911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23913 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23929 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= 0;
23931 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23932 wxRect
*arg2
= (wxRect
*) NULL
;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char * kwnames
[] = {
23941 (char *) "self",(char *) "rect", NULL
23944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23949 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23952 if (!SWIG_IsOK(res2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23955 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23972 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23973 PyObject
*resultobj
= 0;
23974 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23978 PyObject
*swig_obj
[1] ;
23980 if (!args
) SWIG_fail
;
23981 swig_obj
[0] = args
;
23982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23983 if (!SWIG_IsOK(res1
)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23986 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)(arg1
)->EndDrawingOnTop();
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24002 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24005 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24006 return SWIG_Py_Void();
24009 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24010 return SWIG_Python_InitShadowInstance(args
);
24013 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
= 0;
24015 wxWindow
*arg1
= (wxWindow
*) 0 ;
24016 wxClientDC
*result
= 0 ;
24019 PyObject
* obj0
= 0 ;
24020 char * kwnames
[] = {
24021 (char *) "win", NULL
24024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24026 if (!SWIG_IsOK(res1
)) {
24027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24031 if (!wxPyCheckForApp()) SWIG_fail
;
24032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 result
= (wxClientDC
*)new wxClientDC(arg1
);
24034 wxPyEndAllowThreads(__tstate
);
24035 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24044 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24047 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24048 return SWIG_Py_Void();
24051 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24052 return SWIG_Python_InitShadowInstance(args
);
24055 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
= 0;
24057 wxWindow
*arg1
= (wxWindow
*) 0 ;
24058 wxPaintDC
*result
= 0 ;
24061 PyObject
* obj0
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "win", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24073 if (!wxPyCheckForApp()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24086 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24089 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24090 return SWIG_Py_Void();
24093 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 return SWIG_Python_InitShadowInstance(args
);
24097 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxWindow
*arg1
= (wxWindow
*) 0 ;
24100 wxWindowDC
*result
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 char * kwnames
[] = {
24105 (char *) "win", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24113 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24115 if (!wxPyCheckForApp()) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24128 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24131 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24132 return SWIG_Py_Void();
24135 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24136 return SWIG_Python_InitShadowInstance(args
);
24139 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
= 0;
24143 wxMirrorDC
*result
= 0 ;
24148 PyObject
* obj0
= 0 ;
24149 PyObject
* obj1
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "dc",(char *) "mirror", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24163 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24164 if (!SWIG_IsOK(ecode2
)) {
24165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24167 arg2
= static_cast< bool >(val2
);
24169 if (!wxPyCheckForApp()) SWIG_fail
;
24170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24182 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24185 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24186 return SWIG_Py_Void();
24189 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24190 return SWIG_Python_InitShadowInstance(args
);
24193 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24194 PyObject
*resultobj
= 0;
24195 wxPrintData
*arg1
= 0 ;
24196 wxPostScriptDC
*result
= 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char * kwnames
[] = {
24201 (char *) "printData", NULL
24204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24205 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24212 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24214 if (!wxPyCheckForApp()) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24227 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24228 PyObject
*resultobj
= 0;
24229 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24230 wxPrintData
*result
= 0 ;
24233 PyObject
*swig_obj
[1] ;
24235 if (!args
) SWIG_fail
;
24236 swig_obj
[0] = args
;
24237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24238 if (!SWIG_IsOK(res1
)) {
24239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24241 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24245 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24246 result
= (wxPrintData
*) &_result_ref
;
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24258 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
= 0;
24260 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24261 wxPrintData
*arg2
= 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char * kwnames
[] = {
24269 (char *) "self",(char *) "data", NULL
24272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24277 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24279 if (!SWIG_IsOK(res2
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24285 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24289 wxPyEndAllowThreads(__tstate
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24292 resultobj
= SWIG_Py_Void();
24299 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
= 0;
24304 PyObject
* obj0
= 0 ;
24305 char * kwnames
[] = {
24306 (char *) "ppi", NULL
24309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24311 if (!SWIG_IsOK(ecode1
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24314 arg1
= static_cast< int >(val1
);
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 wxPostScriptDC::SetResolution(arg1
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_Py_Void();
24328 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24329 PyObject
*resultobj
= 0;
24332 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (int)wxPostScriptDC::GetResolution();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_From_int(static_cast< int >(result
));
24346 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24349 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24350 return SWIG_Py_Void();
24353 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24354 return SWIG_Python_InitShadowInstance(args
);
24357 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
= 0;
24359 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24360 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24361 wxMetaFile
*result
= 0 ;
24362 bool temp1
= false ;
24363 PyObject
* obj0
= 0 ;
24364 char * kwnames
[] = {
24365 (char *) "filename", NULL
24368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24371 arg1
= wxString_in_helper(obj0
);
24372 if (arg1
== NULL
) SWIG_fail
;
24377 if (!wxPyCheckForApp()) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24398 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 PyObject
*resultobj
= 0;
24400 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24403 PyObject
*swig_obj
[1] ;
24405 if (!args
) SWIG_fail
;
24406 swig_obj
[0] = args
;
24407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24411 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24427 PyObject
*resultobj
= 0;
24428 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24432 PyObject
*swig_obj
[1] ;
24434 if (!args
) SWIG_fail
;
24435 swig_obj
[0] = args
;
24436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24437 if (!SWIG_IsOK(res1
)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24440 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= (bool)(arg1
)->Ok();
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24456 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= 0;
24458 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24459 int arg2
= (int) 0 ;
24460 int arg3
= (int) 0 ;
24468 PyObject
* obj0
= 0 ;
24469 PyObject
* obj1
= 0 ;
24470 PyObject
* obj2
= 0 ;
24471 char * kwnames
[] = {
24472 (char *) "self",(char *) "width",(char *) "height", NULL
24475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24477 if (!SWIG_IsOK(res1
)) {
24478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24480 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24483 if (!SWIG_IsOK(ecode2
)) {
24484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24486 arg2
= static_cast< int >(val2
);
24489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24490 if (!SWIG_IsOK(ecode3
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24493 arg3
= static_cast< int >(val3
);
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24510 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24511 PyObject
*resultobj
= 0;
24512 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24516 PyObject
*swig_obj
[1] ;
24518 if (!args
) SWIG_fail
;
24519 swig_obj
[0] = args
;
24520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24524 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= (arg1
)->GetSize();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24538 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 PyObject
*resultobj
= 0;
24540 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24552 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (int)(arg1
)->GetWidth();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= SWIG_From_int(static_cast< int >(result
));
24566 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24567 PyObject
*resultobj
= 0;
24568 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24572 PyObject
*swig_obj
[1] ;
24574 if (!args
) SWIG_fail
;
24575 swig_obj
[0] = args
;
24576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24577 if (!SWIG_IsOK(res1
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24580 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 result
= (int)(arg1
)->GetHeight();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_From_int(static_cast< int >(result
));
24594 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 PyObject
*resultobj
= 0;
24596 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24597 wxString
*result
= 0 ;
24600 PyObject
*swig_obj
[1] ;
24602 if (!args
) SWIG_fail
;
24603 swig_obj
[0] = args
;
24604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24608 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24613 result
= (wxString
*) &_result_ref
;
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24622 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24631 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24634 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24635 return SWIG_Py_Void();
24638 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24639 return SWIG_Python_InitShadowInstance(args
);
24642 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
= 0;
24644 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24645 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24646 int arg2
= (int) 0 ;
24647 int arg3
= (int) 0 ;
24648 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24649 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24650 wxMetaFileDC
*result
= 0 ;
24651 bool temp1
= false ;
24656 bool temp4
= false ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 PyObject
* obj2
= 0 ;
24660 PyObject
* obj3
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24668 arg1
= wxString_in_helper(obj0
);
24669 if (arg1
== NULL
) SWIG_fail
;
24674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24675 if (!SWIG_IsOK(ecode2
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24678 arg2
= static_cast< int >(val2
);
24681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24682 if (!SWIG_IsOK(ecode3
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24685 arg3
= static_cast< int >(val3
);
24689 arg4
= wxString_in_helper(obj3
);
24690 if (arg4
== NULL
) SWIG_fail
;
24695 if (!wxPyCheckForApp()) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24724 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24725 PyObject
*resultobj
= 0;
24726 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24727 wxMetaFile
*result
= 0 ;
24730 PyObject
*swig_obj
[1] ;
24732 if (!args
) SWIG_fail
;
24733 swig_obj
[0] = args
;
24734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24738 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (wxMetaFile
*)(arg1
)->Close();
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24752 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24755 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24756 return SWIG_Py_Void();
24759 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24760 return SWIG_Python_InitShadowInstance(args
);
24763 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
= 0;
24765 wxPrintData
*arg1
= 0 ;
24766 wxPrinterDC
*result
= 0 ;
24769 PyObject
* obj0
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "printData", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24782 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24784 if (!wxPyCheckForApp()) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24797 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24800 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24801 return SWIG_Py_Void();
24804 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24805 return SWIG_Python_InitShadowInstance(args
);
24808 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
= 0;
24812 int arg3
= (int) true ;
24813 int arg4
= (int) 1 ;
24814 wxImageList
*result
= 0 ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 PyObject
* obj2
= 0 ;
24826 PyObject
* obj3
= 0 ;
24827 char * kwnames
[] = {
24828 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24833 if (!SWIG_IsOK(ecode1
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24836 arg1
= static_cast< int >(val1
);
24837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24838 if (!SWIG_IsOK(ecode2
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24841 arg2
= static_cast< int >(val2
);
24843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24844 if (!SWIG_IsOK(ecode3
)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24847 arg3
= static_cast< int >(val3
);
24850 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24851 if (!SWIG_IsOK(ecode4
)) {
24852 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24854 arg4
= static_cast< int >(val4
);
24857 if (!wxPyCheckForApp()) SWIG_fail
;
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24859 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24860 wxPyEndAllowThreads(__tstate
);
24861 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24872 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxImageList
*arg1
= (wxImageList
*) 0 ;
24877 PyObject
*swig_obj
[1] ;
24879 if (!args
) SWIG_fail
;
24880 swig_obj
[0] = args
;
24881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24882 if (!SWIG_IsOK(res1
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24885 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_Py_Void();
24900 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
= 0;
24902 wxImageList
*arg1
= (wxImageList
*) 0 ;
24903 wxBitmap
*arg2
= 0 ;
24904 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24905 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 PyObject
* obj2
= 0 ;
24916 char * kwnames
[] = {
24917 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24925 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24927 if (!SWIG_IsOK(res2
)) {
24928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24933 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24936 if (!SWIG_IsOK(res3
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24942 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 resultobj
= SWIG_From_int(static_cast< int >(result
));
24957 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
= 0;
24959 wxImageList
*arg1
= (wxImageList
*) 0 ;
24960 wxBitmap
*arg2
= 0 ;
24961 wxColour
*arg3
= 0 ;
24968 PyObject
* obj0
= 0 ;
24969 PyObject
* obj1
= 0 ;
24970 PyObject
* obj2
= 0 ;
24971 char * kwnames
[] = {
24972 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24980 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24982 if (!SWIG_IsOK(res2
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24988 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24991 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_From_int(static_cast< int >(result
));
25006 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
= 0;
25008 wxImageList
*arg1
= (wxImageList
*) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char * kwnames
[] = {
25018 (char *) "self",(char *) "icon", NULL
25021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25023 if (!SWIG_IsOK(res1
)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
25026 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25028 if (!SWIG_IsOK(res2
)) {
25029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25034 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= SWIG_From_int(static_cast< int >(result
));
25048 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
= 0;
25050 wxImageList
*arg1
= (wxImageList
*) 0 ;
25052 SwigValueWrapper
<wxBitmap
> result
;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 char * kwnames
[] = {
25060 (char *) "self",(char *) "index", NULL
25063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
25068 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25070 if (!SWIG_IsOK(ecode2
)) {
25071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
25073 arg2
= static_cast< int >(val2
);
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
25087 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
= 0;
25089 wxImageList
*arg1
= (wxImageList
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 char * kwnames
[] = {
25099 (char *) "self",(char *) "index", NULL
25102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25104 if (!SWIG_IsOK(res1
)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
25107 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25109 if (!SWIG_IsOK(ecode2
)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
25112 arg2
= static_cast< int >(val2
);
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
25126 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
= 0;
25128 wxImageList
*arg1
= (wxImageList
*) 0 ;
25130 wxBitmap
*arg3
= 0 ;
25131 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
25132 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj1
= 0 ;
25144 PyObject
* obj2
= 0 ;
25145 PyObject
* obj3
= 0 ;
25146 char * kwnames
[] = {
25147 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
25150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25152 if (!SWIG_IsOK(res1
)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
25155 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25157 if (!SWIG_IsOK(ecode2
)) {
25158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
25160 arg2
= static_cast< int >(val2
);
25161 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25162 if (!SWIG_IsOK(res3
)) {
25163 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25168 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
25170 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25171 if (!SWIG_IsOK(res4
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25177 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25194 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxImageList
*arg1
= (wxImageList
*) 0 ;
25201 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
25202 bool arg7
= (bool) (bool)false ;
25218 PyObject
* obj0
= 0 ;
25219 PyObject
* obj1
= 0 ;
25220 PyObject
* obj2
= 0 ;
25221 PyObject
* obj3
= 0 ;
25222 PyObject
* obj4
= 0 ;
25223 PyObject
* obj5
= 0 ;
25224 PyObject
* obj6
= 0 ;
25225 char * kwnames
[] = {
25226 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
25229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
25234 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25236 if (!SWIG_IsOK(ecode2
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
25239 arg2
= static_cast< int >(val2
);
25240 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25241 if (!SWIG_IsOK(res3
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25247 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25249 if (!SWIG_IsOK(ecode4
)) {
25250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
25252 arg4
= static_cast< int >(val4
);
25253 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25254 if (!SWIG_IsOK(ecode5
)) {
25255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
25257 arg5
= static_cast< int >(val5
);
25259 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25260 if (!SWIG_IsOK(ecode6
)) {
25261 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
25263 arg6
= static_cast< int >(val6
);
25266 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25267 if (!SWIG_IsOK(ecode7
)) {
25268 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
25270 arg7
= static_cast< bool >(val7
);
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25287 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25288 PyObject
*resultobj
= 0;
25289 wxImageList
*arg1
= (wxImageList
*) 0 ;
25293 PyObject
*swig_obj
[1] ;
25295 if (!args
) SWIG_fail
;
25296 swig_obj
[0] = args
;
25297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
25301 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= (int)(arg1
)->GetImageCount();
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25308 resultobj
= SWIG_From_int(static_cast< int >(result
));
25315 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25316 PyObject
*resultobj
= 0;
25317 wxImageList
*arg1
= (wxImageList
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 char * kwnames
[] = {
25327 (char *) "self",(char *) "index", NULL
25330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
25335 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25337 if (!SWIG_IsOK(ecode2
)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
25340 arg2
= static_cast< int >(val2
);
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 result
= (bool)(arg1
)->Remove(arg2
);
25344 wxPyEndAllowThreads(__tstate
);
25345 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25356 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 PyObject
*resultobj
= 0;
25358 wxImageList
*arg1
= (wxImageList
*) 0 ;
25362 PyObject
*swig_obj
[1] ;
25364 if (!args
) SWIG_fail
;
25365 swig_obj
[0] = args
;
25366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25367 if (!SWIG_IsOK(res1
)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
25370 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (bool)(arg1
)->RemoveAll();
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25386 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxImageList
*arg1
= (wxImageList
*) 0 ;
25397 int res3
= SWIG_TMPOBJ
;
25399 int res4
= SWIG_TMPOBJ
;
25400 PyObject
* obj0
= 0 ;
25401 PyObject
* obj1
= 0 ;
25402 char * kwnames
[] = {
25403 (char *) "self",(char *) "index", NULL
25408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
25413 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25415 if (!SWIG_IsOK(ecode2
)) {
25416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
25418 arg2
= static_cast< int >(val2
);
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_Py_Void();
25426 if (SWIG_IsTmpObj(res3
)) {
25427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25429 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25432 if (SWIG_IsTmpObj(res4
)) {
25433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
25435 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
25444 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25447 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
25448 return SWIG_Py_Void();
25451 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25452 return SWIG_Python_InitShadowInstance(args
);
25455 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25456 PyObject
*resultobj
= 0;
25457 wxStockGDI
*result
= 0 ;
25459 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxStockGDI
*)new wxStockGDI();
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
25473 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25474 PyObject
*resultobj
= 0;
25475 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25478 PyObject
*swig_obj
[1] ;
25480 if (!args
) SWIG_fail
;
25481 swig_obj
[0] = args
;
25482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25486 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_Py_Void();
25501 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25502 PyObject
*resultobj
= 0;
25504 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 wxStockGDI::DeleteAll();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_Py_Void();
25518 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25519 PyObject
*resultobj
= 0;
25520 wxStockGDI
*result
= 0 ;
25522 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 wxStockGDI
&_result_ref
= wxStockGDI::instance();
25527 result
= (wxStockGDI
*) &_result_ref
;
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25539 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
= 0;
25541 wxStockGDI::Item arg1
;
25542 wxBrush
*result
= 0 ;
25545 PyObject
* obj0
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "item", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
25551 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25552 if (!SWIG_IsOK(ecode1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25555 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25569 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
= 0;
25571 wxStockGDI::Item arg1
;
25572 wxColour
*result
= 0 ;
25575 PyObject
* obj0
= 0 ;
25576 char * kwnames
[] = {
25577 (char *) "item", NULL
25580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
25581 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25582 if (!SWIG_IsOK(ecode1
)) {
25583 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25585 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
25599 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25600 PyObject
*resultobj
= 0;
25601 wxStockGDI::Item arg1
;
25602 wxCursor
*result
= 0 ;
25605 PyObject
* obj0
= 0 ;
25606 char * kwnames
[] = {
25607 (char *) "item", NULL
25610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
25611 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25612 if (!SWIG_IsOK(ecode1
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25615 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
25629 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
= 0;
25631 wxStockGDI::Item arg1
;
25632 wxPen
*result
= 0 ;
25635 PyObject
* obj0
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "item", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
25641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25642 if (!SWIG_IsOK(ecode1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25645 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25659 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
= 0;
25661 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25662 wxStockGDI::Item arg2
;
25663 wxFont
*result
= 0 ;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 char * kwnames
[] = {
25671 (char *) "self",(char *) "item", NULL
25674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25676 if (!SWIG_IsOK(res1
)) {
25677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25679 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25681 if (!SWIG_IsOK(ecode2
)) {
25682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
25684 arg2
= static_cast< wxStockGDI::Item
>(val2
);
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25698 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25701 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
25702 return SWIG_Py_Void();
25705 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25706 return SWIG_Python_InitShadowInstance(args
);
25709 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25710 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25715 SWIGINTERN PyObject
*NullBitmap_get(void) {
25716 PyObject
*pyobj
= 0;
25718 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25723 SWIGINTERN
int NullIcon_set(PyObject
*) {
25724 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25729 SWIGINTERN PyObject
*NullIcon_get(void) {
25730 PyObject
*pyobj
= 0;
25732 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25737 SWIGINTERN
int NullCursor_set(PyObject
*) {
25738 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25743 SWIGINTERN PyObject
*NullCursor_get(void) {
25744 PyObject
*pyobj
= 0;
25746 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25751 SWIGINTERN
int NullPen_set(PyObject
*) {
25752 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25757 SWIGINTERN PyObject
*NullPen_get(void) {
25758 PyObject
*pyobj
= 0;
25760 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25765 SWIGINTERN
int NullBrush_set(PyObject
*) {
25766 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25771 SWIGINTERN PyObject
*NullBrush_get(void) {
25772 PyObject
*pyobj
= 0;
25774 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25779 SWIGINTERN
int NullPalette_set(PyObject
*) {
25780 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25785 SWIGINTERN PyObject
*NullPalette_get(void) {
25786 PyObject
*pyobj
= 0;
25788 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25793 SWIGINTERN
int NullFont_set(PyObject
*) {
25794 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25799 SWIGINTERN PyObject
*NullFont_get(void) {
25800 PyObject
*pyobj
= 0;
25802 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25807 SWIGINTERN
int NullColour_set(PyObject
*) {
25808 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25813 SWIGINTERN PyObject
*NullColour_get(void) {
25814 PyObject
*pyobj
= 0;
25816 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25821 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25822 PyObject
*resultobj
= 0;
25823 wxGDIObjListBase
*result
= 0 ;
25825 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25839 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 PyObject
*resultobj
= 0;
25841 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25844 PyObject
*swig_obj
[1] ;
25846 if (!args
) SWIG_fail
;
25847 swig_obj
[0] = args
;
25848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25852 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25870 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25871 return SWIG_Py_Void();
25874 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 return SWIG_Python_InitShadowInstance(args
);
25878 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
= 0;
25880 wxPenList
*arg1
= (wxPenList
*) 0 ;
25881 wxColour
*arg2
= 0 ;
25884 wxPen
*result
= 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 PyObject
* obj2
= 0 ;
25895 PyObject
* obj3
= 0 ;
25896 char * kwnames
[] = {
25897 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25905 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25908 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25911 if (!SWIG_IsOK(ecode3
)) {
25912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25914 arg3
= static_cast< int >(val3
);
25915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25916 if (!SWIG_IsOK(ecode4
)) {
25917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25919 arg4
= static_cast< int >(val4
);
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25933 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25934 PyObject
*resultobj
= 0;
25935 wxPenList
*arg1
= (wxPenList
*) 0 ;
25936 wxPen
*arg2
= (wxPen
*) 0 ;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 char * kwnames
[] = {
25944 (char *) "self",(char *) "pen", NULL
25947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25952 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25954 if (!SWIG_IsOK(res2
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25957 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->AddPen(arg2
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_Py_Void();
25971 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxPenList
*arg1
= (wxPenList
*) 0 ;
25974 wxPen
*arg2
= (wxPen
*) 0 ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char * kwnames
[] = {
25982 (char *) "self",(char *) "pen", NULL
25985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25987 if (!SWIG_IsOK(res1
)) {
25988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25990 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25992 if (!SWIG_IsOK(res2
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25995 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25998 (arg1
)->RemovePen(arg2
);
25999 wxPyEndAllowThreads(__tstate
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= SWIG_Py_Void();
26009 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26012 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
26013 return SWIG_Py_Void();
26016 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
= 0;
26018 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26019 wxColour
*arg2
= 0 ;
26020 int arg3
= (int) wxSOLID
;
26021 wxBrush
*result
= 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 PyObject
* obj2
= 0 ;
26030 char * kwnames
[] = {
26031 (char *) "self",(char *) "colour",(char *) "style", NULL
26034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26036 if (!SWIG_IsOK(res1
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26039 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26046 if (!SWIG_IsOK(ecode3
)) {
26047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
26049 arg3
= static_cast< int >(val3
);
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
26064 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
= 0;
26066 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26067 wxBrush
*arg2
= (wxBrush
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char * kwnames
[] = {
26075 (char *) "self",(char *) "brush", NULL
26078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26080 if (!SWIG_IsOK(res1
)) {
26081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26083 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26085 if (!SWIG_IsOK(res2
)) {
26086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26088 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 (arg1
)->AddBrush(arg2
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 resultobj
= SWIG_Py_Void();
26102 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
= 0;
26104 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26105 wxBrush
*arg2
= (wxBrush
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char * kwnames
[] = {
26113 (char *) "self",(char *) "brush", NULL
26116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26118 if (!SWIG_IsOK(res1
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26121 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26123 if (!SWIG_IsOK(res2
)) {
26124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26126 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 (arg1
)->RemoveBrush(arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= SWIG_Py_Void();
26140 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26143 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
26144 return SWIG_Py_Void();
26147 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
= 0;
26149 wxFontList
*arg1
= (wxFontList
*) 0 ;
26154 bool arg6
= (bool) false ;
26155 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26157 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
26158 wxFont
*result
= 0 ;
26171 bool temp7
= false ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 PyObject
* obj2
= 0 ;
26177 PyObject
* obj3
= 0 ;
26178 PyObject
* obj4
= 0 ;
26179 PyObject
* obj5
= 0 ;
26180 PyObject
* obj6
= 0 ;
26181 PyObject
* obj7
= 0 ;
26182 char * kwnames
[] = {
26183 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
26186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26188 if (!SWIG_IsOK(res1
)) {
26189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26191 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26193 if (!SWIG_IsOK(ecode2
)) {
26194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
26196 arg2
= static_cast< int >(val2
);
26197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26198 if (!SWIG_IsOK(ecode3
)) {
26199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
26201 arg3
= static_cast< int >(val3
);
26202 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26203 if (!SWIG_IsOK(ecode4
)) {
26204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
26206 arg4
= static_cast< int >(val4
);
26207 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26208 if (!SWIG_IsOK(ecode5
)) {
26209 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
26211 arg5
= static_cast< int >(val5
);
26213 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
26214 if (!SWIG_IsOK(ecode6
)) {
26215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
26217 arg6
= static_cast< bool >(val6
);
26221 arg7
= wxString_in_helper(obj6
);
26222 if (arg7
== NULL
) SWIG_fail
;
26227 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
26228 if (!SWIG_IsOK(ecode8
)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
26231 arg8
= static_cast< wxFontEncoding
>(val8
);
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26254 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
= 0;
26256 wxFontList
*arg1
= (wxFontList
*) 0 ;
26257 wxFont
*arg2
= (wxFont
*) 0 ;
26262 PyObject
* obj0
= 0 ;
26263 PyObject
* obj1
= 0 ;
26264 char * kwnames
[] = {
26265 (char *) "self",(char *) "font", NULL
26268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26270 if (!SWIG_IsOK(res1
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26273 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26275 if (!SWIG_IsOK(res2
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
26278 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 (arg1
)->AddFont(arg2
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_Py_Void();
26292 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
= 0;
26294 wxFontList
*arg1
= (wxFontList
*) 0 ;
26295 wxFont
*arg2
= (wxFont
*) 0 ;
26300 PyObject
* obj0
= 0 ;
26301 PyObject
* obj1
= 0 ;
26302 char * kwnames
[] = {
26303 (char *) "self",(char *) "font", NULL
26306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26311 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26313 if (!SWIG_IsOK(res2
)) {
26314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
26316 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 (arg1
)->RemoveFont(arg2
);
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_Py_Void();
26330 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26333 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
26334 return SWIG_Py_Void();
26337 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26338 PyObject
*resultobj
= 0;
26339 wxColourDatabase
*result
= 0 ;
26341 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
26343 if (!wxPyCheckForApp()) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (wxColourDatabase
*)new wxColourDatabase();
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
26356 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26357 PyObject
*resultobj
= 0;
26358 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26361 PyObject
*swig_obj
[1] ;
26363 if (!args
) SWIG_fail
;
26364 swig_obj
[0] = args
;
26365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26369 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 resultobj
= SWIG_Py_Void();
26384 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
= 0;
26386 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26387 wxString
*arg2
= 0 ;
26391 bool temp2
= false ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char * kwnames
[] = {
26395 (char *) "self",(char *) "name", NULL
26398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26400 if (!SWIG_IsOK(res1
)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26403 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26405 arg2
= wxString_in_helper(obj1
);
26406 if (arg2
== NULL
) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26430 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
= 0;
26432 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26433 wxColour
*arg2
= 0 ;
26438 PyObject
* obj0
= 0 ;
26439 PyObject
* obj1
= 0 ;
26440 char * kwnames
[] = {
26441 (char *) "self",(char *) "colour", NULL
26444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26446 if (!SWIG_IsOK(res1
)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26449 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26452 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26473 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
= 0;
26475 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26476 wxString
*arg2
= 0 ;
26477 wxColour
*arg3
= 0 ;
26480 bool temp2
= false ;
26482 PyObject
* obj0
= 0 ;
26483 PyObject
* obj1
= 0 ;
26484 PyObject
* obj2
= 0 ;
26485 char * kwnames
[] = {
26486 (char *) "self",(char *) "name",(char *) "colour", NULL
26489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26491 if (!SWIG_IsOK(res1
)) {
26492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26494 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26496 arg2
= wxString_in_helper(obj1
);
26497 if (arg2
== NULL
) SWIG_fail
;
26502 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_Py_Void();
26525 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
= 0;
26527 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26528 wxString
*arg2
= 0 ;
26534 bool temp2
= false ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 PyObject
* obj2
= 0 ;
26544 PyObject
* obj3
= 0 ;
26545 PyObject
* obj4
= 0 ;
26546 char * kwnames
[] = {
26547 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
26550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26555 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26557 arg2
= wxString_in_helper(obj1
);
26558 if (arg2
== NULL
) SWIG_fail
;
26561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26562 if (!SWIG_IsOK(ecode3
)) {
26563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
26565 arg3
= static_cast< int >(val3
);
26566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26567 if (!SWIG_IsOK(ecode4
)) {
26568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
26570 arg4
= static_cast< int >(val4
);
26571 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26572 if (!SWIG_IsOK(ecode5
)) {
26573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
26575 arg5
= static_cast< int >(val5
);
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26600 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
26601 return SWIG_Py_Void();
26604 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26605 return SWIG_Python_InitShadowInstance(args
);
26608 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26609 PyObject
*resultobj
= 0;
26610 wxFontList
*result
= 0 ;
26612 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (wxFontList
*)_wxPyInitTheFontList();
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
26626 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26627 PyObject
*resultobj
= 0;
26628 wxPenList
*result
= 0 ;
26630 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (wxPenList
*)_wxPyInitThePenList();
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
26644 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26645 PyObject
*resultobj
= 0;
26646 wxBrushList
*result
= 0 ;
26648 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (wxBrushList
*)_wxPyInitTheBrushList();
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
26662 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxColourDatabase
*result
= 0 ;
26666 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26680 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26681 PyObject
*resultobj
= 0;
26682 wxEffects
*result
= 0 ;
26684 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (wxEffects
*)new wxEffects();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
26698 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26699 PyObject
*resultobj
= 0;
26700 wxEffects
*arg1
= (wxEffects
*) 0 ;
26704 PyObject
*swig_obj
[1] ;
26706 if (!args
) SWIG_fail
;
26707 swig_obj
[0] = args
;
26708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26709 if (!SWIG_IsOK(res1
)) {
26710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26712 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26726 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26727 PyObject
*resultobj
= 0;
26728 wxEffects
*arg1
= (wxEffects
*) 0 ;
26732 PyObject
*swig_obj
[1] ;
26734 if (!args
) SWIG_fail
;
26735 swig_obj
[0] = args
;
26736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26737 if (!SWIG_IsOK(res1
)) {
26738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26740 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26754 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26755 PyObject
*resultobj
= 0;
26756 wxEffects
*arg1
= (wxEffects
*) 0 ;
26760 PyObject
*swig_obj
[1] ;
26762 if (!args
) SWIG_fail
;
26763 swig_obj
[0] = args
;
26764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26768 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26782 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26783 PyObject
*resultobj
= 0;
26784 wxEffects
*arg1
= (wxEffects
*) 0 ;
26788 PyObject
*swig_obj
[1] ;
26790 if (!args
) SWIG_fail
;
26791 swig_obj
[0] = args
;
26792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26796 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26810 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26811 PyObject
*resultobj
= 0;
26812 wxEffects
*arg1
= (wxEffects
*) 0 ;
26816 PyObject
*swig_obj
[1] ;
26818 if (!args
) SWIG_fail
;
26819 swig_obj
[0] = args
;
26820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26824 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26838 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
= 0;
26840 wxEffects
*arg1
= (wxEffects
*) 0 ;
26841 wxColour
*arg2
= 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "c", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26856 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26859 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= SWIG_Py_Void();
26874 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
= 0;
26876 wxEffects
*arg1
= (wxEffects
*) 0 ;
26877 wxColour
*arg2
= 0 ;
26881 PyObject
* obj0
= 0 ;
26882 PyObject
* obj1
= 0 ;
26883 char * kwnames
[] = {
26884 (char *) "self",(char *) "c", NULL
26887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26889 if (!SWIG_IsOK(res1
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26892 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= SWIG_Py_Void();
26910 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
= 0;
26912 wxEffects
*arg1
= (wxEffects
*) 0 ;
26913 wxColour
*arg2
= 0 ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 char * kwnames
[] = {
26920 (char *) "self",(char *) "c", NULL
26923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26928 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26936 wxPyEndAllowThreads(__tstate
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26939 resultobj
= SWIG_Py_Void();
26946 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
= 0;
26948 wxEffects
*arg1
= (wxEffects
*) 0 ;
26949 wxColour
*arg2
= 0 ;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj1
= 0 ;
26955 char * kwnames
[] = {
26956 (char *) "self",(char *) "c", NULL
26959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26964 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_Py_Void();
26982 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxEffects
*arg1
= (wxEffects
*) 0 ;
26985 wxColour
*arg2
= 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 char * kwnames
[] = {
26992 (char *) "self",(char *) "c", NULL
26995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26997 if (!SWIG_IsOK(res1
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
27000 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_Py_Void();
27018 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
= 0;
27020 wxEffects
*arg1
= (wxEffects
*) 0 ;
27021 wxColour
*arg2
= 0 ;
27022 wxColour
*arg3
= 0 ;
27023 wxColour
*arg4
= 0 ;
27024 wxColour
*arg5
= 0 ;
27025 wxColour
*arg6
= 0 ;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 PyObject
* obj2
= 0 ;
27036 PyObject
* obj3
= 0 ;
27037 PyObject
* obj4
= 0 ;
27038 PyObject
* obj5
= 0 ;
27039 char * kwnames
[] = {
27040 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
27043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
27048 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27055 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27059 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
27063 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
27067 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_Py_Void();
27082 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
= 0;
27084 wxEffects
*arg1
= (wxEffects
*) 0 ;
27087 int arg4
= (int) 1 ;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 PyObject
* obj2
= 0 ;
27098 PyObject
* obj3
= 0 ;
27099 char * kwnames
[] = {
27100 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
27103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
27108 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
27110 if (!SWIG_IsOK(res2
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27119 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27122 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27123 if (!SWIG_IsOK(ecode4
)) {
27124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
27126 arg4
= static_cast< int >(val4
);
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
27131 wxPyEndAllowThreads(__tstate
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_Py_Void();
27141 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
= 0;
27143 wxEffects
*arg1
= (wxEffects
*) 0 ;
27146 wxBitmap
*arg4
= 0 ;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 PyObject
* obj2
= 0 ;
27158 PyObject
* obj3
= 0 ;
27159 char * kwnames
[] = {
27160 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
27163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
27168 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27171 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27174 if (!SWIG_IsOK(res3
)) {
27175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27180 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27181 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
27182 if (!SWIG_IsOK(res4
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27188 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27207 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
27208 return SWIG_Py_Void();
27211 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27212 return SWIG_Python_InitShadowInstance(args
);
27215 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
= 0;
27220 wxSplitterRenderParams
*result
= 0 ;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 PyObject
* obj2
= 0 ;
27230 char * kwnames
[] = {
27231 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
27234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27236 if (!SWIG_IsOK(ecode1
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
27239 arg1
= static_cast< int >(val1
);
27240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27241 if (!SWIG_IsOK(ecode2
)) {
27242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
27244 arg2
= static_cast< int >(val2
);
27245 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
27246 if (!SWIG_IsOK(ecode3
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
27249 arg3
= static_cast< bool >(val3
);
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
27263 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27264 PyObject
*resultobj
= 0;
27265 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27268 PyObject
*swig_obj
[1] ;
27270 if (!args
) SWIG_fail
;
27271 swig_obj
[0] = args
;
27272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
27273 if (!SWIG_IsOK(res1
)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27276 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_Py_Void();
27291 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27292 PyObject
*resultobj
= 0;
27293 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27297 PyObject
*swig_obj
[1] ;
27299 if (!args
) SWIG_fail
;
27300 swig_obj
[0] = args
;
27301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27302 if (!SWIG_IsOK(res1
)) {
27303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27305 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27306 result
= (int)(int) ((arg1
)->widthSash
);
27307 resultobj
= SWIG_From_int(static_cast< int >(result
));
27314 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27315 PyObject
*resultobj
= 0;
27316 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27320 PyObject
*swig_obj
[1] ;
27322 if (!args
) SWIG_fail
;
27323 swig_obj
[0] = args
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27328 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27329 result
= (int)(int) ((arg1
)->border
);
27330 resultobj
= SWIG_From_int(static_cast< int >(result
));
27337 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 PyObject
*resultobj
= 0;
27339 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27343 PyObject
*swig_obj
[1] ;
27345 if (!args
) SWIG_fail
;
27346 swig_obj
[0] = args
;
27347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27348 if (!SWIG_IsOK(res1
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27351 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27352 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
27353 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
27360 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27363 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
27364 return SWIG_Py_Void();
27367 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 return SWIG_Python_InitShadowInstance(args
);
27371 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
= 0;
27375 wxRendererVersion
*result
= 0 ;
27380 PyObject
* obj0
= 0 ;
27381 PyObject
* obj1
= 0 ;
27382 char * kwnames
[] = {
27383 (char *) "version_",(char *) "age_", NULL
27386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27388 if (!SWIG_IsOK(ecode1
)) {
27389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27391 arg1
= static_cast< int >(val1
);
27392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27393 if (!SWIG_IsOK(ecode2
)) {
27394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27396 arg2
= static_cast< int >(val2
);
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27410 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27411 PyObject
*resultobj
= 0;
27412 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27415 PyObject
*swig_obj
[1] ;
27417 if (!args
) SWIG_fail
;
27418 swig_obj
[0] = args
;
27419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27423 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_Py_Void();
27438 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
= 0;
27440 wxRendererVersion
*arg1
= 0 ;
27444 PyObject
* obj0
= 0 ;
27445 char * kwnames
[] = {
27446 (char *) "ver", NULL
27449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27450 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27457 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27473 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27474 PyObject
*resultobj
= 0;
27475 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27479 PyObject
*swig_obj
[1] ;
27481 if (!args
) SWIG_fail
;
27482 swig_obj
[0] = args
;
27483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27484 if (!SWIG_IsOK(res1
)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27487 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27488 result
= (int)(int) ((arg1
)->version
);
27489 resultobj
= SWIG_From_int(static_cast< int >(result
));
27496 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27497 PyObject
*resultobj
= 0;
27498 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27502 PyObject
*swig_obj
[1] ;
27504 if (!args
) SWIG_fail
;
27505 swig_obj
[0] = args
;
27506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27507 if (!SWIG_IsOK(res1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27510 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27511 result
= (int)(int) ((arg1
)->age
);
27512 resultobj
= SWIG_From_int(static_cast< int >(result
));
27519 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27522 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27523 return SWIG_Py_Void();
27526 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27527 return SWIG_Python_InitShadowInstance(args
);
27530 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
= 0;
27532 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27533 wxWindow
*arg2
= (wxWindow
*) 0 ;
27536 int arg5
= (int) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 PyObject
* obj2
= 0 ;
27549 PyObject
* obj3
= 0 ;
27550 PyObject
* obj4
= 0 ;
27551 char * kwnames
[] = {
27552 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27560 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27562 if (!SWIG_IsOK(res2
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27566 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27567 if (!SWIG_IsOK(res3
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27573 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27576 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27580 if (!SWIG_IsOK(ecode5
)) {
27581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27583 arg5
= static_cast< int >(val5
);
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_Py_Void();
27598 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
= 0;
27600 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27601 wxWindow
*arg2
= (wxWindow
*) 0 ;
27604 int arg5
= (int) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 PyObject
* obj1
= 0 ;
27616 PyObject
* obj2
= 0 ;
27617 PyObject
* obj3
= 0 ;
27618 PyObject
* obj4
= 0 ;
27619 char * kwnames
[] = {
27620 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27628 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27629 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27630 if (!SWIG_IsOK(res2
)) {
27631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27633 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27634 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27635 if (!SWIG_IsOK(res3
)) {
27636 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27641 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27644 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27648 if (!SWIG_IsOK(ecode5
)) {
27649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27651 arg5
= static_cast< int >(val5
);
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27656 wxPyEndAllowThreads(__tstate
);
27657 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= SWIG_Py_Void();
27666 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27667 PyObject
*resultobj
= 0;
27668 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27669 wxWindow
*arg2
= (wxWindow
*) 0 ;
27672 int arg5
= (int) 0 ;
27682 PyObject
* obj0
= 0 ;
27683 PyObject
* obj1
= 0 ;
27684 PyObject
* obj2
= 0 ;
27685 PyObject
* obj3
= 0 ;
27686 PyObject
* obj4
= 0 ;
27687 char * kwnames
[] = {
27688 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27696 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27697 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27698 if (!SWIG_IsOK(res2
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27701 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27702 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27703 if (!SWIG_IsOK(res3
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27709 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27712 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27715 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27716 if (!SWIG_IsOK(ecode5
)) {
27717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27719 arg5
= static_cast< int >(val5
);
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_Py_Void();
27734 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= 0;
27736 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27737 wxWindow
*arg2
= (wxWindow
*) 0 ;
27741 wxOrientation arg6
;
27742 int arg7
= (int) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 PyObject
* obj2
= 0 ;
27759 PyObject
* obj3
= 0 ;
27760 PyObject
* obj4
= 0 ;
27761 PyObject
* obj5
= 0 ;
27762 PyObject
* obj6
= 0 ;
27763 char * kwnames
[] = {
27764 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27772 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27774 if (!SWIG_IsOK(res2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27778 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27779 if (!SWIG_IsOK(res3
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27785 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27790 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27791 if (!SWIG_IsOK(ecode5
)) {
27792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27794 arg5
= static_cast< int >(val5
);
27795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27796 if (!SWIG_IsOK(ecode6
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27799 arg6
= static_cast< wxOrientation
>(val6
);
27801 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27802 if (!SWIG_IsOK(ecode7
)) {
27803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27805 arg7
= static_cast< int >(val7
);
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27810 wxPyEndAllowThreads(__tstate
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= SWIG_Py_Void();
27820 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
= 0;
27822 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27823 wxWindow
*arg2
= (wxWindow
*) 0 ;
27826 int arg5
= (int) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 PyObject
* obj3
= 0 ;
27840 PyObject
* obj4
= 0 ;
27841 char * kwnames
[] = {
27842 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27847 if (!SWIG_IsOK(res1
)) {
27848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27850 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27852 if (!SWIG_IsOK(res2
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27856 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27857 if (!SWIG_IsOK(res3
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27863 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27866 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27869 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27870 if (!SWIG_IsOK(ecode5
)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27873 arg5
= static_cast< int >(val5
);
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27878 wxPyEndAllowThreads(__tstate
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_Py_Void();
27888 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
= 0;
27890 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27891 wxWindow
*arg2
= (wxWindow
*) 0 ;
27894 int arg5
= (int) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 PyObject
* obj3
= 0 ;
27908 PyObject
* obj4
= 0 ;
27909 char * kwnames
[] = {
27910 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27918 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27920 if (!SWIG_IsOK(res2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27924 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27925 if (!SWIG_IsOK(res3
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27931 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27934 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27938 if (!SWIG_IsOK(ecode5
)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27941 arg5
= static_cast< int >(val5
);
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= SWIG_Py_Void();
27956 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27957 PyObject
*resultobj
= 0;
27958 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27959 wxWindow
*arg2
= (wxWindow
*) 0 ;
27962 int arg5
= (int) 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 PyObject
* obj2
= 0 ;
27975 PyObject
* obj3
= 0 ;
27976 PyObject
* obj4
= 0 ;
27977 char * kwnames
[] = {
27978 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27983 if (!SWIG_IsOK(res1
)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27986 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27988 if (!SWIG_IsOK(res2
)) {
27989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27991 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27992 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27993 if (!SWIG_IsOK(res3
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27999 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28002 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28006 if (!SWIG_IsOK(ecode5
)) {
28007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
28009 arg5
= static_cast< int >(val5
);
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= SWIG_Py_Void();
28024 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
= 0;
28026 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28027 wxWindow
*arg2
= (wxWindow
*) 0 ;
28030 int arg5
= (int) 0 ;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 PyObject
* obj2
= 0 ;
28043 PyObject
* obj3
= 0 ;
28044 PyObject
* obj4
= 0 ;
28045 char * kwnames
[] = {
28046 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28054 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28055 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28056 if (!SWIG_IsOK(res2
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28059 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28060 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28061 if (!SWIG_IsOK(res3
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28067 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28070 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28073 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28074 if (!SWIG_IsOK(ecode5
)) {
28075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
28077 arg5
= static_cast< int >(val5
);
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28082 wxPyEndAllowThreads(__tstate
);
28083 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= SWIG_Py_Void();
28092 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28093 PyObject
*resultobj
= 0;
28094 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28095 wxWindow
*arg2
= (wxWindow
*) 0 ;
28098 int arg5
= (int) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 PyObject
* obj1
= 0 ;
28110 PyObject
* obj2
= 0 ;
28111 PyObject
* obj3
= 0 ;
28112 PyObject
* obj4
= 0 ;
28113 char * kwnames
[] = {
28114 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28119 if (!SWIG_IsOK(res1
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28122 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28123 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28124 if (!SWIG_IsOK(res2
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28127 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28128 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28129 if (!SWIG_IsOK(res3
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28135 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28138 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28141 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28142 if (!SWIG_IsOK(ecode5
)) {
28143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28145 arg5
= static_cast< int >(val5
);
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= SWIG_Py_Void();
28160 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
= 0;
28162 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28163 wxWindow
*arg2
= (wxWindow
*) 0 ;
28164 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28169 PyObject
* obj0
= 0 ;
28170 PyObject
* obj1
= 0 ;
28171 char * kwnames
[] = {
28172 (char *) "self",(char *) "win", NULL
28175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28177 if (!SWIG_IsOK(res1
)) {
28178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28180 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28182 if (!SWIG_IsOK(res2
)) {
28183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28199 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28200 PyObject
*resultobj
= 0;
28201 wxRendererNative
*result
= 0 ;
28203 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28205 if (!wxPyCheckForApp()) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28209 result
= (wxRendererNative
*) &_result_ref
;
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28221 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28222 PyObject
*resultobj
= 0;
28223 wxRendererNative
*result
= 0 ;
28225 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28227 if (!wxPyCheckForApp()) SWIG_fail
;
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28231 result
= (wxRendererNative
*) &_result_ref
;
28233 wxPyEndAllowThreads(__tstate
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28243 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28244 PyObject
*resultobj
= 0;
28245 wxRendererNative
*result
= 0 ;
28247 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28249 if (!wxPyCheckForApp()) SWIG_fail
;
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
28253 result
= (wxRendererNative
*) &_result_ref
;
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28265 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28268 wxRendererNative
*result
= 0 ;
28271 PyObject
* obj0
= 0 ;
28272 char * kwnames
[] = {
28273 (char *) "renderer", NULL
28276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28278 if (!SWIG_IsOK(res1
)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28281 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28283 if (!wxPyCheckForApp()) SWIG_fail
;
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28296 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28297 PyObject
*resultobj
= 0;
28298 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28299 SwigValueWrapper
<wxRendererVersion
> result
;
28302 PyObject
*swig_obj
[1] ;
28304 if (!args
) SWIG_fail
;
28305 swig_obj
[0] = args
;
28306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28307 if (!SWIG_IsOK(res1
)) {
28308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28310 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28324 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28327 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28328 return SWIG_Py_Void();
28331 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28332 PyObject
*resultobj
= 0;
28333 wxPseudoDC
*result
= 0 ;
28335 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= (wxPseudoDC
*)new wxPseudoDC();
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28349 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28354 PyObject
*swig_obj
[1] ;
28356 if (!args
) SWIG_fail
;
28357 swig_obj
[0] = args
;
28358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28359 if (!SWIG_IsOK(res1
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 (arg1
)->BeginDrawing();
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= SWIG_Py_Void();
28376 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28377 PyObject
*resultobj
= 0;
28378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28381 PyObject
*swig_obj
[1] ;
28383 if (!args
) SWIG_fail
;
28384 swig_obj
[0] = args
;
28385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28386 if (!SWIG_IsOK(res1
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 (arg1
)->EndDrawing();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= SWIG_Py_Void();
28403 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28404 PyObject
*resultobj
= 0;
28405 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28408 PyObject
*swig_obj
[1] ;
28410 if (!args
) SWIG_fail
;
28411 swig_obj
[0] = args
;
28412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28416 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= SWIG_Py_Void();
28431 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28432 PyObject
*resultobj
= 0;
28433 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28436 PyObject
*swig_obj
[1] ;
28438 if (!args
) SWIG_fail
;
28439 swig_obj
[0] = args
;
28440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 (arg1
)->RemoveAll();
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= SWIG_Py_Void();
28458 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28459 PyObject
*resultobj
= 0;
28460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28464 PyObject
*swig_obj
[1] ;
28466 if (!args
) SWIG_fail
;
28467 swig_obj
[0] = args
;
28468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28469 if (!SWIG_IsOK(res1
)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28472 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (int)(arg1
)->GetLen();
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_From_int(static_cast< int >(result
));
28486 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= 0;
28488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 char * kwnames
[] = {
28497 (char *) "self",(char *) "id", NULL
28500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28502 if (!SWIG_IsOK(res1
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28505 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28507 if (!SWIG_IsOK(ecode2
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28510 arg2
= static_cast< int >(val2
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 (arg1
)->SetId(arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_Py_Void();
28524 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
= 0;
28526 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 char * kwnames
[] = {
28535 (char *) "self",(char *) "id", NULL
28538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28545 if (!SWIG_IsOK(ecode2
)) {
28546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28548 arg2
= static_cast< int >(val2
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28551 (arg1
)->ClearId(arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= SWIG_Py_Void();
28562 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
= 0;
28564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28570 PyObject
* obj0
= 0 ;
28571 PyObject
* obj1
= 0 ;
28572 char * kwnames
[] = {
28573 (char *) "self",(char *) "id", NULL
28576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28581 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28583 if (!SWIG_IsOK(ecode2
)) {
28584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28586 arg2
= static_cast< int >(val2
);
28588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28589 (arg1
)->RemoveId(arg2
);
28590 wxPyEndAllowThreads(__tstate
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= SWIG_Py_Void();
28600 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= 0;
28602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28614 PyObject
* obj0
= 0 ;
28615 PyObject
* obj1
= 0 ;
28616 PyObject
* obj2
= 0 ;
28617 PyObject
* obj3
= 0 ;
28618 char * kwnames
[] = {
28619 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28624 if (!SWIG_IsOK(res1
)) {
28625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28627 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28629 if (!SWIG_IsOK(ecode2
)) {
28630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28632 arg2
= static_cast< int >(val2
);
28633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28634 if (!SWIG_IsOK(ecode3
)) {
28635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28637 arg3
= static_cast< int >(val3
);
28638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28639 if (!SWIG_IsOK(ecode4
)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28642 arg4
= static_cast< int >(val4
);
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 resultobj
= SWIG_Py_Void();
28656 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
= 0;
28658 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28660 wxDC
*arg3
= (wxDC
*) 0 ;
28667 PyObject
* obj0
= 0 ;
28668 PyObject
* obj1
= 0 ;
28669 PyObject
* obj2
= 0 ;
28670 char * kwnames
[] = {
28671 (char *) "self",(char *) "id",(char *) "dc", NULL
28674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28676 if (!SWIG_IsOK(res1
)) {
28677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28679 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28681 if (!SWIG_IsOK(ecode2
)) {
28682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28684 arg2
= static_cast< int >(val2
);
28685 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28686 if (!SWIG_IsOK(res3
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28689 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 (arg1
)->DrawIdToDC(arg2
,arg3
);
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_Py_Void();
28703 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
= 0;
28705 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 PyObject
* obj2
= 0 ;
28716 char * kwnames
[] = {
28717 (char *) "self",(char *) "id",(char *) "rect", NULL
28720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28722 if (!SWIG_IsOK(res1
)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28725 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28727 if (!SWIG_IsOK(ecode2
)) {
28728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28730 arg2
= static_cast< int >(val2
);
28733 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 (arg1
)->SetIdBounds(arg2
,*arg3
);
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= SWIG_Py_Void();
28748 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
= 0;
28750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 char * kwnames
[] = {
28760 (char *) "self",(char *) "id", NULL
28763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28765 if (!SWIG_IsOK(res1
)) {
28766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28770 if (!SWIG_IsOK(ecode2
)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28773 arg2
= static_cast< int >(val2
);
28775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28776 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28787 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
= 0;
28789 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28790 wxDC
*arg2
= (wxDC
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 char * kwnames
[] = {
28801 (char *) "self",(char *) "dc",(char *) "rect", NULL
28804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28811 if (!SWIG_IsOK(res2
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28814 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28817 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= SWIG_Py_Void();
28832 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
= 0;
28834 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28835 wxDC
*arg2
= (wxDC
*) 0 ;
28836 wxRegion
*arg3
= 0 ;
28843 PyObject
* obj0
= 0 ;
28844 PyObject
* obj1
= 0 ;
28845 PyObject
* obj2
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "dc",(char *) "region", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28855 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28857 if (!SWIG_IsOK(res2
)) {
28858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28860 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28861 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28862 if (!SWIG_IsOK(res3
)) {
28863 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28868 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_Py_Void();
28882 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
= 0;
28884 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28885 wxDC
*arg2
= (wxDC
*) 0 ;
28890 PyObject
* obj0
= 0 ;
28891 PyObject
* obj1
= 0 ;
28892 char * kwnames
[] = {
28893 (char *) "self",(char *) "dc", NULL
28896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28901 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28903 if (!SWIG_IsOK(res2
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28906 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 (arg1
)->DrawToDC(arg2
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_Py_Void();
28920 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
= 0;
28922 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28925 wxColour
*arg4
= 0 ;
28926 int arg5
= (int) wxFLOOD_SURFACE
;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 PyObject
* obj2
= 0 ;
28939 PyObject
* obj3
= 0 ;
28940 PyObject
* obj4
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28950 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28952 if (!SWIG_IsOK(ecode2
)) {
28953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28955 arg2
= static_cast< int >(val2
);
28956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28957 if (!SWIG_IsOK(ecode3
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28960 arg3
= static_cast< int >(val3
);
28963 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28966 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28967 if (!SWIG_IsOK(ecode5
)) {
28968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28970 arg5
= static_cast< int >(val5
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_Py_Void();
28985 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28988 wxPoint
*arg2
= 0 ;
28989 wxColour
*arg3
= 0 ;
28990 int arg4
= (int) wxFLOOD_SURFACE
;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 char * kwnames
[] = {
29002 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
29005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29017 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29021 if (!SWIG_IsOK(ecode4
)) {
29022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
29024 arg4
= static_cast< int >(val4
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_Py_Void();
29039 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29040 PyObject
*resultobj
= 0;
29041 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 PyObject
* obj2
= 0 ;
29059 PyObject
* obj3
= 0 ;
29060 PyObject
* obj4
= 0 ;
29061 char * kwnames
[] = {
29062 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29067 if (!SWIG_IsOK(res1
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29072 if (!SWIG_IsOK(ecode2
)) {
29073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
29075 arg2
= static_cast< int >(val2
);
29076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29077 if (!SWIG_IsOK(ecode3
)) {
29078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
29080 arg3
= static_cast< int >(val3
);
29081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29082 if (!SWIG_IsOK(ecode4
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
29085 arg4
= static_cast< int >(val4
);
29086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29087 if (!SWIG_IsOK(ecode5
)) {
29088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
29090 arg5
= static_cast< int >(val5
);
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 resultobj
= SWIG_Py_Void();
29104 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
= 0;
29106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29107 wxPoint
*arg2
= 0 ;
29108 wxPoint
*arg3
= 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 PyObject
* obj2
= 0 ;
29116 char * kwnames
[] = {
29117 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29122 if (!SWIG_IsOK(res1
)) {
29123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29132 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= SWIG_Py_Void();
29147 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
= 0;
29149 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29158 PyObject
* obj0
= 0 ;
29159 PyObject
* obj1
= 0 ;
29160 PyObject
* obj2
= 0 ;
29161 char * kwnames
[] = {
29162 (char *) "self",(char *) "x",(char *) "y", NULL
29165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29167 if (!SWIG_IsOK(res1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29172 if (!SWIG_IsOK(ecode2
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29175 arg2
= static_cast< int >(val2
);
29176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29177 if (!SWIG_IsOK(ecode3
)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29180 arg3
= static_cast< int >(val3
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 (arg1
)->CrossHair(arg2
,arg3
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_Py_Void();
29194 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29197 wxPoint
*arg2
= 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char * kwnames
[] = {
29204 (char *) "self",(char *) "pt", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29215 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= SWIG_Py_Void();
29230 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
= 0;
29232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 PyObject
* obj2
= 0 ;
29256 PyObject
* obj3
= 0 ;
29257 PyObject
* obj4
= 0 ;
29258 PyObject
* obj5
= 0 ;
29259 PyObject
* obj6
= 0 ;
29260 char * kwnames
[] = {
29261 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29266 if (!SWIG_IsOK(res1
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29271 if (!SWIG_IsOK(ecode2
)) {
29272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29274 arg2
= static_cast< int >(val2
);
29275 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29276 if (!SWIG_IsOK(ecode3
)) {
29277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29279 arg3
= static_cast< int >(val3
);
29280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29281 if (!SWIG_IsOK(ecode4
)) {
29282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29284 arg4
= static_cast< int >(val4
);
29285 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29286 if (!SWIG_IsOK(ecode5
)) {
29287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29289 arg5
= static_cast< int >(val5
);
29290 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29291 if (!SWIG_IsOK(ecode6
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29294 arg6
= static_cast< int >(val6
);
29295 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29296 if (!SWIG_IsOK(ecode7
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29299 arg7
= static_cast< int >(val7
);
29301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 resultobj
= SWIG_Py_Void();
29313 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
= 0;
29315 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29316 wxPoint
*arg2
= 0 ;
29317 wxPoint
*arg3
= 0 ;
29318 wxPoint
*arg4
= 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 PyObject
* obj2
= 0 ;
29327 PyObject
* obj3
= 0 ;
29328 char * kwnames
[] = {
29329 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29334 if (!SWIG_IsOK(res1
)) {
29335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29337 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29348 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_Py_Void();
29363 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= 0;
29365 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 PyObject
* obj2
= 0 ;
29383 PyObject
* obj3
= 0 ;
29384 PyObject
* obj4
= 0 ;
29385 char * kwnames
[] = {
29386 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29396 if (!SWIG_IsOK(ecode2
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29399 arg2
= static_cast< int >(val2
);
29400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29401 if (!SWIG_IsOK(ecode3
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29404 arg3
= static_cast< int >(val3
);
29405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29406 if (!SWIG_IsOK(ecode4
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29409 arg4
= static_cast< int >(val4
);
29410 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29411 if (!SWIG_IsOK(ecode5
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29414 arg5
= static_cast< int >(val5
);
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_Py_Void();
29428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29435 PyObject
* obj0
= 0 ;
29436 PyObject
* obj1
= 0 ;
29437 char * kwnames
[] = {
29438 (char *) "self",(char *) "rect", NULL
29441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29449 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= SWIG_Py_Void();
29464 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
= 0;
29466 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 PyObject
* obj2
= 0 ;
29490 PyObject
* obj3
= 0 ;
29491 PyObject
* obj4
= 0 ;
29492 PyObject
* obj5
= 0 ;
29493 PyObject
* obj6
= 0 ;
29494 char * kwnames
[] = {
29495 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29503 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29505 if (!SWIG_IsOK(ecode2
)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29508 arg2
= static_cast< int >(val2
);
29509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29510 if (!SWIG_IsOK(ecode3
)) {
29511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29513 arg3
= static_cast< int >(val3
);
29514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29515 if (!SWIG_IsOK(ecode4
)) {
29516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29518 arg4
= static_cast< int >(val4
);
29519 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29520 if (!SWIG_IsOK(ecode5
)) {
29521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29523 arg5
= static_cast< int >(val5
);
29524 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29525 if (!SWIG_IsOK(ecode6
)) {
29526 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29528 arg6
= static_cast< double >(val6
);
29529 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29530 if (!SWIG_IsOK(ecode7
)) {
29531 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29533 arg7
= static_cast< double >(val7
);
29535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29537 wxPyEndAllowThreads(__tstate
);
29538 if (PyErr_Occurred()) SWIG_fail
;
29540 resultobj
= SWIG_Py_Void();
29547 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29548 PyObject
*resultobj
= 0;
29549 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29550 wxPoint
*arg2
= 0 ;
29562 PyObject
* obj0
= 0 ;
29563 PyObject
* obj1
= 0 ;
29564 PyObject
* obj2
= 0 ;
29565 PyObject
* obj3
= 0 ;
29566 PyObject
* obj4
= 0 ;
29567 char * kwnames
[] = {
29568 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29573 if (!SWIG_IsOK(res1
)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29576 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29583 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29585 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29586 if (!SWIG_IsOK(ecode4
)) {
29587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29589 arg4
= static_cast< double >(val4
);
29590 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29591 if (!SWIG_IsOK(ecode5
)) {
29592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29594 arg5
= static_cast< double >(val5
);
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= SWIG_Py_Void();
29608 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
= 0;
29610 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 PyObject
* obj2
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "x",(char *) "y", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29633 if (!SWIG_IsOK(ecode2
)) {
29634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29636 arg2
= static_cast< int >(val2
);
29637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29638 if (!SWIG_IsOK(ecode3
)) {
29639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29641 arg3
= static_cast< int >(val3
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 (arg1
)->DrawPoint(arg2
,arg3
);
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_Py_Void();
29655 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= 0;
29657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29658 wxPoint
*arg2
= 0 ;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 char * kwnames
[] = {
29665 (char *) "self",(char *) "pt", NULL
29668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29670 if (!SWIG_IsOK(res1
)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29673 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_Py_Void();
29691 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 PyObject
* obj3
= 0 ;
29712 PyObject
* obj4
= 0 ;
29713 char * kwnames
[] = {
29714 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29719 if (!SWIG_IsOK(res1
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29722 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29724 if (!SWIG_IsOK(ecode2
)) {
29725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29727 arg2
= static_cast< int >(val2
);
29728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29729 if (!SWIG_IsOK(ecode3
)) {
29730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29732 arg3
= static_cast< int >(val3
);
29733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29734 if (!SWIG_IsOK(ecode4
)) {
29735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29737 arg4
= static_cast< int >(val4
);
29738 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29739 if (!SWIG_IsOK(ecode5
)) {
29740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29742 arg5
= static_cast< int >(val5
);
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_Py_Void();
29756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
= 0;
29758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 char * kwnames
[] = {
29766 (char *) "self",(char *) "rect", NULL
29769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29771 if (!SWIG_IsOK(res1
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29777 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= SWIG_Py_Void();
29792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
= 0;
29794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29795 wxPoint
*arg2
= 0 ;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 PyObject
* obj2
= 0 ;
29804 char * kwnames
[] = {
29805 (char *) "self",(char *) "pt",(char *) "sz", NULL
29808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29810 if (!SWIG_IsOK(res1
)) {
29811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29820 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_Py_Void();
29835 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
= 0;
29837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 PyObject
* obj2
= 0 ;
29858 PyObject
* obj3
= 0 ;
29859 PyObject
* obj4
= 0 ;
29860 PyObject
* obj5
= 0 ;
29861 char * kwnames
[] = {
29862 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29870 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29872 if (!SWIG_IsOK(ecode2
)) {
29873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29875 arg2
= static_cast< int >(val2
);
29876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29877 if (!SWIG_IsOK(ecode3
)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29880 arg3
= static_cast< int >(val3
);
29881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29882 if (!SWIG_IsOK(ecode4
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29885 arg4
= static_cast< int >(val4
);
29886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29887 if (!SWIG_IsOK(ecode5
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29890 arg5
= static_cast< int >(val5
);
29891 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29892 if (!SWIG_IsOK(ecode6
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29895 arg6
= static_cast< double >(val6
);
29897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29898 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29902 resultobj
= SWIG_Py_Void();
29909 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29910 PyObject
*resultobj
= 0;
29911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 PyObject
* obj2
= 0 ;
29922 char * kwnames
[] = {
29923 (char *) "self",(char *) "r",(char *) "radius", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29931 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29934 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29936 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29937 if (!SWIG_IsOK(ecode3
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29940 arg3
= static_cast< double >(val3
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= SWIG_Py_Void();
29954 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
= 0;
29956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29957 wxPoint
*arg2
= 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 PyObject
* obj2
= 0 ;
29969 PyObject
* obj3
= 0 ;
29970 char * kwnames
[] = {
29971 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29976 if (!SWIG_IsOK(res1
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29982 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29986 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29988 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29989 if (!SWIG_IsOK(ecode4
)) {
29990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29992 arg4
= static_cast< double >(val4
);
29994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29995 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 resultobj
= SWIG_Py_Void();
30006 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 PyObject
* obj2
= 0 ;
30023 PyObject
* obj3
= 0 ;
30024 char * kwnames
[] = {
30025 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
30028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30033 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30035 if (!SWIG_IsOK(ecode2
)) {
30036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
30038 arg2
= static_cast< int >(val2
);
30039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30040 if (!SWIG_IsOK(ecode3
)) {
30041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
30043 arg3
= static_cast< int >(val3
);
30044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30045 if (!SWIG_IsOK(ecode4
)) {
30046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
30048 arg4
= static_cast< int >(val4
);
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= SWIG_Py_Void();
30062 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
= 0;
30064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30065 wxPoint
*arg2
= 0 ;
30072 PyObject
* obj0
= 0 ;
30073 PyObject
* obj1
= 0 ;
30074 PyObject
* obj2
= 0 ;
30075 char * kwnames
[] = {
30076 (char *) "self",(char *) "pt",(char *) "radius", NULL
30079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30090 if (!SWIG_IsOK(ecode3
)) {
30091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
30093 arg3
= static_cast< int >(val3
);
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
30097 wxPyEndAllowThreads(__tstate
);
30098 if (PyErr_Occurred()) SWIG_fail
;
30100 resultobj
= SWIG_Py_Void();
30107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30108 PyObject
*resultobj
= 0;
30109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 PyObject
* obj2
= 0 ;
30127 PyObject
* obj3
= 0 ;
30128 PyObject
* obj4
= 0 ;
30129 char * kwnames
[] = {
30130 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30140 if (!SWIG_IsOK(ecode2
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30143 arg2
= static_cast< int >(val2
);
30144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30145 if (!SWIG_IsOK(ecode3
)) {
30146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30148 arg3
= static_cast< int >(val3
);
30149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30150 if (!SWIG_IsOK(ecode4
)) {
30151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30153 arg4
= static_cast< int >(val4
);
30154 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30155 if (!SWIG_IsOK(ecode5
)) {
30156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30158 arg5
= static_cast< int >(val5
);
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_Py_Void();
30172 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
= 0;
30174 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 PyObject
* obj1
= 0 ;
30181 char * kwnames
[] = {
30182 (char *) "self",(char *) "rect", NULL
30185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30187 if (!SWIG_IsOK(res1
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30190 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30193 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_Py_Void();
30208 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30211 wxPoint
*arg2
= 0 ;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 PyObject
* obj2
= 0 ;
30220 char * kwnames
[] = {
30221 (char *) "self",(char *) "pt",(char *) "sz", NULL
30224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30226 if (!SWIG_IsOK(res1
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30236 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_Py_Void();
30251 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
= 0;
30253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 PyObject
* obj2
= 0 ;
30268 PyObject
* obj3
= 0 ;
30269 char * kwnames
[] = {
30270 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30275 if (!SWIG_IsOK(res1
)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30278 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30280 if (!SWIG_IsOK(res2
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30286 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30288 if (!SWIG_IsOK(ecode3
)) {
30289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30291 arg3
= static_cast< int >(val3
);
30292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30293 if (!SWIG_IsOK(ecode4
)) {
30294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30296 arg4
= static_cast< int >(val4
);
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30299 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_Py_Void();
30310 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30311 PyObject
*resultobj
= 0;
30312 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30314 wxPoint
*arg3
= 0 ;
30320 PyObject
* obj0
= 0 ;
30321 PyObject
* obj1
= 0 ;
30322 PyObject
* obj2
= 0 ;
30323 char * kwnames
[] = {
30324 (char *) "self",(char *) "icon",(char *) "pt", NULL
30327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30329 if (!SWIG_IsOK(res1
)) {
30330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30334 if (!SWIG_IsOK(res2
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30340 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= SWIG_Py_Void();
30358 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
= 0;
30360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30361 wxBitmap
*arg2
= 0 ;
30364 bool arg5
= (bool) false ;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 PyObject
* obj2
= 0 ;
30378 PyObject
* obj3
= 0 ;
30379 PyObject
* obj4
= 0 ;
30380 char * kwnames
[] = {
30381 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30391 if (!SWIG_IsOK(res2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30397 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30399 if (!SWIG_IsOK(ecode3
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30402 arg3
= static_cast< int >(val3
);
30403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30404 if (!SWIG_IsOK(ecode4
)) {
30405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30407 arg4
= static_cast< int >(val4
);
30409 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30410 if (!SWIG_IsOK(ecode5
)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30413 arg5
= static_cast< bool >(val5
);
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= SWIG_Py_Void();
30428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
= 0;
30430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30431 wxBitmap
*arg2
= 0 ;
30432 wxPoint
*arg3
= 0 ;
30433 bool arg4
= (bool) false ;
30441 PyObject
* obj0
= 0 ;
30442 PyObject
* obj1
= 0 ;
30443 PyObject
* obj2
= 0 ;
30444 PyObject
* obj3
= 0 ;
30445 char * kwnames
[] = {
30446 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30451 if (!SWIG_IsOK(res1
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30454 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30456 if (!SWIG_IsOK(res2
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30462 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30465 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30468 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30469 if (!SWIG_IsOK(ecode4
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30472 arg4
= static_cast< bool >(val4
);
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= SWIG_Py_Void();
30487 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
= 0;
30489 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30490 wxString
*arg2
= 0 ;
30495 bool temp2
= false ;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 PyObject
* obj2
= 0 ;
30503 PyObject
* obj3
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30513 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30515 arg2
= wxString_in_helper(obj1
);
30516 if (arg2
== NULL
) SWIG_fail
;
30519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30520 if (!SWIG_IsOK(ecode3
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30523 arg3
= static_cast< int >(val3
);
30524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30525 if (!SWIG_IsOK(ecode4
)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30528 arg4
= static_cast< int >(val4
);
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_Py_Void();
30550 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
= 0;
30552 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30553 wxString
*arg2
= 0 ;
30554 wxPoint
*arg3
= 0 ;
30557 bool temp2
= false ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "self",(char *) "text",(char *) "pt", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30573 arg2
= wxString_in_helper(obj1
);
30574 if (arg2
== NULL
) SWIG_fail
;
30579 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30584 wxPyEndAllowThreads(__tstate
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_Py_Void();
30602 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
= 0;
30604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30605 wxString
*arg2
= 0 ;
30611 bool temp2
= false ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 PyObject
* obj2
= 0 ;
30621 PyObject
* obj3
= 0 ;
30622 PyObject
* obj4
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30634 arg2
= wxString_in_helper(obj1
);
30635 if (arg2
== NULL
) SWIG_fail
;
30638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30639 if (!SWIG_IsOK(ecode3
)) {
30640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30642 arg3
= static_cast< int >(val3
);
30643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30644 if (!SWIG_IsOK(ecode4
)) {
30645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30647 arg4
= static_cast< int >(val4
);
30648 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30649 if (!SWIG_IsOK(ecode5
)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30652 arg5
= static_cast< double >(val5
);
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= SWIG_Py_Void();
30674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
= 0;
30676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30677 wxString
*arg2
= 0 ;
30678 wxPoint
*arg3
= 0 ;
30682 bool temp2
= false ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 PyObject
* obj2
= 0 ;
30689 PyObject
* obj3
= 0 ;
30690 char * kwnames
[] = {
30691 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30701 arg2
= wxString_in_helper(obj1
);
30702 if (arg2
== NULL
) SWIG_fail
;
30707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30709 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30710 if (!SWIG_IsOK(ecode4
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30713 arg4
= static_cast< double >(val4
);
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_Py_Void();
30735 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
= 0;
30737 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30739 wxPoint
*arg3
= (wxPoint
*) 0 ;
30740 int arg4
= (int) 0 ;
30741 int arg5
= (int) 0 ;
30748 PyObject
* obj0
= 0 ;
30749 PyObject
* obj1
= 0 ;
30750 PyObject
* obj2
= 0 ;
30751 PyObject
* obj3
= 0 ;
30752 char * kwnames
[] = {
30753 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30763 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30764 if (arg3
== NULL
) SWIG_fail
;
30767 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30768 if (!SWIG_IsOK(ecode4
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30771 arg4
= static_cast< int >(val4
);
30774 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30775 if (!SWIG_IsOK(ecode5
)) {
30776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30778 arg5
= static_cast< int >(val5
);
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30786 resultobj
= SWIG_Py_Void();
30788 if (arg3
) delete [] arg3
;
30793 if (arg3
) delete [] arg3
;
30799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
= 0;
30801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30803 wxPoint
*arg3
= (wxPoint
*) 0 ;
30804 int arg4
= (int) 0 ;
30805 int arg5
= (int) 0 ;
30806 int arg6
= (int) wxODDEVEN_RULE
;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 PyObject
* obj2
= 0 ;
30818 PyObject
* obj3
= 0 ;
30819 PyObject
* obj4
= 0 ;
30820 char * kwnames
[] = {
30821 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30826 if (!SWIG_IsOK(res1
)) {
30827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30829 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30831 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30832 if (arg3
== NULL
) SWIG_fail
;
30835 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30836 if (!SWIG_IsOK(ecode4
)) {
30837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30839 arg4
= static_cast< int >(val4
);
30842 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30843 if (!SWIG_IsOK(ecode5
)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30846 arg5
= static_cast< int >(val5
);
30849 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30850 if (!SWIG_IsOK(ecode6
)) {
30851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30853 arg6
= static_cast< int >(val6
);
30856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 resultobj
= SWIG_Py_Void();
30863 if (arg3
) delete [] arg3
;
30868 if (arg3
) delete [] arg3
;
30874 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
= 0;
30876 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30877 wxString
*arg2
= 0 ;
30879 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30880 int arg5
= (int) -1 ;
30883 bool temp2
= false ;
30889 PyObject
* obj0
= 0 ;
30890 PyObject
* obj1
= 0 ;
30891 PyObject
* obj2
= 0 ;
30892 PyObject
* obj3
= 0 ;
30893 PyObject
* obj4
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30903 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30905 arg2
= wxString_in_helper(obj1
);
30906 if (arg2
== NULL
) SWIG_fail
;
30911 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30915 if (!SWIG_IsOK(ecode4
)) {
30916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30918 arg4
= static_cast< int >(val4
);
30921 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30922 if (!SWIG_IsOK(ecode5
)) {
30923 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30925 arg5
= static_cast< int >(val5
);
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= SWIG_Py_Void();
30948 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30949 PyObject
*resultobj
= 0;
30950 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30951 wxString
*arg2
= 0 ;
30952 wxBitmap
*arg3
= 0 ;
30954 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30955 int arg6
= (int) -1 ;
30958 bool temp2
= false ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 PyObject
* obj2
= 0 ;
30969 PyObject
* obj3
= 0 ;
30970 PyObject
* obj4
= 0 ;
30971 PyObject
* obj5
= 0 ;
30972 char * kwnames
[] = {
30973 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30978 if (!SWIG_IsOK(res1
)) {
30979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30981 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30983 arg2
= wxString_in_helper(obj1
);
30984 if (arg2
== NULL
) SWIG_fail
;
30987 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30988 if (!SWIG_IsOK(res3
)) {
30989 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30994 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30997 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31001 if (!SWIG_IsOK(ecode5
)) {
31002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
31004 arg5
= static_cast< int >(val5
);
31007 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31008 if (!SWIG_IsOK(ecode6
)) {
31009 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
31011 arg6
= static_cast< int >(val6
);
31014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31015 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= SWIG_Py_Void();
31034 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
= 0;
31036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31038 wxPoint
*arg3
= (wxPoint
*) 0 ;
31041 PyObject
* obj0
= 0 ;
31042 PyObject
* obj1
= 0 ;
31043 char * kwnames
[] = {
31044 (char *) "self",(char *) "points", NULL
31047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31049 if (!SWIG_IsOK(res1
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31052 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31054 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31055 if (arg3
== NULL
) SWIG_fail
;
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 (arg1
)->DrawSpline(arg2
,arg3
);
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_Py_Void();
31065 if (arg3
) delete [] arg3
;
31070 if (arg3
) delete [] arg3
;
31076 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31077 PyObject
*resultobj
= 0;
31078 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31081 PyObject
*swig_obj
[1] ;
31083 if (!args
) SWIG_fail
;
31084 swig_obj
[0] = args
;
31085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31086 if (!SWIG_IsOK(res1
)) {
31087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 resultobj
= SWIG_Py_Void();
31103 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
= 0;
31105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31111 PyObject
* obj0
= 0 ;
31112 PyObject
* obj1
= 0 ;
31113 char * kwnames
[] = {
31114 (char *) "self",(char *) "font", NULL
31117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31119 if (!SWIG_IsOK(res1
)) {
31120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31124 if (!SWIG_IsOK(res2
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31130 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 (arg1
)->SetFont((wxFont
const &)*arg2
);
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_Py_Void();
31144 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= 0;
31146 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31152 PyObject
* obj0
= 0 ;
31153 PyObject
* obj1
= 0 ;
31154 char * kwnames
[] = {
31155 (char *) "self",(char *) "pen", NULL
31158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31160 if (!SWIG_IsOK(res1
)) {
31161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31163 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31165 if (!SWIG_IsOK(res2
)) {
31166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31171 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31174 (arg1
)->SetPen((wxPen
const &)*arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= SWIG_Py_Void();
31185 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
= 0;
31187 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31188 wxBrush
*arg2
= 0 ;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 char * kwnames
[] = {
31196 (char *) "self",(char *) "brush", NULL
31199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31201 if (!SWIG_IsOK(res1
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31206 if (!SWIG_IsOK(res2
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31212 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31219 resultobj
= SWIG_Py_Void();
31226 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
= 0;
31228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31229 wxBrush
*arg2
= 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "brush", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31247 if (!SWIG_IsOK(res2
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31253 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 resultobj
= SWIG_Py_Void();
31267 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31268 PyObject
*resultobj
= 0;
31269 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31275 PyObject
* obj0
= 0 ;
31276 PyObject
* obj1
= 0 ;
31277 char * kwnames
[] = {
31278 (char *) "self",(char *) "mode", NULL
31281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31283 if (!SWIG_IsOK(res1
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31286 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31288 if (!SWIG_IsOK(ecode2
)) {
31289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31291 arg2
= static_cast< int >(val2
);
31293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31294 (arg1
)->SetBackgroundMode(arg2
);
31295 wxPyEndAllowThreads(__tstate
);
31296 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= SWIG_Py_Void();
31305 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31306 PyObject
*resultobj
= 0;
31307 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31308 wxPalette
*arg2
= 0 ;
31313 PyObject
* obj0
= 0 ;
31314 PyObject
* obj1
= 0 ;
31315 char * kwnames
[] = {
31316 (char *) "self",(char *) "palette", NULL
31319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31321 if (!SWIG_IsOK(res1
)) {
31322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31324 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31326 if (!SWIG_IsOK(res2
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31332 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_Py_Void();
31346 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
= 0;
31348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31349 wxColour
*arg2
= 0 ;
31353 PyObject
* obj0
= 0 ;
31354 PyObject
* obj1
= 0 ;
31355 char * kwnames
[] = {
31356 (char *) "self",(char *) "colour", NULL
31359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31361 if (!SWIG_IsOK(res1
)) {
31362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
= 0;
31384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31385 wxColour
*arg2
= 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 char * kwnames
[] = {
31392 (char *) "self",(char *) "colour", NULL
31395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= SWIG_Py_Void();
31418 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31419 PyObject
*resultobj
= 0;
31420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31426 PyObject
* obj0
= 0 ;
31427 PyObject
* obj1
= 0 ;
31428 char * kwnames
[] = {
31429 (char *) "self",(char *) "function", NULL
31432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31434 if (!SWIG_IsOK(res1
)) {
31435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31437 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31439 if (!SWIG_IsOK(ecode2
)) {
31440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31442 arg2
= static_cast< int >(val2
);
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 (arg1
)->SetLogicalFunction(arg2
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_Py_Void();
31456 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31460 return SWIG_Py_Void();
31463 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31464 return SWIG_Python_InitShadowInstance(args
);
31467 static PyMethodDef SwigMethods
[] = {
31468 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31469 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31470 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31471 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31472 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31473 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31477 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31478 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31479 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31480 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31481 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31482 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31487 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31491 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31492 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31493 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31495 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31498 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31499 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31500 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31501 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31503 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31504 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31505 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31506 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31507 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31508 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31509 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31516 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
31518 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
31519 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31523 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31524 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31527 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31531 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31532 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31533 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31534 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31535 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31536 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31537 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31539 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
31545 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31547 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31548 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31549 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31550 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31551 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31552 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31553 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31559 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31569 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31570 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31574 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31575 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31576 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31577 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31578 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31579 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31580 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31581 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31582 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31583 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31584 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31585 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31586 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31587 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31588 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31590 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31591 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31597 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31598 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31599 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31600 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31601 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31602 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31603 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31604 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31605 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31606 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31607 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31608 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31610 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31611 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31617 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31618 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31619 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31621 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31622 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31623 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31625 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31626 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
31631 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31633 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31634 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31635 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31636 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31642 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31643 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31645 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31646 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31648 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31650 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31651 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31652 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31653 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31656 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31660 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31661 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31663 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
31666 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31668 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
31669 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
31670 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
31671 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31676 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31677 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31682 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31683 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31689 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31693 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31703 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31707 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31709 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31710 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31711 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31712 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31713 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31714 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31715 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31716 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31717 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31718 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31719 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31720 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31721 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31722 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31723 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31724 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31725 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31727 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
31728 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31729 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31730 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31731 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31732 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31733 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31734 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31744 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31745 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31747 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31748 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31749 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31750 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31751 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31752 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31753 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31754 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31755 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31757 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31758 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31759 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31762 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31763 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31764 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31767 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31773 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31778 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31779 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31781 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31787 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31790 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31791 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31792 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31793 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31794 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31795 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31796 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31797 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31798 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31799 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31800 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31801 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31802 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31814 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31815 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31816 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31818 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31819 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31821 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31822 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31823 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31824 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31828 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31829 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31831 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31832 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31833 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31834 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31835 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31836 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31837 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31838 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31839 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31841 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31844 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31845 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31846 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31847 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31848 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31849 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31850 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31851 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31860 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31861 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31862 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31864 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31868 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31869 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31870 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31871 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31872 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31873 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31879 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31880 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31881 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31930 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31932 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31933 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31934 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31941 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31942 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31943 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31944 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31945 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31950 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31951 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31952 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31953 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31962 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31963 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31964 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31965 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31966 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31967 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31968 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31969 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31970 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31971 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31972 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31973 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31976 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31978 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31980 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31982 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31983 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31986 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31987 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31991 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31993 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31996 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31997 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31998 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31999 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
32000 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
32001 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
32002 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
32010 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
32013 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
32014 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
32015 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
32016 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
32017 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
32019 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
32023 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
32026 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
32028 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
32030 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
32031 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
32033 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
32034 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
32036 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
32037 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
32039 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
32040 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
32042 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
32045 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
32046 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
32047 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
32049 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
32050 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
32052 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
32053 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
32054 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
32055 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
32056 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
32057 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
32059 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
32060 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
32061 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
32063 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
32064 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
32066 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
32074 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
32076 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
32078 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
32079 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
32080 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
32081 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
32082 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
32083 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
32090 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
32091 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
32092 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
32093 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
32094 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
32098 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
32102 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
32106 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
32107 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
32108 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
32113 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
32114 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
32115 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
32116 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
32117 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
32118 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
32119 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
32120 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
32121 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
32122 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
32123 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
32124 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
32133 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
32134 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
32136 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
32137 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
32138 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
32139 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32140 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32141 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32143 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32145 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32146 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32147 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32148 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32159 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32160 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32161 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32163 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32164 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32165 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32166 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32167 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32168 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32169 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32170 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32219 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32229 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32230 { NULL
, NULL
, 0, NULL
}
32234 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32236 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32237 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32239 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32240 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32242 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32243 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32245 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32246 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32248 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32249 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32251 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32252 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32254 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32255 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32257 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32258 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32260 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32261 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32263 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32264 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32266 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32267 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32269 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32270 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32272 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32273 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32275 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32276 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32278 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32279 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32281 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32282 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32284 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32285 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32287 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32288 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32290 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32291 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32293 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32294 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32296 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32297 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32299 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32300 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32302 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32303 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32305 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32306 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32308 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32309 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32311 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32312 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32314 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32317 static void *_p_wxPenTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32320 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32323 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32326 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32329 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32332 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32335 static void *_p_wxIconTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32338 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32341 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32344 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) ((wxSizer
*) x
));
32347 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32350 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32353 static void *_p_wxEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) ((wxEvent
*) x
));
32356 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32359 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32362 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32365 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32368 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32371 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32374 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32377 static void *_p_wxDCTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) ((wxDC
*) x
));
32380 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32383 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32386 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32389 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32392 static void *_p_wxControlTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32395 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32398 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32401 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32404 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32407 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32410 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32413 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32416 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32419 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) ((wxEffects
*) x
));
32422 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32425 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32428 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32431 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32434 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32437 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32440 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32443 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32446 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32449 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32452 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32455 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32458 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32461 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32464 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32467 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32470 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32473 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32476 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32479 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32482 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32485 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32488 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32491 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32494 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32497 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32500 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32503 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32506 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32509 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32512 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32515 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32518 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32521 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32524 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32527 static void *_p_wxImageTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) ((wxImage
*) x
));
32530 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32533 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32536 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32539 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) ((wxImageList
*) x
));
32542 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32545 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32548 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32551 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32554 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32557 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32560 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32563 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32566 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32569 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32572 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32575 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32578 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxMask
*) x
));
32581 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32584 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32587 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32590 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32593 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32596 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32599 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32602 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32605 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32608 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32611 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32614 static void *_p_wxFontTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32617 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32620 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32623 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32626 static void *_p_wxColourTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) ((wxColour
*) x
));
32629 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32632 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32635 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32636 return (void *)((wxWindow
*) ((wxControl
*) x
));
32638 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32639 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32641 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32642 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32644 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32645 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32647 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32648 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32650 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32653 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};
32654 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32670 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32677 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32678 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32679 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32680 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32681 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32692 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32694 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32696 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32697 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32703 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32704 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32705 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32709 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32710 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32711 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32712 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32722 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32723 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32724 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32753 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32754 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32755 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32756 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32757 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32758 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32759 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32760 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32761 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32762 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32763 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32764 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32765 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32766 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32767 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32768 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32769 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32770 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32771 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32772 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32773 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32799 static swig_type_info
*swig_type_initial
[] = {
32803 &_swigt__p_form_ops_t
,
32805 &_swigt__p_unsigned_char
,
32806 &_swigt__p_unsigned_int
,
32807 &_swigt__p_unsigned_long
,
32808 &_swigt__p_wxANIHandler
,
32809 &_swigt__p_wxAcceleratorTable
,
32810 &_swigt__p_wxActivateEvent
,
32811 &_swigt__p_wxAlphaPixelData
,
32812 &_swigt__p_wxAlphaPixelData_Accessor
,
32813 &_swigt__p_wxBMPHandler
,
32814 &_swigt__p_wxBitmap
,
32815 &_swigt__p_wxBoxSizer
,
32816 &_swigt__p_wxBrush
,
32817 &_swigt__p_wxBrushList
,
32818 &_swigt__p_wxBufferedDC
,
32819 &_swigt__p_wxBufferedPaintDC
,
32820 &_swigt__p_wxCURHandler
,
32822 &_swigt__p_wxChildFocusEvent
,
32823 &_swigt__p_wxClientDC
,
32824 &_swigt__p_wxClipboardTextEvent
,
32825 &_swigt__p_wxCloseEvent
,
32826 &_swigt__p_wxColour
,
32827 &_swigt__p_wxColourDatabase
,
32828 &_swigt__p_wxCommandEvent
,
32829 &_swigt__p_wxContextMenuEvent
,
32830 &_swigt__p_wxControl
,
32831 &_swigt__p_wxControlWithItems
,
32832 &_swigt__p_wxCursor
,
32835 &_swigt__p_wxDateEvent
,
32836 &_swigt__p_wxDisplayChangedEvent
,
32837 &_swigt__p_wxDropFilesEvent
,
32838 &_swigt__p_wxDuplexMode
,
32839 &_swigt__p_wxEffects
,
32840 &_swigt__p_wxEncodingConverter
,
32841 &_swigt__p_wxEraseEvent
,
32842 &_swigt__p_wxEvent
,
32843 &_swigt__p_wxEvtHandler
,
32844 &_swigt__p_wxFSFile
,
32845 &_swigt__p_wxFileSystem
,
32846 &_swigt__p_wxFlexGridSizer
,
32847 &_swigt__p_wxFocusEvent
,
32849 &_swigt__p_wxFontList
,
32850 &_swigt__p_wxFontMapper
,
32851 &_swigt__p_wxGBSizerItem
,
32852 &_swigt__p_wxGDIObjListBase
,
32853 &_swigt__p_wxGDIObject
,
32854 &_swigt__p_wxGIFHandler
,
32855 &_swigt__p_wxGridBagSizer
,
32856 &_swigt__p_wxGridSizer
,
32857 &_swigt__p_wxICOHandler
,
32859 &_swigt__p_wxIconBundle
,
32860 &_swigt__p_wxIconLocation
,
32861 &_swigt__p_wxIconizeEvent
,
32862 &_swigt__p_wxIdleEvent
,
32863 &_swigt__p_wxImage
,
32864 &_swigt__p_wxImageHandler
,
32865 &_swigt__p_wxImageList
,
32866 &_swigt__p_wxIndividualLayoutConstraint
,
32867 &_swigt__p_wxInitDialogEvent
,
32868 &_swigt__p_wxJPEGHandler
,
32869 &_swigt__p_wxKeyEvent
,
32870 &_swigt__p_wxLanguageInfo
,
32871 &_swigt__p_wxLayoutConstraints
,
32872 &_swigt__p_wxLocale
,
32874 &_swigt__p_wxMaximizeEvent
,
32875 &_swigt__p_wxMemoryDC
,
32877 &_swigt__p_wxMenuBar
,
32878 &_swigt__p_wxMenuEvent
,
32879 &_swigt__p_wxMenuItem
,
32880 &_swigt__p_wxMetaFile
,
32881 &_swigt__p_wxMetaFileDC
,
32882 &_swigt__p_wxMirrorDC
,
32883 &_swigt__p_wxMouseCaptureChangedEvent
,
32884 &_swigt__p_wxMouseCaptureLostEvent
,
32885 &_swigt__p_wxMouseEvent
,
32886 &_swigt__p_wxMoveEvent
,
32887 &_swigt__p_wxNativeEncodingInfo
,
32888 &_swigt__p_wxNativeFontInfo
,
32889 &_swigt__p_wxNativePixelData
,
32890 &_swigt__p_wxNativePixelData_Accessor
,
32891 &_swigt__p_wxNavigationKeyEvent
,
32892 &_swigt__p_wxNcPaintEvent
,
32893 &_swigt__p_wxNotifyEvent
,
32894 &_swigt__p_wxObject
,
32895 &_swigt__p_wxPCXHandler
,
32896 &_swigt__p_wxPNGHandler
,
32897 &_swigt__p_wxPNMHandler
,
32898 &_swigt__p_wxPaintDC
,
32899 &_swigt__p_wxPaintEvent
,
32900 &_swigt__p_wxPalette
,
32901 &_swigt__p_wxPaletteChangedEvent
,
32902 &_swigt__p_wxPaperSize
,
32904 &_swigt__p_wxPenList
,
32905 &_swigt__p_wxPixelDataBase
,
32906 &_swigt__p_wxPoint
,
32907 &_swigt__p_wxPostScriptDC
,
32908 &_swigt__p_wxPrintData
,
32909 &_swigt__p_wxPrinterDC
,
32910 &_swigt__p_wxPseudoDC
,
32911 &_swigt__p_wxPyApp
,
32912 &_swigt__p_wxPyCommandEvent
,
32913 &_swigt__p_wxPyEvent
,
32914 &_swigt__p_wxPyFontEnumerator
,
32915 &_swigt__p_wxPyImageHandler
,
32916 &_swigt__p_wxPyLocale
,
32917 &_swigt__p_wxPySizer
,
32918 &_swigt__p_wxPyValidator
,
32919 &_swigt__p_wxQueryNewPaletteEvent
,
32921 &_swigt__p_wxRegion
,
32922 &_swigt__p_wxRegionIterator
,
32923 &_swigt__p_wxRendererNative
,
32924 &_swigt__p_wxRendererVersion
,
32925 &_swigt__p_wxScreenDC
,
32926 &_swigt__p_wxScrollEvent
,
32927 &_swigt__p_wxScrollWinEvent
,
32928 &_swigt__p_wxSetCursorEvent
,
32929 &_swigt__p_wxShowEvent
,
32931 &_swigt__p_wxSizeEvent
,
32932 &_swigt__p_wxSizer
,
32933 &_swigt__p_wxSizerItem
,
32934 &_swigt__p_wxSplitterRenderParams
,
32935 &_swigt__p_wxStaticBoxSizer
,
32936 &_swigt__p_wxStdDialogButtonSizer
,
32937 &_swigt__p_wxStockGDI
,
32938 &_swigt__p_wxString
,
32939 &_swigt__p_wxSysColourChangedEvent
,
32940 &_swigt__p_wxTIFFHandler
,
32941 &_swigt__p_wxUpdateUIEvent
,
32942 &_swigt__p_wxValidator
,
32943 &_swigt__p_wxWindow
,
32944 &_swigt__p_wxWindowCreateEvent
,
32945 &_swigt__p_wxWindowDC
,
32946 &_swigt__p_wxWindowDestroyEvent
,
32947 &_swigt__p_wxXPMHandler
,
32950 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32963 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}};
32964 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32970 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}};
32971 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32978 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}};
32979 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}};
32980 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32986 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}};
32987 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32988 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}};
32989 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33072 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}};
33073 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
33078 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}};
33079 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
33092 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33096 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}};
33097 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info
*swig_cast_initial
[] = {
33103 _swigc__p_form_ops_t
,
33105 _swigc__p_unsigned_char
,
33106 _swigc__p_unsigned_int
,
33107 _swigc__p_unsigned_long
,
33108 _swigc__p_wxANIHandler
,
33109 _swigc__p_wxAcceleratorTable
,
33110 _swigc__p_wxActivateEvent
,
33111 _swigc__p_wxAlphaPixelData
,
33112 _swigc__p_wxAlphaPixelData_Accessor
,
33113 _swigc__p_wxBMPHandler
,
33114 _swigc__p_wxBitmap
,
33115 _swigc__p_wxBoxSizer
,
33117 _swigc__p_wxBrushList
,
33118 _swigc__p_wxBufferedDC
,
33119 _swigc__p_wxBufferedPaintDC
,
33120 _swigc__p_wxCURHandler
,
33122 _swigc__p_wxChildFocusEvent
,
33123 _swigc__p_wxClientDC
,
33124 _swigc__p_wxClipboardTextEvent
,
33125 _swigc__p_wxCloseEvent
,
33126 _swigc__p_wxColour
,
33127 _swigc__p_wxColourDatabase
,
33128 _swigc__p_wxCommandEvent
,
33129 _swigc__p_wxContextMenuEvent
,
33130 _swigc__p_wxControl
,
33131 _swigc__p_wxControlWithItems
,
33132 _swigc__p_wxCursor
,
33135 _swigc__p_wxDateEvent
,
33136 _swigc__p_wxDisplayChangedEvent
,
33137 _swigc__p_wxDropFilesEvent
,
33138 _swigc__p_wxDuplexMode
,
33139 _swigc__p_wxEffects
,
33140 _swigc__p_wxEncodingConverter
,
33141 _swigc__p_wxEraseEvent
,
33143 _swigc__p_wxEvtHandler
,
33144 _swigc__p_wxFSFile
,
33145 _swigc__p_wxFileSystem
,
33146 _swigc__p_wxFlexGridSizer
,
33147 _swigc__p_wxFocusEvent
,
33149 _swigc__p_wxFontList
,
33150 _swigc__p_wxFontMapper
,
33151 _swigc__p_wxGBSizerItem
,
33152 _swigc__p_wxGDIObjListBase
,
33153 _swigc__p_wxGDIObject
,
33154 _swigc__p_wxGIFHandler
,
33155 _swigc__p_wxGridBagSizer
,
33156 _swigc__p_wxGridSizer
,
33157 _swigc__p_wxICOHandler
,
33159 _swigc__p_wxIconBundle
,
33160 _swigc__p_wxIconLocation
,
33161 _swigc__p_wxIconizeEvent
,
33162 _swigc__p_wxIdleEvent
,
33164 _swigc__p_wxImageHandler
,
33165 _swigc__p_wxImageList
,
33166 _swigc__p_wxIndividualLayoutConstraint
,
33167 _swigc__p_wxInitDialogEvent
,
33168 _swigc__p_wxJPEGHandler
,
33169 _swigc__p_wxKeyEvent
,
33170 _swigc__p_wxLanguageInfo
,
33171 _swigc__p_wxLayoutConstraints
,
33172 _swigc__p_wxLocale
,
33174 _swigc__p_wxMaximizeEvent
,
33175 _swigc__p_wxMemoryDC
,
33177 _swigc__p_wxMenuBar
,
33178 _swigc__p_wxMenuEvent
,
33179 _swigc__p_wxMenuItem
,
33180 _swigc__p_wxMetaFile
,
33181 _swigc__p_wxMetaFileDC
,
33182 _swigc__p_wxMirrorDC
,
33183 _swigc__p_wxMouseCaptureChangedEvent
,
33184 _swigc__p_wxMouseCaptureLostEvent
,
33185 _swigc__p_wxMouseEvent
,
33186 _swigc__p_wxMoveEvent
,
33187 _swigc__p_wxNativeEncodingInfo
,
33188 _swigc__p_wxNativeFontInfo
,
33189 _swigc__p_wxNativePixelData
,
33190 _swigc__p_wxNativePixelData_Accessor
,
33191 _swigc__p_wxNavigationKeyEvent
,
33192 _swigc__p_wxNcPaintEvent
,
33193 _swigc__p_wxNotifyEvent
,
33194 _swigc__p_wxObject
,
33195 _swigc__p_wxPCXHandler
,
33196 _swigc__p_wxPNGHandler
,
33197 _swigc__p_wxPNMHandler
,
33198 _swigc__p_wxPaintDC
,
33199 _swigc__p_wxPaintEvent
,
33200 _swigc__p_wxPalette
,
33201 _swigc__p_wxPaletteChangedEvent
,
33202 _swigc__p_wxPaperSize
,
33204 _swigc__p_wxPenList
,
33205 _swigc__p_wxPixelDataBase
,
33207 _swigc__p_wxPostScriptDC
,
33208 _swigc__p_wxPrintData
,
33209 _swigc__p_wxPrinterDC
,
33210 _swigc__p_wxPseudoDC
,
33212 _swigc__p_wxPyCommandEvent
,
33213 _swigc__p_wxPyEvent
,
33214 _swigc__p_wxPyFontEnumerator
,
33215 _swigc__p_wxPyImageHandler
,
33216 _swigc__p_wxPyLocale
,
33217 _swigc__p_wxPySizer
,
33218 _swigc__p_wxPyValidator
,
33219 _swigc__p_wxQueryNewPaletteEvent
,
33221 _swigc__p_wxRegion
,
33222 _swigc__p_wxRegionIterator
,
33223 _swigc__p_wxRendererNative
,
33224 _swigc__p_wxRendererVersion
,
33225 _swigc__p_wxScreenDC
,
33226 _swigc__p_wxScrollEvent
,
33227 _swigc__p_wxScrollWinEvent
,
33228 _swigc__p_wxSetCursorEvent
,
33229 _swigc__p_wxShowEvent
,
33231 _swigc__p_wxSizeEvent
,
33233 _swigc__p_wxSizerItem
,
33234 _swigc__p_wxSplitterRenderParams
,
33235 _swigc__p_wxStaticBoxSizer
,
33236 _swigc__p_wxStdDialogButtonSizer
,
33237 _swigc__p_wxStockGDI
,
33238 _swigc__p_wxString
,
33239 _swigc__p_wxSysColourChangedEvent
,
33240 _swigc__p_wxTIFFHandler
,
33241 _swigc__p_wxUpdateUIEvent
,
33242 _swigc__p_wxValidator
,
33243 _swigc__p_wxWindow
,
33244 _swigc__p_wxWindowCreateEvent
,
33245 _swigc__p_wxWindowDC
,
33246 _swigc__p_wxWindowDestroyEvent
,
33247 _swigc__p_wxXPMHandler
,
33251 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33253 static swig_const_info swig_const_table
[] = {
33254 {0, 0, 0, 0.0, 0, 0}};
33259 /* -----------------------------------------------------------------------------
33260 * Type initialization:
33261 * This problem is tough by the requirement that no dynamic
33262 * memory is used. Also, since swig_type_info structures store pointers to
33263 * swig_cast_info structures and swig_cast_info structures store pointers back
33264 * to swig_type_info structures, we need some lookup code at initialization.
33265 * The idea is that swig generates all the structures that are needed.
33266 * The runtime then collects these partially filled structures.
33267 * The SWIG_InitializeModule function takes these initial arrays out of
33268 * swig_module, and does all the lookup, filling in the swig_module.types
33269 * array with the correct data and linking the correct swig_cast_info
33270 * structures together.
33272 * The generated swig_type_info structures are assigned staticly to an initial
33273 * array. We just loop though that array, and handle each type individually.
33274 * First we lookup if this type has been already loaded, and if so, use the
33275 * loaded structure instead of the generated one. Then we have to fill in the
33276 * cast linked list. The cast data is initially stored in something like a
33277 * two-dimensional array. Each row corresponds to a type (there are the same
33278 * number of rows as there are in the swig_type_initial array). Each entry in
33279 * a column is one of the swig_cast_info structures for that type.
33280 * The cast_initial array is actually an array of arrays, because each row has
33281 * a variable number of columns. So to actually build the cast linked list,
33282 * we find the array of casts associated with the type, and loop through it
33283 * adding the casts to the list. The one last trick we need to do is making
33284 * sure the type pointer in the swig_cast_info struct is correct.
33286 * First off, we lookup the cast->type name to see if it is already loaded.
33287 * There are three cases to handle:
33288 * 1) If the cast->type has already been loaded AND the type we are adding
33289 * casting info to has not been loaded (it is in this module), THEN we
33290 * replace the cast->type pointer with the type pointer that has already
33292 * 2) If BOTH types (the one we are adding casting info to, and the
33293 * cast->type) are loaded, THEN the cast info has already been loaded by
33294 * the previous module so we just ignore it.
33295 * 3) Finally, if cast->type has not already been loaded, then we add that
33296 * swig_cast_info to the linked list (because the cast->type) pointer will
33298 * ----------------------------------------------------------------------------- */
33308 #define SWIGRUNTIME_DEBUG
33312 SWIG_InitializeModule(void *clientdata
) {
33314 swig_module_info
*module_head
;
33315 static int init_run
= 0;
33317 clientdata
= clientdata
;
33319 if (init_run
) return;
33322 /* Initialize the swig_module */
33323 swig_module
.type_initial
= swig_type_initial
;
33324 swig_module
.cast_initial
= swig_cast_initial
;
33326 /* Try and load any already created modules */
33327 module_head
= SWIG_GetModule(clientdata
);
33329 swig_module
.next
= module_head
->next
;
33330 module_head
->next
= &swig_module
;
33332 /* This is the first module loaded */
33333 swig_module
.next
= &swig_module
;
33334 SWIG_SetModule(clientdata
, &swig_module
);
33337 /* Now work on filling in swig_module.types */
33338 #ifdef SWIGRUNTIME_DEBUG
33339 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33341 for (i
= 0; i
< swig_module
.size
; ++i
) {
33342 swig_type_info
*type
= 0;
33343 swig_type_info
*ret
;
33344 swig_cast_info
*cast
;
33346 #ifdef SWIGRUNTIME_DEBUG
33347 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33350 /* if there is another module already loaded */
33351 if (swig_module
.next
!= &swig_module
) {
33352 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33355 /* Overwrite clientdata field */
33356 #ifdef SWIGRUNTIME_DEBUG
33357 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33359 if (swig_module
.type_initial
[i
]->clientdata
) {
33360 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33361 #ifdef SWIGRUNTIME_DEBUG
33362 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33366 type
= swig_module
.type_initial
[i
];
33369 /* Insert casting types */
33370 cast
= swig_module
.cast_initial
[i
];
33371 while (cast
->type
) {
33372 /* Don't need to add information already in the list */
33374 #ifdef SWIGRUNTIME_DEBUG
33375 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33377 if (swig_module
.next
!= &swig_module
) {
33378 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33379 #ifdef SWIGRUNTIME_DEBUG
33380 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33384 if (type
== swig_module
.type_initial
[i
]) {
33385 #ifdef SWIGRUNTIME_DEBUG
33386 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33391 /* Check for casting already in the list */
33392 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33393 #ifdef SWIGRUNTIME_DEBUG
33394 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33396 if (!ocast
) ret
= 0;
33401 #ifdef SWIGRUNTIME_DEBUG
33402 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33405 type
->cast
->prev
= cast
;
33406 cast
->next
= type
->cast
;
33412 /* Set entry in modules->types array equal to the type */
33413 swig_module
.types
[i
] = type
;
33415 swig_module
.types
[i
] = 0;
33417 #ifdef SWIGRUNTIME_DEBUG
33418 printf("**** SWIG_InitializeModule: Cast List ******\n");
33419 for (i
= 0; i
< swig_module
.size
; ++i
) {
33421 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33422 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33423 while (cast
->type
) {
33424 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33428 printf("---- Total casts: %d\n",j
);
33430 printf("**** SWIG_InitializeModule: Cast List ******\n");
33434 /* This function will propagate the clientdata field of type to
33435 * any new swig_type_info structures that have been added into the list
33436 * of equivalent types. It is like calling
33437 * SWIG_TypeClientData(type, clientdata) a second time.
33440 SWIG_PropagateClientData(void) {
33442 swig_cast_info
*equiv
;
33443 static int init_run
= 0;
33445 if (init_run
) return;
33448 for (i
= 0; i
< swig_module
.size
; i
++) {
33449 if (swig_module
.types
[i
]->clientdata
) {
33450 equiv
= swig_module
.types
[i
]->cast
;
33452 if (!equiv
->converter
) {
33453 if (equiv
->type
&& !equiv
->type
->clientdata
)
33454 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33456 equiv
= equiv
->next
;
33476 /* Python-specific SWIG API */
33477 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33478 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33479 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33481 /* -----------------------------------------------------------------------------
33482 * global variable support code.
33483 * ----------------------------------------------------------------------------- */
33485 typedef struct swig_globalvar
{
33486 char *name
; /* Name of global variable */
33487 PyObject
*(*get_attr
)(void); /* Return the current value */
33488 int (*set_attr
)(PyObject
*); /* Set the value */
33489 struct swig_globalvar
*next
;
33492 typedef struct swig_varlinkobject
{
33494 swig_globalvar
*vars
;
33495 } swig_varlinkobject
;
33497 SWIGINTERN PyObject
*
33498 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33499 return PyString_FromString("<Swig global variables>");
33502 SWIGINTERN PyObject
*
33503 swig_varlink_str(swig_varlinkobject
*v
) {
33504 PyObject
*str
= PyString_FromString("(");
33505 swig_globalvar
*var
;
33506 for (var
= v
->vars
; var
; var
=var
->next
) {
33507 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33508 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33510 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33515 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33516 PyObject
*str
= swig_varlink_str(v
);
33517 fprintf(fp
,"Swig global variables ");
33518 fprintf(fp
,"%s\n", PyString_AsString(str
));
33524 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33525 swig_globalvar
*var
= v
->vars
;
33527 swig_globalvar
*n
= var
->next
;
33534 SWIGINTERN PyObject
*
33535 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33536 PyObject
*res
= NULL
;
33537 swig_globalvar
*var
= v
->vars
;
33539 if (strcmp(var
->name
,n
) == 0) {
33540 res
= (*var
->get_attr
)();
33545 if (res
== NULL
&& !PyErr_Occurred()) {
33546 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33552 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33554 swig_globalvar
*var
= v
->vars
;
33556 if (strcmp(var
->name
,n
) == 0) {
33557 res
= (*var
->set_attr
)(p
);
33562 if (res
== 1 && !PyErr_Occurred()) {
33563 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33568 SWIGINTERN PyTypeObject
*
33569 swig_varlink_type(void) {
33570 static char varlink__doc__
[] = "Swig var link object";
33571 static PyTypeObject varlink_type
;
33572 static int type_init
= 0;
33574 const PyTypeObject tmp
33576 PyObject_HEAD_INIT(NULL
)
33577 0, /* Number of items in variable part (ob_size) */
33578 (char *)"swigvarlink", /* Type name (tp_name) */
33579 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33580 0, /* Itemsize (tp_itemsize) */
33581 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33582 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33583 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33584 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33585 0, /* tp_compare */
33586 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33587 0, /* tp_as_number */
33588 0, /* tp_as_sequence */
33589 0, /* tp_as_mapping */
33592 (reprfunc
)swig_varlink_str
, /* tp_str */
33593 0, /* tp_getattro */
33594 0, /* tp_setattro */
33595 0, /* tp_as_buffer */
33597 varlink__doc__
, /* tp_doc */
33598 0, /* tp_traverse */
33600 0, /* tp_richcompare */
33601 0, /* tp_weaklistoffset */
33602 #if PY_VERSION_HEX >= 0x02020000
33603 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33605 #if PY_VERSION_HEX >= 0x02030000
33608 #ifdef COUNT_ALLOCS
33609 0,0,0,0 /* tp_alloc -> tp_next */
33612 varlink_type
= tmp
;
33613 varlink_type
.ob_type
= &PyType_Type
;
33616 return &varlink_type
;
33619 /* Create a variable linking object for use later */
33620 SWIGINTERN PyObject
*
33621 SWIG_Python_newvarlink(void) {
33622 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33626 return ((PyObject
*) result
);
33630 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33631 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33632 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33634 size_t size
= strlen(name
)+1;
33635 gv
->name
= (char *)malloc(size
);
33637 strncpy(gv
->name
,name
,size
);
33638 gv
->get_attr
= get_attr
;
33639 gv
->set_attr
= set_attr
;
33640 gv
->next
= v
->vars
;
33646 SWIGINTERN PyObject
*
33648 static PyObject
*_SWIG_globals
= 0;
33649 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33650 return _SWIG_globals
;
33653 /* -----------------------------------------------------------------------------
33654 * constants/methods manipulation
33655 * ----------------------------------------------------------------------------- */
33657 /* Install Constants */
33659 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33662 for (i
= 0; constants
[i
].type
; ++i
) {
33663 switch(constants
[i
].type
) {
33664 case SWIG_PY_POINTER
:
33665 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33667 case SWIG_PY_BINARY
:
33668 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33675 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33681 /* -----------------------------------------------------------------------------*/
33682 /* Fix SwigMethods to carry the callback ptrs when needed */
33683 /* -----------------------------------------------------------------------------*/
33686 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33687 swig_const_info
*const_table
,
33688 swig_type_info
**types
,
33689 swig_type_info
**types_initial
) {
33691 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33692 const char *c
= methods
[i
].ml_doc
;
33693 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33695 swig_const_info
*ci
= 0;
33696 const char *name
= c
+ 10;
33697 for (j
= 0; const_table
[j
].type
; ++j
) {
33698 if (strncmp(const_table
[j
].name
, name
,
33699 strlen(const_table
[j
].name
)) == 0) {
33700 ci
= &(const_table
[j
]);
33705 size_t shift
= (ci
->ptype
) - types
;
33706 swig_type_info
*ty
= types_initial
[shift
];
33707 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33708 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33709 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33712 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33714 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33716 strncpy(buff
, "swig_ptr: ", 10);
33718 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33719 methods
[i
].ml_doc
= ndoc
;
33731 /* -----------------------------------------------------------------------------*
33732 * Partial Init method
33733 * -----------------------------------------------------------------------------*/
33738 SWIGEXPORT
void SWIG_init(void) {
33741 /* Fix SwigMethods to carry the callback ptrs when needed */
33742 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33744 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33745 d
= PyModule_GetDict(m
);
33747 SWIG_InitializeModule(0);
33748 SWIG_InstallConstants(d
,swig_const_table
);
33751 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33752 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33753 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33754 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33755 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33756 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33757 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33758 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33759 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33760 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33761 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33762 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33763 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33764 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33765 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33766 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33767 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33768 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33769 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33770 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33771 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33772 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33773 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33774 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33775 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33776 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33777 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33778 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33779 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33780 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33781 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33782 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33783 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33784 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33785 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33786 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33787 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33788 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33789 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33790 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33791 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33792 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33793 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33794 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33795 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33796 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33797 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33798 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33799 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33800 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33801 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33802 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33803 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33804 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33805 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33806 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33807 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33808 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33809 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33810 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33811 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33812 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33813 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33814 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33815 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33816 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33817 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33818 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33819 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33820 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33821 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33822 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33823 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33824 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33825 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33826 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33827 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33828 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33829 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33830 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33831 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33832 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33833 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33834 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33835 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33843 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33844 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33845 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33846 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33847 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33848 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33849 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33855 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33856 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33857 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33876 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33877 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33878 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33879 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33880 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33881 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33882 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33884 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33886 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33887 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33888 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33889 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33890 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33891 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33892 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33893 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33894 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33895 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33896 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33897 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33898 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33899 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33900 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33901 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33902 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33903 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33904 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33905 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33906 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33907 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33908 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33909 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33910 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33911 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33912 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33913 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33914 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33915 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33916 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33917 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33918 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33919 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33920 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33921 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33922 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33923 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33924 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33925 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33926 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33927 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33928 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33929 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33930 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33931 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33932 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33933 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33934 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33935 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33936 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33937 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33938 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33939 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33940 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33941 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33942 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33943 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33944 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33945 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33946 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33947 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33948 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33949 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33950 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33951 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33952 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33953 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33954 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33955 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33956 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33957 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33958 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33959 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33960 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33961 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33962 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33963 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33964 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33965 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33966 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33967 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33968 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33969 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33970 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33971 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33972 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33973 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33974 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33975 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33976 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33977 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33978 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33979 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33980 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33981 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33982 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33983 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33984 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33985 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33986 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33987 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33988 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33989 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33990 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33991 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33992 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33993 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33994 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33995 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33996 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33997 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33998 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33999 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
34000 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
34001 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
34002 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
34003 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
34004 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
34005 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
34006 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
34007 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
34008 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
34009 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
34010 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
34011 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
34012 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
34013 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
34014 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
34015 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
34016 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
34017 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
34018 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
34019 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
34020 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
34021 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
34022 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
34023 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
34024 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
34025 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
34026 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
34027 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
34028 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
34029 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
34030 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
34031 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
34032 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
34033 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
34034 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
34035 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
34036 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
34037 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
34038 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
34039 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
34040 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
34041 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
34042 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
34043 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
34044 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
34045 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
34046 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
34047 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
34048 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
34049 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
34050 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
34051 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
34052 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
34053 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
34054 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
34055 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
34056 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
34057 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
34058 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
34059 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
34060 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
34061 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
34062 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
34063 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
34064 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
34065 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
34066 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
34067 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
34068 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
34069 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
34070 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
34071 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
34072 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
34073 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
34074 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
34075 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
34076 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
34077 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
34078 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
34079 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
34080 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
34081 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
34082 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
34083 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
34084 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
34085 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
34086 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
34087 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
34088 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
34089 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
34090 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
34091 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
34092 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
34093 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
34094 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
34095 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
34096 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
34097 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
34098 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
34099 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
34100 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
34101 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
34102 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
34103 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
34104 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
34105 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
34106 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
34107 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
34108 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
34109 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
34110 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
34111 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
34112 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
34113 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
34114 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
34115 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34116 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34117 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34118 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34119 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34120 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34121 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34122 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34123 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34124 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34125 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34126 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34127 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34128 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34129 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34130 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34131 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34132 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34133 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34134 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34135 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34136 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34137 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34138 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34139 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34140 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34141 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34142 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34143 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34144 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34145 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34146 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34147 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34148 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34149 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34150 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34151 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34152 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34153 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34154 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34155 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34156 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34157 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34158 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34159 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34160 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34161 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34162 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34163 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34164 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34165 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34166 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34167 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34168 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34169 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34170 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34171 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34172 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34173 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34174 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34175 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34176 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34177 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34178 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34179 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34180 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34181 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34182 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34183 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34184 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34185 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34186 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34187 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34188 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34189 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34190 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34191 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34192 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34193 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34194 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34195 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34196 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34197 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34198 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34199 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34201 // Work around a chicken/egg problem in drawlist.cpp
34202 wxPyDrawList_SetAPIPtr();