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 wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2946 wxSize
size(self
->GetWidth(), self
->GetHeight());
2949 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2950 wxMask
*mask
= new wxMask(*self
, colour
);
2951 self
->SetMask(mask
);
2953 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2954 self
->SetWidth(size
.x
);
2955 self
->SetHeight(size
.y
);
2957 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2958 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2960 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2961 // appears to me that the other platforms are already doing it, so I'll just
2962 // automatically do it for wxMSW here.
2964 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2965 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2967 #define wxPy_premultiply(p, a) (p)
2968 #define wxPy_unpremultiply(p, a) (p)
2972 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2973 buffer data
, int DATASIZE
,
2974 buffer alpha
, int ALPHASIZE
)
2976 if (DATASIZE
!= width
*height
*3) {
2977 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2981 if (ALPHASIZE
!= width
*height
) {
2982 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2986 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2987 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2989 // raise an exception...
2990 wxPyErr_SetString(PyExc_RuntimeError
,
2991 "Failed to gain raw access to bitmap data.");
2996 wxAlphaPixelData::Iterator
p(pixData
);
2997 for (int y
=0; y
<height
; y
++) {
2998 wxAlphaPixelData::Iterator rowStart
= p
;
2999 for (int x
=0; x
<width
; x
++) {
3000 byte a
= *(alpha
++);
3001 p
.Red() = wxPy_premultiply(*(data
++), a
);
3002 p
.Green() = wxPy_premultiply(*(data
++), a
);
3003 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3008 p
.OffsetY(pixData
, 1);
3013 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3015 if (DATASIZE
!= width
*height
*3) {
3016 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3020 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3021 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3045 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3047 if (DATASIZE
!= width
*height
*4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3052 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3053 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3055 // raise an exception...
3056 wxPyErr_SetString(PyExc_RuntimeError
,
3057 "Failed to gain raw access to bitmap data.");
3062 wxAlphaPixelData::Iterator
p(pixData
);
3063 for (int y
=0; y
<height
; y
++) {
3064 wxAlphaPixelData::Iterator rowStart
= p
;
3065 for (int x
=0; x
<width
; x
++) {
3067 p
.Red() = wxPy_premultiply(*(data
++), a
);
3068 p
.Green() = wxPy_premultiply(*(data
++), a
);
3069 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3070 p
.Alpha() = a
; data
++;
3074 p
.OffsetY(pixData
, 1);
3080 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3082 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3083 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3084 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3086 self
->Green() = green
;
3087 self
->Blue() = blue
;
3089 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3090 PyObject
* rv
= PyTuple_New(3);
3091 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3092 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3093 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3097 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3099 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3100 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3101 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3102 self
->Red() = wxPy_premultiply(red
, alpha
);
3103 self
->Green() = wxPy_premultiply(green
, alpha
);
3104 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3105 self
->Alpha() = alpha
;
3107 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3108 PyObject
* rv
= PyTuple_New(4);
3109 int red
= self
->Red();
3110 int green
= self
->Green();
3111 int blue
= self
->Blue();
3112 int alpha
= self
->Alpha();
3114 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3115 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3116 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3117 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3120 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3122 return new wxMask(bitmap
, *wxBLACK
);
3124 return new wxMask(bitmap
, colour
);
3127 #include <wx/iconbndl.h>
3129 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3130 wxIcon
* icon
= new wxIcon();
3131 icon
->CopyFromBitmap(bmp
);
3134 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3135 char** cArray
= NULL
;
3138 cArray
= ConvertListOfStrings(listOfStrings
);
3141 icon
= new wxIcon(cArray
);
3145 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3149 return new wxIconLocation(*filename
);
3152 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3159 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3166 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3168 wxImage
img(cursorName
, type
);
3169 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3170 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3171 return new wxCursor(img
);
3173 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3178 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3181 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3182 return self
->operator bool();
3185 #include <wx/fontutil.h>
3186 #include <wx/fontmap.h>
3187 #include <wx/fontenum.h>
3189 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3190 return self
->ToString();
3193 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3194 static wxNativeEncodingInfo info
;
3195 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3202 SWIGINTERNINLINE PyObject
*
3203 SWIG_From_size_t (size_t value
)
3205 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3209 SWIGINTERNINLINE
int
3210 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3213 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3214 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3218 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3219 wxFontEncoding alt_enc
;
3220 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3221 return PyInt_FromLong(alt_enc
);
3227 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3228 wxNativeFontInfo nfi
;
3229 nfi
.FromString(info
);
3230 return new wxFont(nfi
);
3232 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3233 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3235 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3236 return wxFontBase::New(pixelSize
, family
,
3237 style
, weight
, underlined
,
3240 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3241 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3243 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3244 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3246 class wxPyFontEnumerator
: public wxFontEnumerator
{
3248 wxPyFontEnumerator() {}
3249 ~wxPyFontEnumerator() {}
3251 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3252 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3257 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3258 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3261 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3263 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3264 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3265 ret
= wxArrayString2PyList_helper(arr
);
3266 wxPyEndBlockThreads(blocked
);
3269 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3271 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3272 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3273 ret
= wxArrayString2PyList_helper(arr
);
3274 wxPyEndBlockThreads(blocked
);
3280 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3283 loc
= new wxLocale();
3285 loc
= new wxLocale(language
, flags
);
3286 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3287 // for the floating point conversions and such to work right.
3288 #if PY_VERSION_HEX < 0x02040000
3289 setlocale(LC_NUMERIC
, "C");
3293 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3294 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3295 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3296 // for the floating point conversions and such to work right.
3297 #if PY_VERSION_HEX < 0x02040000
3298 setlocale(LC_NUMERIC
, "C");
3302 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3303 bool rc
= self
->Init(language
, flags
);
3304 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3305 // for the floating point conversions and such to work right.
3306 #if PY_VERSION_HEX < 0x02040000
3307 setlocale(LC_NUMERIC
, "C");
3312 class wxPyLocale
: public wxLocale
3317 wxPyLocale(const wxChar
*szName
, // name (for messages)
3318 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3319 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3320 bool bLoadDefault
= true, // preload wxstd.mo?
3321 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3323 wxPyLocale(int language
, // wxLanguage id or custom language
3324 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3328 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3329 const wxChar
*szDomain
= NULL
) const;
3330 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3331 const wxChar
*szOrigString2
, size_t n
,
3332 const wxChar
*szDomain
= NULL
) const;
3334 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3335 const wxChar
*szDomain
= NULL
) const;
3336 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3337 const wxChar
*szOrigString2
, size_t n
,
3338 const wxChar
*szDomain
= NULL
) const;
3342 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3345 wxPyLocale::wxPyLocale() : wxLocale()
3349 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3350 const wxChar
*szShort
, // dir prefix (for msg files)
3351 const wxChar
*szLocale
, // locale (for setlocale)
3352 bool bLoadDefault
, // preload wxstd.mo?
3353 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3354 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3358 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3359 int flags
) : wxLocale(language
, flags
)
3363 wxPyLocale::~wxPyLocale()
3367 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3368 const wxChar
*szDomain
) const
3370 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3371 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3374 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3375 const wxChar
*szOrigString2
, size_t n
,
3376 const wxChar
*szDomain
) const
3378 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3379 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3382 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3383 const wxChar
*szDomain
) const
3386 static wxString str
;
3387 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.
3388 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3389 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3390 PyObject
* param1
= wx2PyString(szOrigString
);
3391 PyObject
* param2
= wx2PyString(szDomain
);
3392 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3396 str
= Py2wxString(ret
);
3400 wxPyEndBlockThreads(blocked
);
3401 return (found
? (wxChar
*)str
.c_str() : NULL
);
3404 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3405 const wxChar
*szOrigString2
, size_t n
,
3406 const wxChar
*szDomain
) const
3409 static wxString str
;
3410 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.
3411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3412 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3413 PyObject
* param1
= wx2PyString(szOrigString
);
3414 PyObject
* param2
= wx2PyString(szOrigString2
);
3415 PyObject
* param4
= wx2PyString(szDomain
);
3416 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3421 str
= Py2wxString(ret
);
3425 wxPyEndBlockThreads(blocked
);
3426 return (found
? (wxChar
*)str
.c_str() : NULL
);
3429 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3432 loc
= new wxPyLocale();
3434 loc
= new wxPyLocale(language
, flags
);
3435 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3436 // for the floating point conversions and such to work right.
3437 #if PY_VERSION_HEX < 0x02040000
3438 setlocale(LC_NUMERIC
, "C");
3443 #include "wx/wxPython/pydrawxxx.h"
3445 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3447 self
->GetPixel(x
, y
, &col
);
3450 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3452 self
->GetPixel(pt
, &col
);
3457 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3459 if (PyNumber_Check(obj
)) {
3460 if (val
) *val
= PyFloat_AsDouble(obj
);
3463 return SWIG_TypeError
;
3466 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3468 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3471 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3473 self
->GetClippingBox(rect
);
3476 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3478 self
->GetPartialTextExtents(text
, widths
);
3482 #define SWIG_From_double PyFloat_FromDouble
3484 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3485 self
->SetLogicalOrigin(point
.x
, point
.y
);
3487 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3488 self
->SetDeviceOrigin(point
.x
, point
.y
);
3490 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3491 self
->CalcBoundingBox(point
.x
, point
.y
);
3493 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3494 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3496 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3497 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3499 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3500 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3502 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3503 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3505 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3506 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3508 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3509 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3512 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3520 #include <wx/dcbuffer.h>
3523 #include <wx/dcps.h>
3526 class wxMetaFile
: public wxObject
{
3528 wxMetaFile(const wxString
&)
3529 { wxPyRaiseNotImplemented(); }
3532 class wxMetaFileDC
: public wxClientDC
{
3534 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3535 { wxPyRaiseNotImplemented(); }
3540 class wxPrinterDC
: public wxClientDC
{
3542 wxPrinterDC(const wxPrintData
&)
3543 { wxPyRaiseNotImplemented(); }
3549 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3550 self
->AddColour(name
, wxColour(red
, green
, blue
));
3553 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3554 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3555 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3556 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3559 #include <wx/effects.h>
3562 #include "wx/renderer.h"
3565 SWIGINTERNINLINE PyObject
*
3566 SWIG_From_bool (bool value
)
3568 return PyBool_FromLong(value
? 1 : 0);
3572 #include "wx/wxPython/pseudodc.h"
3574 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3576 self
->GetIdBounds(id
, rect
);
3582 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3583 PyObject
*resultobj
= 0;
3584 wxGDIObject
*result
= 0 ;
3586 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3588 if (!wxPyCheckForApp()) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (wxGDIObject
*)new wxGDIObject();
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) SWIG_fail
;
3594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3601 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3602 PyObject
*resultobj
= 0;
3603 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3606 PyObject
*swig_obj
[1] ;
3608 if (!args
) SWIG_fail
;
3610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3611 if (!SWIG_IsOK(res1
)) {
3612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3614 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= SWIG_Py_Void();
3629 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3630 PyObject
*resultobj
= 0;
3631 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3635 PyObject
*swig_obj
[1] ;
3637 if (!args
) SWIG_fail
;
3639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3640 if (!SWIG_IsOK(res1
)) {
3641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3643 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (bool)(arg1
)->IsNull();
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3659 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3662 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3663 return SWIG_Py_Void();
3666 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3667 return SWIG_Python_InitShadowInstance(args
);
3670 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
= 0;
3672 byte arg1
= (byte
) 0 ;
3673 byte arg2
= (byte
) 0 ;
3674 byte arg3
= (byte
) 0 ;
3675 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3676 wxColour
*result
= 0 ;
3677 unsigned char val1
;
3679 unsigned char val2
;
3681 unsigned char val3
;
3683 unsigned char val4
;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3687 PyObject
* obj2
= 0 ;
3688 PyObject
* obj3
= 0 ;
3689 char * kwnames
[] = {
3690 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3695 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3696 if (!SWIG_IsOK(ecode1
)) {
3697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3699 arg1
= static_cast< byte
>(val1
);
3702 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3703 if (!SWIG_IsOK(ecode2
)) {
3704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3706 arg2
= static_cast< byte
>(val2
);
3709 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3710 if (!SWIG_IsOK(ecode3
)) {
3711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3713 arg3
= static_cast< byte
>(val3
);
3716 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3717 if (!SWIG_IsOK(ecode4
)) {
3718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3720 arg4
= static_cast< byte
>(val4
);
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3735 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
= 0;
3737 wxString
*arg1
= 0 ;
3738 wxColour
*result
= 0 ;
3739 bool temp1
= false ;
3740 PyObject
* obj0
= 0 ;
3741 char * kwnames
[] = {
3742 (char *) "colorName", NULL
3745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3747 arg1
= wxString_in_helper(obj0
);
3748 if (arg1
== NULL
) SWIG_fail
;
3752 if (!wxPyCheckForApp()) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3773 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
= 0;
3775 unsigned long arg1
;
3776 wxColour
*result
= 0 ;
3777 unsigned long val1
;
3779 PyObject
* obj0
= 0 ;
3780 char * kwnames
[] = {
3781 (char *) "colRGB", NULL
3784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3785 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3786 if (!SWIG_IsOK(ecode1
)) {
3787 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3789 arg1
= static_cast< unsigned long >(val1
);
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (wxColour
*)new wxColour(arg1
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3803 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3804 PyObject
*resultobj
= 0;
3805 wxColour
*arg1
= (wxColour
*) 0 ;
3808 PyObject
*swig_obj
[1] ;
3810 if (!args
) SWIG_fail
;
3812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3813 if (!SWIG_IsOK(res1
)) {
3814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3816 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_Py_Void();
3831 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3832 PyObject
*resultobj
= 0;
3833 wxColour
*arg1
= (wxColour
*) 0 ;
3837 PyObject
*swig_obj
[1] ;
3839 if (!args
) SWIG_fail
;
3841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3842 if (!SWIG_IsOK(res1
)) {
3843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3845 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (byte
)(arg1
)->Red();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3859 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxColour
*arg1
= (wxColour
*) 0 ;
3865 PyObject
*swig_obj
[1] ;
3867 if (!args
) SWIG_fail
;
3869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3870 if (!SWIG_IsOK(res1
)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3873 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (byte
)(arg1
)->Green();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3887 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3888 PyObject
*resultobj
= 0;
3889 wxColour
*arg1
= (wxColour
*) 0 ;
3893 PyObject
*swig_obj
[1] ;
3895 if (!args
) SWIG_fail
;
3897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3898 if (!SWIG_IsOK(res1
)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3901 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 result
= (byte
)(arg1
)->Blue();
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3915 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3916 PyObject
*resultobj
= 0;
3917 wxColour
*arg1
= (wxColour
*) 0 ;
3921 PyObject
*swig_obj
[1] ;
3923 if (!args
) SWIG_fail
;
3925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3926 if (!SWIG_IsOK(res1
)) {
3927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3929 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= (byte
)(arg1
)->Alpha();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3943 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3944 PyObject
*resultobj
= 0;
3945 wxColour
*arg1
= (wxColour
*) 0 ;
3949 PyObject
*swig_obj
[1] ;
3951 if (!args
) SWIG_fail
;
3953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3954 if (!SWIG_IsOK(res1
)) {
3955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3957 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 result
= (bool)(arg1
)->Ok();
3961 wxPyEndAllowThreads(__tstate
);
3962 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3973 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
*resultobj
= 0;
3975 wxColour
*arg1
= (wxColour
*) 0 ;
3979 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3982 unsigned char val2
;
3984 unsigned char val3
;
3986 unsigned char val4
;
3988 unsigned char val5
;
3990 PyObject
* obj0
= 0 ;
3991 PyObject
* obj1
= 0 ;
3992 PyObject
* obj2
= 0 ;
3993 PyObject
* obj3
= 0 ;
3994 PyObject
* obj4
= 0 ;
3995 char * kwnames
[] = {
3996 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4001 if (!SWIG_IsOK(res1
)) {
4002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4004 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4005 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4006 if (!SWIG_IsOK(ecode2
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4009 arg2
= static_cast< byte
>(val2
);
4010 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4011 if (!SWIG_IsOK(ecode3
)) {
4012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4014 arg3
= static_cast< byte
>(val3
);
4015 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4016 if (!SWIG_IsOK(ecode4
)) {
4017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4019 arg4
= static_cast< byte
>(val4
);
4021 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4022 if (!SWIG_IsOK(ecode5
)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4025 arg5
= static_cast< byte
>(val5
);
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_Py_Void();
4040 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4041 PyObject
*resultobj
= 0;
4042 wxColour
*arg1
= (wxColour
*) 0 ;
4043 unsigned long arg2
;
4046 unsigned long val2
;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4050 char * kwnames
[] = {
4051 (char *) "self",(char *) "colRGB", NULL
4054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4059 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4060 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4061 if (!SWIG_IsOK(ecode2
)) {
4062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4064 arg2
= static_cast< unsigned long >(val2
);
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_Py_Void();
4078 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
= 0;
4080 wxColour
*arg1
= (wxColour
*) 0 ;
4081 wxString
*arg2
= 0 ;
4084 bool temp2
= false ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4087 char * kwnames
[] = {
4088 (char *) "self",(char *) "colourName", NULL
4091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4093 if (!SWIG_IsOK(res1
)) {
4094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4096 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4098 arg2
= wxString_in_helper(obj1
);
4099 if (arg2
== NULL
) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 (arg1
)->InitFromName((wxString
const &)*arg2
);
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= SWIG_Py_Void();
4123 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
= 0;
4125 wxColour
*arg1
= (wxColour
*) 0 ;
4126 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4134 char * kwnames
[] = {
4135 (char *) "self",(char *) "flags", NULL
4138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4140 if (!SWIG_IsOK(res1
)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4143 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4146 if (!SWIG_IsOK(ecode2
)) {
4147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4149 arg2
= static_cast< long >(val2
);
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4170 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4171 PyObject
*resultobj
= 0;
4172 wxColour
*arg1
= (wxColour
*) 0 ;
4176 PyObject
*swig_obj
[1] ;
4178 if (!args
) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4184 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_From_long(static_cast< long >(result
));
4198 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
= 0;
4200 wxColour
*arg1
= (wxColour
*) 0 ;
4201 PyObject
*arg2
= (PyObject
*) 0 ;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4207 char * kwnames
[] = {
4208 (char *) "self",(char *) "other", NULL
4211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4213 if (!SWIG_IsOK(res1
)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4216 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4219 result
= (bool)wxColour___eq__(arg1
,arg2
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4231 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
= 0;
4233 wxColour
*arg1
= (wxColour
*) 0 ;
4234 PyObject
*arg2
= (PyObject
*) 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4240 char * kwnames
[] = {
4241 (char *) "self",(char *) "other", NULL
4244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4246 if (!SWIG_IsOK(res1
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4249 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4252 result
= (bool)wxColour___ne__(arg1
,arg2
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4264 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxColour
*arg1
= (wxColour
*) 0 ;
4267 bool arg2
= (bool) false ;
4268 PyObject
*result
= 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4275 char * kwnames
[] = {
4276 (char *) "self",(char *) "includeAlpha", NULL
4279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4284 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4286 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4287 if (!SWIG_IsOK(ecode2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4290 arg2
= static_cast< bool >(val2
);
4293 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4303 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4304 PyObject
*resultobj
= 0;
4305 wxColour
*arg1
= (wxColour
*) 0 ;
4306 unsigned long result
;
4309 PyObject
*swig_obj
[1] ;
4311 if (!args
) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4317 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4319 result
= (unsigned long)wxColour_GetRGB(arg1
);
4320 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4329 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4332 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4333 return SWIG_Py_Void();
4336 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4337 return SWIG_Python_InitShadowInstance(args
);
4340 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
= 0;
4343 unsigned char *arg2
= (unsigned char *) 0 ;
4344 unsigned char *arg3
= (unsigned char *) 0 ;
4345 unsigned char *arg4
= (unsigned char *) 0 ;
4346 wxPalette
*result
= 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4358 PyObject
* obj3
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4365 if (!SWIG_IsOK(ecode1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4368 arg1
= static_cast< int >(val1
);
4369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4370 if (!SWIG_IsOK(res2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4373 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4374 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4375 if (!SWIG_IsOK(res3
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4378 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4379 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4380 if (!SWIG_IsOK(res4
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4383 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4385 if (!wxPyCheckForApp()) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4398 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4399 PyObject
*resultobj
= 0;
4400 wxPalette
*arg1
= (wxPalette
*) 0 ;
4403 PyObject
*swig_obj
[1] ;
4405 if (!args
) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4411 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= SWIG_Py_Void();
4426 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
= 0;
4428 wxPalette
*arg1
= (wxPalette
*) 0 ;
4435 unsigned char val2
;
4437 unsigned char val3
;
4439 unsigned char val4
;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 PyObject
* obj3
= 0 ;
4445 char * kwnames
[] = {
4446 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4451 if (!SWIG_IsOK(res1
)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4454 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4455 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4456 if (!SWIG_IsOK(ecode2
)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4459 arg2
= static_cast< byte
>(val2
);
4460 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4461 if (!SWIG_IsOK(ecode3
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4464 arg3
= static_cast< byte
>(val3
);
4465 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4466 if (!SWIG_IsOK(ecode4
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4469 arg4
= static_cast< byte
>(val4
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4473 wxPyEndAllowThreads(__tstate
);
4474 if (PyErr_Occurred()) SWIG_fail
;
4476 resultobj
= SWIG_From_int(static_cast< int >(result
));
4483 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
= 0;
4485 wxPalette
*arg1
= (wxPalette
*) 0 ;
4487 byte
*arg3
= (byte
*) 0 ;
4488 byte
*arg4
= (byte
*) 0 ;
4489 byte
*arg5
= (byte
*) 0 ;
4496 int res3
= SWIG_TMPOBJ
;
4498 int res4
= SWIG_TMPOBJ
;
4500 int res5
= SWIG_TMPOBJ
;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 char * kwnames
[] = {
4504 (char *) "self",(char *) "pixel", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4512 if (!SWIG_IsOK(res1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4515 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4517 if (!SWIG_IsOK(ecode2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4520 arg2
= static_cast< int >(val2
);
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4530 if (SWIG_IsTmpObj(res3
)) {
4531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4533 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4536 if (SWIG_IsTmpObj(res4
)) {
4537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4539 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4542 if (SWIG_IsTmpObj(res5
)) {
4543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4545 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4554 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4555 PyObject
*resultobj
= 0;
4556 wxPalette
*arg1
= (wxPalette
*) 0 ;
4560 PyObject
*swig_obj
[1] ;
4562 if (!args
) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4568 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= SWIG_From_int(static_cast< int >(result
));
4582 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4583 PyObject
*resultobj
= 0;
4584 wxPalette
*arg1
= (wxPalette
*) 0 ;
4588 PyObject
*swig_obj
[1] ;
4590 if (!args
) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4596 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (bool)(arg1
)->Ok();
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4612 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4616 return SWIG_Py_Void();
4619 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 return SWIG_Python_InitShadowInstance(args
);
4623 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
= 0;
4625 wxColour
*arg1
= 0 ;
4626 int arg2
= (int) 1 ;
4627 int arg3
= (int) wxSOLID
;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4636 PyObject
* obj2
= 0 ;
4637 char * kwnames
[] = {
4638 (char *) "colour",(char *) "width",(char *) "style", NULL
4641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4644 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4648 if (!SWIG_IsOK(ecode2
)) {
4649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4651 arg2
= static_cast< int >(val2
);
4654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4655 if (!SWIG_IsOK(ecode3
)) {
4656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4658 arg3
= static_cast< int >(val3
);
4661 if (!wxPyCheckForApp()) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4674 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4675 PyObject
*resultobj
= 0;
4676 wxPen
*arg1
= (wxPen
*) 0 ;
4679 PyObject
*swig_obj
[1] ;
4681 if (!args
) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4687 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= SWIG_Py_Void();
4702 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4703 PyObject
*resultobj
= 0;
4704 wxPen
*arg1
= (wxPen
*) 0 ;
4708 PyObject
*swig_obj
[1] ;
4710 if (!args
) SWIG_fail
;
4712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4713 if (!SWIG_IsOK(res1
)) {
4714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4716 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (int)(arg1
)->GetCap();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_From_int(static_cast< int >(result
));
4730 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 PyObject
*resultobj
= 0;
4732 wxPen
*arg1
= (wxPen
*) 0 ;
4736 PyObject
*swig_obj
[1] ;
4738 if (!args
) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4744 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (arg1
)->GetColour();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4758 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4759 PyObject
*resultobj
= 0;
4760 wxPen
*arg1
= (wxPen
*) 0 ;
4764 PyObject
*swig_obj
[1] ;
4766 if (!args
) SWIG_fail
;
4768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4769 if (!SWIG_IsOK(res1
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4772 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (int)(arg1
)->GetJoin();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_From_int(static_cast< int >(result
));
4786 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4787 PyObject
*resultobj
= 0;
4788 wxPen
*arg1
= (wxPen
*) 0 ;
4792 PyObject
*swig_obj
[1] ;
4794 if (!args
) SWIG_fail
;
4796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4797 if (!SWIG_IsOK(res1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4800 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (int)(arg1
)->GetStyle();
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_From_int(static_cast< int >(result
));
4814 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4815 PyObject
*resultobj
= 0;
4816 wxPen
*arg1
= (wxPen
*) 0 ;
4820 PyObject
*swig_obj
[1] ;
4822 if (!args
) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4828 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (int)(arg1
)->GetWidth();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_From_int(static_cast< int >(result
));
4842 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4843 PyObject
*resultobj
= 0;
4844 wxPen
*arg1
= (wxPen
*) 0 ;
4848 PyObject
*swig_obj
[1] ;
4850 if (!args
) SWIG_fail
;
4852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4853 if (!SWIG_IsOK(res1
)) {
4854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4856 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 result
= (bool)(arg1
)->Ok();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4872 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
= 0;
4874 wxPen
*arg1
= (wxPen
*) 0 ;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 char * kwnames
[] = {
4883 (char *) "self",(char *) "cap_style", NULL
4886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4891 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4893 if (!SWIG_IsOK(ecode2
)) {
4894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4896 arg2
= static_cast< int >(val2
);
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 (arg1
)->SetCap(arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 resultobj
= SWIG_Py_Void();
4910 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
= 0;
4912 wxPen
*arg1
= (wxPen
*) 0 ;
4913 wxColour
*arg2
= 0 ;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 char * kwnames
[] = {
4920 (char *) "self",(char *) "colour", NULL
4923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4925 if (!SWIG_IsOK(res1
)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4928 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 (arg1
)->SetColour(*arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 resultobj
= SWIG_Py_Void();
4946 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
= 0;
4948 wxPen
*arg1
= (wxPen
*) 0 ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 char * kwnames
[] = {
4957 (char *) "self",(char *) "join_style", NULL
4960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4962 if (!SWIG_IsOK(res1
)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4965 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4967 if (!SWIG_IsOK(ecode2
)) {
4968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4970 arg2
= static_cast< int >(val2
);
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 (arg1
)->SetJoin(arg2
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= SWIG_Py_Void();
4984 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
= 0;
4986 wxPen
*arg1
= (wxPen
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 char * kwnames
[] = {
4995 (char *) "self",(char *) "style", NULL
4998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5003 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5005 if (!SWIG_IsOK(ecode2
)) {
5006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5008 arg2
= static_cast< int >(val2
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->SetStyle(arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= 0;
5024 wxPen
*arg1
= (wxPen
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5032 char * kwnames
[] = {
5033 (char *) "self",(char *) "width", NULL
5036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5038 if (!SWIG_IsOK(res1
)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5041 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5043 if (!SWIG_IsOK(ecode2
)) {
5044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5046 arg2
= static_cast< int >(val2
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 (arg1
)->SetWidth(arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_Py_Void();
5060 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxPen
*arg1
= (wxPen
*) 0 ;
5064 wxDash
*arg3
= (wxDash
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 char * kwnames
[] = {
5070 (char *) "self",(char *) "dashes", NULL
5073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5075 if (!SWIG_IsOK(res1
)) {
5076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5078 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5080 arg2
= PyList_Size(obj1
);
5081 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5082 if (arg3
== NULL
) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetDashes(arg2
,arg3
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= SWIG_Py_Void();
5092 if (arg3
) delete [] arg3
;
5097 if (arg3
) delete [] arg3
;
5103 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5104 PyObject
*resultobj
= 0;
5105 wxPen
*arg1
= (wxPen
*) 0 ;
5106 PyObject
*result
= 0 ;
5109 PyObject
*swig_obj
[1] ;
5111 if (!args
) SWIG_fail
;
5113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5114 if (!SWIG_IsOK(res1
)) {
5115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5117 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5131 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxPen
*arg1
= (wxPen
*) 0 ;
5134 PyObject
*arg2
= (PyObject
*) 0 ;
5135 PyObject
*arg3
= (PyObject
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 PyObject
* obj2
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5155 wxPen__SetDashes(arg1
,arg2
,arg3
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 resultobj
= SWIG_Py_Void();
5166 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5167 PyObject
*resultobj
= 0;
5168 wxPen
*arg1
= (wxPen
*) 0 ;
5172 PyObject
*swig_obj
[1] ;
5174 if (!args
) SWIG_fail
;
5176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5177 if (!SWIG_IsOK(res1
)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5180 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5184 wxPyEndAllowThreads(__tstate
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5187 resultobj
= SWIG_From_int(static_cast< int >(result
));
5194 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
= 0;
5196 wxPen
*arg1
= (wxPen
*) 0 ;
5197 wxPen
*arg2
= (wxPen
*) 0 ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 char * kwnames
[] = {
5206 (char *) "self",(char *) "other", NULL
5209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5211 if (!SWIG_IsOK(res1
)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5214 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5216 if (!SWIG_IsOK(res2
)) {
5217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5219 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5235 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 wxPen
*arg1
= (wxPen
*) 0 ;
5238 wxPen
*arg2
= (wxPen
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5245 PyObject
* obj1
= 0 ;
5246 char * kwnames
[] = {
5247 (char *) "self",(char *) "other", NULL
5250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5252 if (!SWIG_IsOK(res1
)) {
5253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5255 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5257 if (!SWIG_IsOK(res2
)) {
5258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5260 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5276 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5279 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5280 return SWIG_Py_Void();
5283 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5284 return SWIG_Python_InitShadowInstance(args
);
5287 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
= 0;
5289 wxColour
*arg1
= 0 ;
5290 int arg2
= (int) wxSOLID
;
5291 wxBrush
*result
= 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 char * kwnames
[] = {
5298 (char *) "colour",(char *) "style", NULL
5301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5304 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5308 if (!SWIG_IsOK(ecode2
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5311 arg2
= static_cast< int >(val2
);
5314 if (!wxPyCheckForApp()) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5327 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxBitmap
*arg1
= 0 ;
5330 wxBrush
*result
= 0 ;
5333 PyObject
* obj0
= 0 ;
5334 char * kwnames
[] = {
5335 (char *) "stippleBitmap", NULL
5338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5346 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5348 if (!wxPyCheckForApp()) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5361 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5362 PyObject
*resultobj
= 0;
5363 wxBrush
*arg1
= (wxBrush
*) 0 ;
5366 PyObject
*swig_obj
[1] ;
5368 if (!args
) SWIG_fail
;
5370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5371 if (!SWIG_IsOK(res1
)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5374 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_Py_Void();
5389 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
= 0;
5391 wxBrush
*arg1
= (wxBrush
*) 0 ;
5392 wxColour
*arg2
= 0 ;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "self",(char *) "col", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5407 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->SetColour((wxColour
const &)*arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_Py_Void();
5425 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxBrush
*arg1
= (wxBrush
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "self",(char *) "style", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5444 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5446 if (!SWIG_IsOK(ecode2
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5449 arg2
= static_cast< int >(val2
);
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->SetStyle(arg2
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_Py_Void();
5463 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
= 0;
5465 wxBrush
*arg1
= (wxBrush
*) 0 ;
5466 wxBitmap
*arg2
= 0 ;
5471 PyObject
* obj0
= 0 ;
5472 PyObject
* obj1
= 0 ;
5473 char * kwnames
[] = {
5474 (char *) "self",(char *) "stipple", NULL
5477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5479 if (!SWIG_IsOK(res1
)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5482 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5484 if (!SWIG_IsOK(res2
)) {
5485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5490 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_Py_Void();
5504 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5506 wxBrush
*arg1
= (wxBrush
*) 0 ;
5510 PyObject
*swig_obj
[1] ;
5512 if (!args
) SWIG_fail
;
5514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5515 if (!SWIG_IsOK(res1
)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5518 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 result
= ((wxBrush
const *)arg1
)->GetColour();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5532 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5533 PyObject
*resultobj
= 0;
5534 wxBrush
*arg1
= (wxBrush
*) 0 ;
5538 PyObject
*swig_obj
[1] ;
5540 if (!args
) SWIG_fail
;
5542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5543 if (!SWIG_IsOK(res1
)) {
5544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5546 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_From_int(static_cast< int >(result
));
5560 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5561 PyObject
*resultobj
= 0;
5562 wxBrush
*arg1
= (wxBrush
*) 0 ;
5563 wxBitmap
*result
= 0 ;
5566 PyObject
*swig_obj
[1] ;
5568 if (!args
) SWIG_fail
;
5570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5571 if (!SWIG_IsOK(res1
)) {
5572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5574 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5588 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5589 PyObject
*resultobj
= 0;
5590 wxBrush
*arg1
= (wxBrush
*) 0 ;
5594 PyObject
*swig_obj
[1] ;
5596 if (!args
) SWIG_fail
;
5598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5599 if (!SWIG_IsOK(res1
)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5602 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5618 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5619 PyObject
*resultobj
= 0;
5620 wxBrush
*arg1
= (wxBrush
*) 0 ;
5624 PyObject
*swig_obj
[1] ;
5626 if (!args
) SWIG_fail
;
5628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5629 if (!SWIG_IsOK(res1
)) {
5630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5632 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)(arg1
)->Ok();
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5648 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5651 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5652 return SWIG_Py_Void();
5655 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5656 return SWIG_Python_InitShadowInstance(args
);
5659 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxString
*arg1
= 0 ;
5662 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5663 wxBitmap
*result
= 0 ;
5664 bool temp1
= false ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 char * kwnames
[] = {
5670 (char *) "name",(char *) "type", NULL
5673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5675 arg1
= wxString_in_helper(obj0
);
5676 if (arg1
== NULL
) SWIG_fail
;
5680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5681 if (!SWIG_IsOK(ecode2
)) {
5682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5684 arg2
= static_cast< wxBitmapType
>(val2
);
5687 if (!wxPyCheckForApp()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5708 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 PyObject
*resultobj
= 0;
5710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5721 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_Py_Void();
5734 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5735 PyObject
*resultobj
= 0;
5738 int arg3
= (int) -1 ;
5739 wxBitmap
*result
= 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 PyObject
* obj2
= 0 ;
5749 char * kwnames
[] = {
5750 (char *) "width",(char *) "height",(char *) "depth", NULL
5753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5755 if (!SWIG_IsOK(ecode1
)) {
5756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5758 arg1
= static_cast< int >(val1
);
5759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5760 if (!SWIG_IsOK(ecode2
)) {
5761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5763 arg2
= static_cast< int >(val2
);
5765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5766 if (!SWIG_IsOK(ecode3
)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5769 arg3
= static_cast< int >(val3
);
5772 if (!wxPyCheckForApp()) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5785 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= 0;
5788 wxBitmap
*result
= 0 ;
5791 PyObject
* obj0
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "icon", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5798 if (!SWIG_IsOK(res1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5804 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5806 if (!wxPyCheckForApp()) SWIG_fail
;
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5819 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
= 0;
5822 int arg2
= (int) -1 ;
5823 wxBitmap
*result
= 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5830 char * kwnames
[] = {
5831 (char *) "image",(char *) "depth", NULL
5834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5835 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5836 if (!SWIG_IsOK(res1
)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5842 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5845 if (!SWIG_IsOK(ecode2
)) {
5846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5848 arg2
= static_cast< int >(val2
);
5851 if (!wxPyCheckForApp()) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5864 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= 0;
5866 PyObject
*arg1
= (PyObject
*) 0 ;
5867 wxBitmap
*result
= 0 ;
5868 PyObject
* obj0
= 0 ;
5869 char * kwnames
[] = {
5870 (char *) "listOfStrings", NULL
5873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5876 if (!wxPyCheckForApp()) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5889 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
= 0;
5891 PyObject
*arg1
= (PyObject
*) 0 ;
5894 int arg4
= (int) 1 ;
5895 wxBitmap
*result
= 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5904 PyObject
* obj2
= 0 ;
5905 PyObject
* obj3
= 0 ;
5906 char * kwnames
[] = {
5907 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5913 if (!SWIG_IsOK(ecode2
)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5916 arg2
= static_cast< int >(val2
);
5917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5918 if (!SWIG_IsOK(ecode3
)) {
5919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5921 arg3
= static_cast< int >(val3
);
5923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5924 if (!SWIG_IsOK(ecode4
)) {
5925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5927 arg4
= static_cast< int >(val4
);
5930 if (!wxPyCheckForApp()) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5943 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5944 PyObject
*resultobj
= 0;
5945 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5949 PyObject
*swig_obj
[1] ;
5951 if (!args
) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5957 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5959 result
= (bool)(arg1
)->Ok();
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5971 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5972 PyObject
*resultobj
= 0;
5973 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5977 PyObject
*swig_obj
[1] ;
5979 if (!args
) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
5985 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5987 result
= (int)(arg1
)->GetWidth();
5988 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= SWIG_From_int(static_cast< int >(result
));
5997 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5998 PyObject
*resultobj
= 0;
5999 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6003 PyObject
*swig_obj
[1] ;
6005 if (!args
) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6013 result
= (int)(arg1
)->GetHeight();
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_From_int(static_cast< int >(result
));
6023 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6037 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6039 result
= (int)(arg1
)->GetDepth();
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_From_int(static_cast< int >(result
));
6049 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 PyObject
*resultobj
= 0;
6051 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6055 PyObject
*swig_obj
[1] ;
6057 if (!args
) SWIG_fail
;
6059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6060 if (!SWIG_IsOK(res1
)) {
6061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6063 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6065 result
= wxBitmap_GetSize(arg1
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6075 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6076 PyObject
*resultobj
= 0;
6077 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6078 SwigValueWrapper
<wxImage
> result
;
6081 PyObject
*swig_obj
[1] ;
6083 if (!args
) SWIG_fail
;
6085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6086 if (!SWIG_IsOK(res1
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6089 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6091 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6101 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6104 wxMask
*result
= 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6115 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6117 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6127 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
= 0;
6129 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6130 wxMask
*arg2
= (wxMask
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6136 char * kwnames
[] = {
6137 (char *) "self",(char *) "mask", NULL
6140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6142 if (!SWIG_IsOK(res1
)) {
6143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6145 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6146 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6147 if (!SWIG_IsOK(res2
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6151 (arg1
)->SetMask(arg2
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= SWIG_Py_Void();
6161 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6163 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6164 wxColour
*arg2
= 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 char * kwnames
[] = {
6171 (char *) "self",(char *) "colour", NULL
6174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6185 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6197 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6199 SwigValueWrapper
<wxBitmap
> result
;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "rect", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6214 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6220 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6230 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
= 0;
6232 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6233 wxString
*arg2
= 0 ;
6235 wxPalette
*arg4
= (wxPalette
*) NULL
;
6239 bool temp2
= false ;
6244 PyObject
* obj0
= 0 ;
6245 PyObject
* obj1
= 0 ;
6246 PyObject
* obj2
= 0 ;
6247 PyObject
* obj3
= 0 ;
6248 char * kwnames
[] = {
6249 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6254 if (!SWIG_IsOK(res1
)) {
6255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 arg2
= wxString_in_helper(obj1
);
6260 if (arg2
== NULL
) SWIG_fail
;
6263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6264 if (!SWIG_IsOK(ecode3
)) {
6265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6267 arg3
= static_cast< wxBitmapType
>(val3
);
6269 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6270 if (!SWIG_IsOK(res4
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6273 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6276 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6296 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
= 0;
6298 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6299 wxString
*arg2
= 0 ;
6304 bool temp2
= false ;
6307 PyObject
* obj0
= 0 ;
6308 PyObject
* obj1
= 0 ;
6309 PyObject
* obj2
= 0 ;
6310 char * kwnames
[] = {
6311 (char *) "self",(char *) "name",(char *) "type", NULL
6314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6316 if (!SWIG_IsOK(res1
)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6319 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6321 arg2
= wxString_in_helper(obj1
);
6322 if (arg2
== NULL
) SWIG_fail
;
6325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6326 if (!SWIG_IsOK(ecode3
)) {
6327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6329 arg3
= static_cast< wxBitmapType
>(val3
);
6331 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6351 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6354 wxPalette
*result
= 0 ;
6357 PyObject
*swig_obj
[1] ;
6359 if (!args
) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6365 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6367 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6377 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6388 char * kwnames
[] = {
6389 (char *) "self",(char *) "icon", NULL
6392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6394 if (!SWIG_IsOK(res1
)) {
6395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6399 if (!SWIG_IsOK(res2
)) {
6400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6405 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6407 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6419 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6429 char * kwnames
[] = {
6430 (char *) "self",(char *) "height", NULL
6433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6435 if (!SWIG_IsOK(res1
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6438 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6440 if (!SWIG_IsOK(ecode2
)) {
6441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6443 arg2
= static_cast< int >(val2
);
6445 (arg1
)->SetHeight(arg2
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_Py_Void();
6455 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 char * kwnames
[] = {
6466 (char *) "self",(char *) "width", NULL
6469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6471 if (!SWIG_IsOK(res1
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6479 arg2
= static_cast< int >(val2
);
6481 (arg1
)->SetWidth(arg2
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= SWIG_Py_Void();
6491 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
= 0;
6493 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 char * kwnames
[] = {
6502 (char *) "self",(char *) "depth", NULL
6505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6510 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6512 if (!SWIG_IsOK(ecode2
)) {
6513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6515 arg2
= static_cast< int >(val2
);
6517 (arg1
)->SetDepth(arg2
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= SWIG_Py_Void();
6527 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
= 0;
6529 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6535 PyObject
* obj1
= 0 ;
6536 char * kwnames
[] = {
6537 (char *) "self",(char *) "size", NULL
6540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6542 if (!SWIG_IsOK(res1
)) {
6543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6545 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6551 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6564 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "other", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6583 if (!SWIG_IsOK(res2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6586 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6588 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6600 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 char * kwnames
[] = {
6612 (char *) "self",(char *) "other", NULL
6615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6617 if (!SWIG_IsOK(res1
)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6620 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6622 if (!SWIG_IsOK(res2
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6625 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6627 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6639 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6642 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6643 return SWIG_Py_Void();
6646 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6647 return SWIG_Python_InitShadowInstance(args
);
6650 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6658 wxBitmap
*result
= 0 ;
6663 PyObject
* obj0
= 0 ;
6664 PyObject
* obj1
= 0 ;
6665 PyObject
* obj2
= 0 ;
6666 PyObject
* obj3
= 0 ;
6667 char * kwnames
[] = {
6668 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6672 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6673 if (!SWIG_IsOK(ecode1
)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6676 arg1
= static_cast< int >(val1
);
6677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6678 if (!SWIG_IsOK(ecode2
)) {
6679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6681 arg2
= static_cast< int >(val2
);
6683 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6686 if (obj3
!= Py_None
) {
6687 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &arg6
) == -1) SWIG_fail
;
6691 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6701 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
= 0;
6707 wxBitmap
*result
= 0 ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6714 PyObject
* obj2
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "width",(char *) "height",(char *) "data", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6721 if (!SWIG_IsOK(ecode1
)) {
6722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6724 arg1
= static_cast< int >(val1
);
6725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6726 if (!SWIG_IsOK(ecode2
)) {
6727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6729 arg2
= static_cast< int >(val2
);
6731 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6734 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6744 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
= 0;
6750 wxBitmap
*result
= 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6757 PyObject
* obj2
= 0 ;
6758 char * kwnames
[] = {
6759 (char *) "width",(char *) "height",(char *) "data", NULL
6762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6764 if (!SWIG_IsOK(ecode1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6767 arg1
= static_cast< int >(val1
);
6768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6769 if (!SWIG_IsOK(ecode2
)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6772 arg2
= static_cast< int >(val2
);
6774 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6777 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6787 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 PyObject
*resultobj
= 0;
6789 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6793 PyObject
*swig_obj
[1] ;
6795 if (!args
) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6801 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6803 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6813 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6814 PyObject
*resultobj
= 0;
6815 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6819 PyObject
*swig_obj
[1] ;
6821 if (!args
) SWIG_fail
;
6823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6824 if (!SWIG_IsOK(res1
)) {
6825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6827 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6829 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_From_int(static_cast< int >(result
));
6839 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6840 PyObject
*resultobj
= 0;
6841 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6845 PyObject
*swig_obj
[1] ;
6847 if (!args
) SWIG_fail
;
6849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6850 if (!SWIG_IsOK(res1
)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6853 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6855 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_From_int(static_cast< int >(result
));
6865 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6866 PyObject
*resultobj
= 0;
6867 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6871 PyObject
*swig_obj
[1] ;
6873 if (!args
) SWIG_fail
;
6875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6876 if (!SWIG_IsOK(res1
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6879 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6881 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6891 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6892 PyObject
*resultobj
= 0;
6893 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6897 PyObject
*swig_obj
[1] ;
6899 if (!args
) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6905 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6907 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_From_int(static_cast< int >(result
));
6917 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6920 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6921 return SWIG_Py_Void();
6924 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6925 PyObject
*resultobj
= 0;
6926 wxBitmap
*arg1
= 0 ;
6927 wxNativePixelData
*result
= 0 ;
6931 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6933 if (!SWIG_IsOK(res1
)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6939 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6941 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6951 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6952 PyObject
*resultobj
= 0;
6953 wxBitmap
*arg1
= 0 ;
6955 wxNativePixelData
*result
= 0 ;
6960 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
6961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6962 if (!SWIG_IsOK(res1
)) {
6963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6968 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6971 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
6974 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6984 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6985 PyObject
*resultobj
= 0;
6986 wxBitmap
*arg1
= 0 ;
6989 wxNativePixelData
*result
= 0 ;
6995 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7003 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7006 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7010 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7013 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7023 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7027 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7030 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7033 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7036 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7040 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7045 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7046 PyObject
*resultobj
= 0;
7047 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7050 PyObject
*swig_obj
[1] ;
7052 if (!args
) SWIG_fail
;
7054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7055 if (!SWIG_IsOK(res1
)) {
7056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7058 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_Py_Void();
7071 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7072 PyObject
*resultobj
= 0;
7073 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7074 wxNativePixelData_Accessor result
;
7077 PyObject
*swig_obj
[1] ;
7079 if (!args
) SWIG_fail
;
7081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7082 if (!SWIG_IsOK(res1
)) {
7083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7085 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7087 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7097 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7098 PyObject
*resultobj
= 0;
7099 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7102 PyObject
*swig_obj
[1] ;
7104 if (!args
) SWIG_fail
;
7106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7107 if (!SWIG_IsOK(res1
)) {
7108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7110 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_Py_Void();
7122 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 PyObject
*resultobj
= 0;
7124 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7128 PyObject
*swig_obj
[1] ;
7130 if (!args
) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7136 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7138 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7150 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7152 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7153 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7154 return SWIG_Py_Void();
7157 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7158 return SWIG_Python_InitShadowInstance(args
);
7161 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7162 PyObject
*resultobj
= 0;
7163 wxNativePixelData
*arg1
= 0 ;
7164 wxNativePixelData_Accessor
*result
= 0 ;
7168 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7170 if (!SWIG_IsOK(res1
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7176 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7178 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7188 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7189 PyObject
*resultobj
= 0;
7190 wxBitmap
*arg1
= 0 ;
7191 wxNativePixelData
*arg2
= 0 ;
7192 wxNativePixelData_Accessor
*result
= 0 ;
7198 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7206 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7207 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7208 if (!SWIG_IsOK(res2
)) {
7209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7214 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7216 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7226 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7227 PyObject
*resultobj
= 0;
7228 wxNativePixelData_Accessor
*result
= 0 ;
7230 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7232 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7242 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7246 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7249 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7252 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7255 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7259 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7264 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7265 PyObject
*resultobj
= 0;
7266 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7277 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_Py_Void();
7290 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
= 0;
7292 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7293 wxNativePixelData
*arg2
= 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 char * kwnames
[] = {
7301 (char *) "self",(char *) "data", NULL
7304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7306 if (!SWIG_IsOK(res1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7309 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7310 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7311 if (!SWIG_IsOK(res2
)) {
7312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7317 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7319 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 resultobj
= SWIG_Py_Void();
7329 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7330 PyObject
*resultobj
= 0;
7331 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7335 PyObject
*swig_obj
[1] ;
7337 if (!args
) SWIG_fail
;
7339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7340 if (!SWIG_IsOK(res1
)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7343 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7345 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7346 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7357 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7362 PyObject
*swig_obj
[1] ;
7364 if (!args
) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7370 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7372 wxNativePixelData_Accessor_nextPixel(arg1
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_Py_Void();
7382 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
= 0;
7384 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7385 wxNativePixelData
*arg2
= 0 ;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7398 PyObject
* obj2
= 0 ;
7399 PyObject
* obj3
= 0 ;
7400 char * kwnames
[] = {
7401 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7406 if (!SWIG_IsOK(res1
)) {
7407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7409 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7411 if (!SWIG_IsOK(res2
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7417 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7419 if (!SWIG_IsOK(ecode3
)) {
7420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7422 arg3
= static_cast< int >(val3
);
7423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7424 if (!SWIG_IsOK(ecode4
)) {
7425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7427 arg4
= static_cast< int >(val4
);
7429 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_Py_Void();
7439 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7442 wxNativePixelData
*arg2
= 0 ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7452 PyObject
* obj2
= 0 ;
7453 char * kwnames
[] = {
7454 (char *) "self",(char *) "data",(char *) "x", NULL
7457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7459 if (!SWIG_IsOK(res1
)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7462 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7464 if (!SWIG_IsOK(res2
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7470 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7472 if (!SWIG_IsOK(ecode3
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7475 arg3
= static_cast< int >(val3
);
7477 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= SWIG_Py_Void();
7487 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
= 0;
7489 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7490 wxNativePixelData
*arg2
= 0 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7500 PyObject
* obj2
= 0 ;
7501 char * kwnames
[] = {
7502 (char *) "self",(char *) "data",(char *) "y", NULL
7505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7510 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7512 if (!SWIG_IsOK(res2
)) {
7513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7518 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7520 if (!SWIG_IsOK(ecode3
)) {
7521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7523 arg3
= static_cast< int >(val3
);
7525 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= SWIG_Py_Void();
7535 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
= 0;
7537 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7538 wxNativePixelData
*arg2
= 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7552 PyObject
* obj3
= 0 ;
7553 char * kwnames
[] = {
7554 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7562 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7564 if (!SWIG_IsOK(res2
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7570 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7572 if (!SWIG_IsOK(ecode3
)) {
7573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7575 arg3
= static_cast< int >(val3
);
7576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7577 if (!SWIG_IsOK(ecode4
)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7580 arg4
= static_cast< int >(val4
);
7582 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_Py_Void();
7592 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
= 0;
7594 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7600 unsigned char val2
;
7602 unsigned char val3
;
7604 unsigned char val4
;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7608 PyObject
* obj2
= 0 ;
7609 PyObject
* obj3
= 0 ;
7610 char * kwnames
[] = {
7611 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7616 if (!SWIG_IsOK(res1
)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7619 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7620 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7621 if (!SWIG_IsOK(ecode2
)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7624 arg2
= static_cast< byte
>(val2
);
7625 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7626 if (!SWIG_IsOK(ecode3
)) {
7627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7629 arg3
= static_cast< byte
>(val3
);
7630 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7631 if (!SWIG_IsOK(ecode4
)) {
7632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7634 arg4
= static_cast< byte
>(val4
);
7636 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_Py_Void();
7646 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7647 PyObject
*resultobj
= 0;
7648 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7649 PyObject
*result
= 0 ;
7652 PyObject
*swig_obj
[1] ;
7654 if (!args
) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7660 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7662 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7672 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7675 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7676 return SWIG_Py_Void();
7679 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 return SWIG_Python_InitShadowInstance(args
);
7683 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7684 PyObject
*resultobj
= 0;
7685 wxBitmap
*arg1
= 0 ;
7686 wxAlphaPixelData
*result
= 0 ;
7690 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7692 if (!SWIG_IsOK(res1
)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7698 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7700 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7710 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7711 PyObject
*resultobj
= 0;
7712 wxBitmap
*arg1
= 0 ;
7714 wxAlphaPixelData
*result
= 0 ;
7719 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7727 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7730 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7733 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7743 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7744 PyObject
*resultobj
= 0;
7745 wxBitmap
*arg1
= 0 ;
7748 wxAlphaPixelData
*result
= 0 ;
7754 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7756 if (!SWIG_IsOK(res1
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7762 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7765 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7769 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7772 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7782 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7786 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7789 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7792 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7795 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7799 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7804 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7806 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7809 PyObject
*swig_obj
[1] ;
7811 if (!args
) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7817 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= SWIG_Py_Void();
7830 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7831 PyObject
*resultobj
= 0;
7832 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7833 wxAlphaPixelData_Accessor result
;
7836 PyObject
*swig_obj
[1] ;
7838 if (!args
) SWIG_fail
;
7840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7841 if (!SWIG_IsOK(res1
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7844 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7846 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7856 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7857 PyObject
*resultobj
= 0;
7858 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7861 PyObject
*swig_obj
[1] ;
7863 if (!args
) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7869 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_Py_Void();
7881 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 PyObject
*resultobj
= 0;
7883 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7887 PyObject
*swig_obj
[1] ;
7889 if (!args
) SWIG_fail
;
7891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7892 if (!SWIG_IsOK(res1
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7895 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7897 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7909 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7912 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7913 return SWIG_Py_Void();
7916 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7917 return SWIG_Python_InitShadowInstance(args
);
7920 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7921 PyObject
*resultobj
= 0;
7922 wxAlphaPixelData
*arg1
= 0 ;
7923 wxAlphaPixelData_Accessor
*result
= 0 ;
7927 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7935 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7937 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7947 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7948 PyObject
*resultobj
= 0;
7949 wxBitmap
*arg1
= 0 ;
7950 wxAlphaPixelData
*arg2
= 0 ;
7951 wxAlphaPixelData_Accessor
*result
= 0 ;
7957 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7965 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7966 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7967 if (!SWIG_IsOK(res2
)) {
7968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
7973 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
7975 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7985 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7986 PyObject
*resultobj
= 0;
7987 wxAlphaPixelData_Accessor
*result
= 0 ;
7989 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7991 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8001 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8005 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8008 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8011 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8014 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8018 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8023 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8028 PyObject
*swig_obj
[1] ;
8030 if (!args
) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8036 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_Py_Void();
8049 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
= 0;
8051 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8052 wxAlphaPixelData
*arg2
= 0 ;
8057 PyObject
* obj0
= 0 ;
8058 PyObject
* obj1
= 0 ;
8059 char * kwnames
[] = {
8060 (char *) "self",(char *) "data", NULL
8063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8065 if (!SWIG_IsOK(res1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8068 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8070 if (!SWIG_IsOK(res2
)) {
8071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8076 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8078 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_Py_Void();
8088 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8089 PyObject
*resultobj
= 0;
8090 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8094 PyObject
*swig_obj
[1] ;
8096 if (!args
) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8102 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8104 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8117 PyObject
*resultobj
= 0;
8118 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8121 PyObject
*swig_obj
[1] ;
8123 if (!args
) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8129 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8131 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= SWIG_Py_Void();
8141 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
= 0;
8143 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8144 wxAlphaPixelData
*arg2
= 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8157 PyObject
* obj2
= 0 ;
8158 PyObject
* obj3
= 0 ;
8159 char * kwnames
[] = {
8160 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8165 if (!SWIG_IsOK(res1
)) {
8166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8168 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8170 if (!SWIG_IsOK(res2
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8176 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8178 if (!SWIG_IsOK(ecode3
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8181 arg3
= static_cast< int >(val3
);
8182 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8183 if (!SWIG_IsOK(ecode4
)) {
8184 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8186 arg4
= static_cast< int >(val4
);
8188 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= SWIG_Py_Void();
8198 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
= 0;
8200 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8201 wxAlphaPixelData
*arg2
= 0 ;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8211 PyObject
* obj2
= 0 ;
8212 char * kwnames
[] = {
8213 (char *) "self",(char *) "data",(char *) "x", NULL
8216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8218 if (!SWIG_IsOK(res1
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8221 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8222 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8223 if (!SWIG_IsOK(res2
)) {
8224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8229 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8230 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8231 if (!SWIG_IsOK(ecode3
)) {
8232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8234 arg3
= static_cast< int >(val3
);
8236 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
= 0;
8248 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8249 wxAlphaPixelData
*arg2
= 0 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8259 PyObject
* obj2
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "data",(char *) "y", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8269 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8271 if (!SWIG_IsOK(res2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8277 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8279 if (!SWIG_IsOK(ecode3
)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8282 arg3
= static_cast< int >(val3
);
8284 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_Py_Void();
8294 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
= 0;
8296 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8297 wxAlphaPixelData
*arg2
= 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8311 PyObject
* obj3
= 0 ;
8312 char * kwnames
[] = {
8313 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8318 if (!SWIG_IsOK(res1
)) {
8319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8321 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8323 if (!SWIG_IsOK(res2
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8329 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8331 if (!SWIG_IsOK(ecode3
)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8334 arg3
= static_cast< int >(val3
);
8335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8336 if (!SWIG_IsOK(ecode4
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8339 arg4
= static_cast< int >(val4
);
8341 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_Py_Void();
8351 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
= 0;
8353 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8360 unsigned char val2
;
8362 unsigned char val3
;
8364 unsigned char val4
;
8366 unsigned char val5
;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 PyObject
* obj2
= 0 ;
8371 PyObject
* obj3
= 0 ;
8372 PyObject
* obj4
= 0 ;
8373 char * kwnames
[] = {
8374 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8382 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8383 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8384 if (!SWIG_IsOK(ecode2
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8387 arg2
= static_cast< byte
>(val2
);
8388 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8389 if (!SWIG_IsOK(ecode3
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8392 arg3
= static_cast< byte
>(val3
);
8393 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8394 if (!SWIG_IsOK(ecode4
)) {
8395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8397 arg4
= static_cast< byte
>(val4
);
8398 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8399 if (!SWIG_IsOK(ecode5
)) {
8400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8402 arg5
= static_cast< byte
>(val5
);
8404 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_Py_Void();
8414 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8415 PyObject
*resultobj
= 0;
8416 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8417 PyObject
*result
= 0 ;
8420 PyObject
*swig_obj
[1] ;
8422 if (!args
) SWIG_fail
;
8424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8425 if (!SWIG_IsOK(res1
)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8428 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8430 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8440 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8443 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8444 return SWIG_Py_Void();
8447 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8448 return SWIG_Python_InitShadowInstance(args
);
8451 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
= 0;
8453 wxBitmap
*arg1
= 0 ;
8454 wxColour
const &arg2_defvalue
= wxNullColour
;
8455 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8456 wxMask
*result
= 0 ;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8462 char * kwnames
[] = {
8463 (char *) "bitmap",(char *) "colour", NULL
8466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8482 if (!wxPyCheckForApp()) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8495 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8496 PyObject
*resultobj
= 0;
8497 wxMask
*arg1
= (wxMask
*) 0 ;
8500 PyObject
*swig_obj
[1] ;
8502 if (!args
) SWIG_fail
;
8504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8505 if (!SWIG_IsOK(res1
)) {
8506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8508 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_Py_Void();
8521 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8524 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8525 return SWIG_Py_Void();
8528 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8529 return SWIG_Python_InitShadowInstance(args
);
8532 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
= 0;
8534 wxString
*arg1
= 0 ;
8536 int arg3
= (int) -1 ;
8537 int arg4
= (int) -1 ;
8538 wxIcon
*result
= 0 ;
8539 bool temp1
= false ;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8549 PyObject
* obj3
= 0 ;
8550 char * kwnames
[] = {
8551 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8556 arg1
= wxString_in_helper(obj0
);
8557 if (arg1
== NULL
) SWIG_fail
;
8560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8561 if (!SWIG_IsOK(ecode2
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8564 arg2
= static_cast< wxBitmapType
>(val2
);
8566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8567 if (!SWIG_IsOK(ecode3
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8570 arg3
= static_cast< int >(val3
);
8573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8574 if (!SWIG_IsOK(ecode4
)) {
8575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8577 arg4
= static_cast< int >(val4
);
8580 if (!wxPyCheckForApp()) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8601 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8602 PyObject
*resultobj
= 0;
8603 wxIcon
*arg1
= (wxIcon
*) 0 ;
8606 PyObject
*swig_obj
[1] ;
8608 if (!args
) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8614 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_Py_Void();
8629 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxIcon
*result
= 0 ;
8633 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8635 if (!wxPyCheckForApp()) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxIcon
*)new wxIcon();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8648 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= 0;
8650 wxIconLocation
*arg1
= 0 ;
8651 wxIcon
*result
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 char * kwnames
[] = {
8656 (char *) "loc", NULL
8659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8667 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8669 if (!wxPyCheckForApp()) SWIG_fail
;
8670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8682 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
= 0;
8684 wxBitmap
*arg1
= 0 ;
8685 wxIcon
*result
= 0 ;
8688 PyObject
* obj0
= 0 ;
8689 char * kwnames
[] = {
8690 (char *) "bmp", NULL
8693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8701 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8703 if (!wxPyCheckForApp()) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8716 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
*resultobj
= 0;
8718 PyObject
*arg1
= (PyObject
*) 0 ;
8719 wxIcon
*result
= 0 ;
8720 PyObject
* obj0
= 0 ;
8721 char * kwnames
[] = {
8722 (char *) "listOfStrings", NULL
8725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8728 if (!wxPyCheckForApp()) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 result
= (wxIcon
*)new_wxIcon(arg1
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8741 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
= 0;
8743 wxIcon
*arg1
= (wxIcon
*) 0 ;
8744 wxString
*arg2
= 0 ;
8749 bool temp2
= false ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "self",(char *) "name",(char *) "type", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8764 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8771 if (!SWIG_IsOK(ecode3
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8774 arg3
= static_cast< wxBitmapType
>(val3
);
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8799 PyObject
*resultobj
= 0;
8800 wxIcon
*arg1
= (wxIcon
*) 0 ;
8804 PyObject
*swig_obj
[1] ;
8806 if (!args
) SWIG_fail
;
8808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8809 if (!SWIG_IsOK(res1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8812 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (bool)(arg1
)->Ok();
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8828 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8829 PyObject
*resultobj
= 0;
8830 wxIcon
*arg1
= (wxIcon
*) 0 ;
8834 PyObject
*swig_obj
[1] ;
8836 if (!args
) SWIG_fail
;
8838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8839 if (!SWIG_IsOK(res1
)) {
8840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8842 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (int)(arg1
)->GetWidth();
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_From_int(static_cast< int >(result
));
8856 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8857 PyObject
*resultobj
= 0;
8858 wxIcon
*arg1
= (wxIcon
*) 0 ;
8862 PyObject
*swig_obj
[1] ;
8864 if (!args
) SWIG_fail
;
8866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8867 if (!SWIG_IsOK(res1
)) {
8868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8870 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (int)(arg1
)->GetHeight();
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= SWIG_From_int(static_cast< int >(result
));
8884 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8885 PyObject
*resultobj
= 0;
8886 wxIcon
*arg1
= (wxIcon
*) 0 ;
8890 PyObject
*swig_obj
[1] ;
8892 if (!args
) SWIG_fail
;
8894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8895 if (!SWIG_IsOK(res1
)) {
8896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8898 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (int)(arg1
)->GetDepth();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_From_int(static_cast< int >(result
));
8912 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= 0;
8914 wxIcon
*arg1
= (wxIcon
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8921 PyObject
* obj1
= 0 ;
8922 char * kwnames
[] = {
8923 (char *) "self",(char *) "w", NULL
8926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8928 if (!SWIG_IsOK(res1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8931 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8933 if (!SWIG_IsOK(ecode2
)) {
8934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8936 arg2
= static_cast< int >(val2
);
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 (arg1
)->SetWidth(arg2
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_Py_Void();
8950 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= 0;
8952 wxIcon
*arg1
= (wxIcon
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8959 PyObject
* obj1
= 0 ;
8960 char * kwnames
[] = {
8961 (char *) "self",(char *) "h", NULL
8964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8966 if (!SWIG_IsOK(res1
)) {
8967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8969 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8971 if (!SWIG_IsOK(ecode2
)) {
8972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8974 arg2
= static_cast< int >(val2
);
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetHeight(arg2
);
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= SWIG_Py_Void();
8988 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8989 PyObject
*resultobj
= 0;
8990 wxIcon
*arg1
= (wxIcon
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8998 char * kwnames
[] = {
8999 (char *) "self",(char *) "d", NULL
9002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9004 if (!SWIG_IsOK(res1
)) {
9005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9007 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9009 if (!SWIG_IsOK(ecode2
)) {
9010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9012 arg2
= static_cast< int >(val2
);
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 (arg1
)->SetDepth(arg2
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_Py_Void();
9026 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
= 0;
9028 wxIcon
*arg1
= (wxIcon
*) 0 ;
9029 wxBitmap
*arg2
= 0 ;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9036 char * kwnames
[] = {
9037 (char *) "self",(char *) "bmp", NULL
9040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",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_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9045 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9047 if (!SWIG_IsOK(res2
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_Py_Void();
9067 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9070 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9071 return SWIG_Py_Void();
9074 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9075 return SWIG_Python_InitShadowInstance(args
);
9078 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
= 0;
9080 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9081 int arg2
= (int) 0 ;
9082 wxIconLocation
*result
= 0 ;
9083 bool temp1
= false ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 char * kwnames
[] = {
9089 (char *) "filename",(char *) "num", NULL
9092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9095 arg1
= wxString_in_helper(obj0
);
9096 if (arg1
== NULL
) SWIG_fail
;
9101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9102 if (!SWIG_IsOK(ecode2
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9105 arg2
= static_cast< int >(val2
);
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9128 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9129 PyObject
*resultobj
= 0;
9130 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9133 PyObject
*swig_obj
[1] ;
9135 if (!args
) SWIG_fail
;
9137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9138 if (!SWIG_IsOK(res1
)) {
9139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9141 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_Py_Void();
9156 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9157 PyObject
*resultobj
= 0;
9158 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9162 PyObject
*swig_obj
[1] ;
9164 if (!args
) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9170 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9186 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
= 0;
9188 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9189 wxString
*arg2
= 0 ;
9192 bool temp2
= false ;
9193 PyObject
* obj0
= 0 ;
9194 PyObject
* obj1
= 0 ;
9195 char * kwnames
[] = {
9196 (char *) "self",(char *) "filename", NULL
9199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9201 if (!SWIG_IsOK(res1
)) {
9202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9204 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9206 arg2
= wxString_in_helper(obj1
);
9207 if (arg2
== NULL
) SWIG_fail
;
9211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 (arg1
)->SetFileName((wxString
const &)*arg2
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9216 resultobj
= SWIG_Py_Void();
9231 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9232 PyObject
*resultobj
= 0;
9233 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9234 wxString
*result
= 0 ;
9237 PyObject
*swig_obj
[1] ;
9239 if (!args
) SWIG_fail
;
9241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9242 if (!SWIG_IsOK(res1
)) {
9243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9245 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9250 result
= (wxString
*) &_result_ref
;
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9268 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= 0;
9270 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 char * kwnames
[] = {
9279 (char *) "self",(char *) "num", NULL
9282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9284 if (!SWIG_IsOK(res1
)) {
9285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9287 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9289 if (!SWIG_IsOK(ecode2
)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9292 arg2
= static_cast< int >(val2
);
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxIconLocation_SetIndex(arg1
,arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_Py_Void();
9306 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9307 PyObject
*resultobj
= 0;
9308 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9312 PyObject
*swig_obj
[1] ;
9314 if (!args
) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9320 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (int)wxIconLocation_GetIndex(arg1
);
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_From_int(static_cast< int >(result
));
9334 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9337 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9338 return SWIG_Py_Void();
9341 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9342 return SWIG_Python_InitShadowInstance(args
);
9345 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9346 PyObject
*resultobj
= 0;
9347 wxIconBundle
*result
= 0 ;
9349 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 result
= (wxIconBundle
*)new wxIconBundle();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9363 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
= 0;
9365 wxString
*arg1
= 0 ;
9367 wxIconBundle
*result
= 0 ;
9368 bool temp1
= false ;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 char * kwnames
[] = {
9374 (char *) "file",(char *) "type", NULL
9377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9379 arg1
= wxString_in_helper(obj0
);
9380 if (arg1
== NULL
) SWIG_fail
;
9383 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9384 if (!SWIG_IsOK(ecode2
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9387 arg2
= static_cast< long >(val2
);
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9409 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
= 0;
9412 wxIconBundle
*result
= 0 ;
9415 PyObject
* obj0
= 0 ;
9416 char * kwnames
[] = {
9417 (char *) "icon", NULL
9420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9421 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9422 if (!SWIG_IsOK(res1
)) {
9423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9428 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9442 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9443 PyObject
*resultobj
= 0;
9444 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9447 PyObject
*swig_obj
[1] ;
9449 if (!args
) SWIG_fail
;
9451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9452 if (!SWIG_IsOK(res1
)) {
9453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9455 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_Py_Void();
9470 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= 0;
9472 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9480 char * kwnames
[] = {
9481 (char *) "self",(char *) "icon", NULL
9484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9486 if (!SWIG_IsOK(res1
)) {
9487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9489 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9491 if (!SWIG_IsOK(res2
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9497 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= SWIG_Py_Void();
9511 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
= 0;
9513 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9514 wxString
*arg2
= 0 ;
9518 bool temp2
= false ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 PyObject
* obj2
= 0 ;
9524 char * kwnames
[] = {
9525 (char *) "self",(char *) "file",(char *) "type", NULL
9528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9530 if (!SWIG_IsOK(res1
)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9533 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9535 arg2
= wxString_in_helper(obj1
);
9536 if (arg2
== NULL
) SWIG_fail
;
9539 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9540 if (!SWIG_IsOK(ecode3
)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9543 arg3
= static_cast< long >(val3
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 resultobj
= SWIG_Py_Void();
9565 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
= 0;
9567 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9569 wxIcon
*result
= 0 ;
9573 PyObject
* obj0
= 0 ;
9574 PyObject
* obj1
= 0 ;
9575 char * kwnames
[] = {
9576 (char *) "self",(char *) "size", NULL
9579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9584 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9593 result
= (wxIcon
*) &_result_ref
;
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9599 wxIcon
* resultptr
= new wxIcon(*result
);
9600 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9608 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9611 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9612 return SWIG_Py_Void();
9615 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9616 return SWIG_Python_InitShadowInstance(args
);
9619 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
= 0;
9621 wxString
*arg1
= 0 ;
9623 int arg3
= (int) 0 ;
9624 int arg4
= (int) 0 ;
9625 wxCursor
*result
= 0 ;
9626 bool temp1
= false ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 PyObject
* obj2
= 0 ;
9636 PyObject
* obj3
= 0 ;
9637 char * kwnames
[] = {
9638 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9643 arg1
= wxString_in_helper(obj0
);
9644 if (arg1
== NULL
) SWIG_fail
;
9647 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9648 if (!SWIG_IsOK(ecode2
)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9651 arg2
= static_cast< long >(val2
);
9653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9654 if (!SWIG_IsOK(ecode3
)) {
9655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9657 arg3
= static_cast< int >(val3
);
9660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9661 if (!SWIG_IsOK(ecode4
)) {
9662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9664 arg4
= static_cast< int >(val4
);
9667 if (!wxPyCheckForApp()) SWIG_fail
;
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9688 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9689 PyObject
*resultobj
= 0;
9690 wxCursor
*arg1
= (wxCursor
*) 0 ;
9693 PyObject
*swig_obj
[1] ;
9695 if (!args
) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9701 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= SWIG_Py_Void();
9716 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= 0;
9719 wxCursor
*result
= 0 ;
9722 PyObject
* obj0
= 0 ;
9723 char * kwnames
[] = {
9727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9729 if (!SWIG_IsOK(ecode1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9732 arg1
= static_cast< int >(val1
);
9734 if (!wxPyCheckForApp()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxCursor
*)new wxCursor(arg1
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9747 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
= 0;
9750 wxCursor
*result
= 0 ;
9753 PyObject
* obj0
= 0 ;
9754 char * kwnames
[] = {
9755 (char *) "image", NULL
9758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9759 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9760 if (!SWIG_IsOK(res1
)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9766 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9768 if (!wxPyCheckForApp()) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9781 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9782 PyObject
*resultobj
= 0;
9783 wxCursor
*arg1
= (wxCursor
*) 0 ;
9787 PyObject
*swig_obj
[1] ;
9789 if (!args
) SWIG_fail
;
9791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9792 if (!SWIG_IsOK(res1
)) {
9793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9795 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 result
= (bool)(arg1
)->Ok();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9811 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9814 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9815 return SWIG_Py_Void();
9818 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9819 return SWIG_Python_InitShadowInstance(args
);
9822 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
= 0;
9824 int arg1
= (int) 0 ;
9825 int arg2
= (int) 0 ;
9826 int arg3
= (int) 0 ;
9827 int arg4
= (int) 0 ;
9828 wxRegion
*result
= 0 ;
9837 PyObject
* obj0
= 0 ;
9838 PyObject
* obj1
= 0 ;
9839 PyObject
* obj2
= 0 ;
9840 PyObject
* obj3
= 0 ;
9841 char * kwnames
[] = {
9842 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9848 if (!SWIG_IsOK(ecode1
)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9851 arg1
= static_cast< int >(val1
);
9854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9855 if (!SWIG_IsOK(ecode2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9858 arg2
= static_cast< int >(val2
);
9861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9862 if (!SWIG_IsOK(ecode3
)) {
9863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9865 arg3
= static_cast< int >(val3
);
9868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9869 if (!SWIG_IsOK(ecode4
)) {
9870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9872 arg4
= static_cast< int >(val4
);
9875 if (!wxPyCheckForApp()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9888 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
= 0;
9890 wxBitmap
*arg1
= 0 ;
9891 wxRegion
*result
= 0 ;
9894 PyObject
* obj0
= 0 ;
9895 char * kwnames
[] = {
9896 (char *) "bmp", NULL
9899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9900 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9901 if (!SWIG_IsOK(res1
)) {
9902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9907 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9909 if (!wxPyCheckForApp()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9922 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
= 0;
9924 wxBitmap
*arg1
= 0 ;
9925 wxColour
*arg2
= 0 ;
9926 int arg3
= (int) 0 ;
9927 wxRegion
*result
= 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9935 PyObject
* obj2
= 0 ;
9936 char * kwnames
[] = {
9937 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9941 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9942 if (!SWIG_IsOK(res1
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9951 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9955 if (!SWIG_IsOK(ecode3
)) {
9956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9958 arg3
= static_cast< int >(val3
);
9961 if (!wxPyCheckForApp()) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9974 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
= 0;
9977 wxPoint
*arg2
= (wxPoint
*) 0 ;
9978 int arg3
= (int) wxWINDING_RULE
;
9979 wxRegion
*result
= 0 ;
9982 PyObject
* obj0
= 0 ;
9983 PyObject
* obj1
= 0 ;
9984 char * kwnames
[] = {
9985 (char *) "points",(char *) "fillStyle", NULL
9988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9990 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9991 if (arg2
== NULL
) SWIG_fail
;
9994 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
9995 if (!SWIG_IsOK(ecode3
)) {
9996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
9998 arg3
= static_cast< int >(val3
);
10001 if (!wxPyCheckForApp()) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10009 if (arg2
) delete [] arg2
;
10014 if (arg2
) delete [] arg2
;
10020 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10021 PyObject
*resultobj
= 0;
10022 wxRegion
*arg1
= (wxRegion
*) 0 ;
10025 PyObject
*swig_obj
[1] ;
10027 if (!args
) SWIG_fail
;
10028 swig_obj
[0] = args
;
10029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10033 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10049 PyObject
*resultobj
= 0;
10050 wxRegion
*arg1
= (wxRegion
*) 0 ;
10053 PyObject
*swig_obj
[1] ;
10055 if (!args
) SWIG_fail
;
10056 swig_obj
[0] = args
;
10057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10061 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_Py_Void();
10075 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxRegion
*arg1
= (wxRegion
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 PyObject
* obj2
= 0 ;
10090 char * kwnames
[] = {
10091 (char *) "self",(char *) "x",(char *) "y", NULL
10094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10099 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10101 if (!SWIG_IsOK(ecode2
)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10104 arg2
= static_cast< int >(val2
);
10105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10106 if (!SWIG_IsOK(ecode3
)) {
10107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10109 arg3
= static_cast< int >(val3
);
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10125 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
= 0;
10127 wxRegion
*arg1
= (wxRegion
*) 0 ;
10130 wxRegionContain result
;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 PyObject
* obj2
= 0 ;
10140 char * kwnames
[] = {
10141 (char *) "self",(char *) "x",(char *) "y", NULL
10144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10151 if (!SWIG_IsOK(ecode2
)) {
10152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10154 arg2
= static_cast< int >(val2
);
10155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10156 if (!SWIG_IsOK(ecode3
)) {
10157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10159 arg3
= static_cast< int >(val3
);
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_From_int(static_cast< int >(result
));
10173 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10174 PyObject
*resultobj
= 0;
10175 wxRegion
*arg1
= (wxRegion
*) 0 ;
10176 wxPoint
*arg2
= 0 ;
10177 wxRegionContain result
;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 char * kwnames
[] = {
10184 (char *) "self",(char *) "pt", NULL
10187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10189 if (!SWIG_IsOK(res1
)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10192 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_From_int(static_cast< int >(result
));
10210 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxRegion
*arg1
= (wxRegion
*) 0 ;
10214 wxRegionContain result
;
10218 PyObject
* obj0
= 0 ;
10219 PyObject
* obj1
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "self",(char *) "rect", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10226 if (!SWIG_IsOK(res1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10229 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10232 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int(static_cast< int >(result
));
10247 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= 0;
10249 wxRegion
*arg1
= (wxRegion
*) 0 ;
10254 wxRegionContain result
;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 PyObject
* obj2
= 0 ;
10268 PyObject
* obj3
= 0 ;
10269 PyObject
* obj4
= 0 ;
10270 char * kwnames
[] = {
10271 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10279 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10281 if (!SWIG_IsOK(ecode2
)) {
10282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10284 arg2
= static_cast< int >(val2
);
10285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10286 if (!SWIG_IsOK(ecode3
)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10289 arg3
= static_cast< int >(val3
);
10290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10291 if (!SWIG_IsOK(ecode4
)) {
10292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10294 arg4
= static_cast< int >(val4
);
10295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10296 if (!SWIG_IsOK(ecode5
)) {
10297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10299 arg5
= static_cast< int >(val5
);
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_From_int(static_cast< int >(result
));
10313 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10314 PyObject
*resultobj
= 0;
10315 wxRegion
*arg1
= (wxRegion
*) 0 ;
10319 PyObject
*swig_obj
[1] ;
10321 if (!args
) SWIG_fail
;
10322 swig_obj
[0] = args
;
10323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10324 if (!SWIG_IsOK(res1
)) {
10325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10327 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (arg1
)->GetBox();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10341 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxRegion
*arg1
= (wxRegion
*) 0 ;
10359 PyObject
* obj0
= 0 ;
10360 PyObject
* obj1
= 0 ;
10361 PyObject
* obj2
= 0 ;
10362 PyObject
* obj3
= 0 ;
10363 PyObject
* obj4
= 0 ;
10364 char * kwnames
[] = {
10365 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10370 if (!SWIG_IsOK(res1
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10373 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10375 if (!SWIG_IsOK(ecode2
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10378 arg2
= static_cast< int >(val2
);
10379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10380 if (!SWIG_IsOK(ecode3
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10383 arg3
= static_cast< int >(val3
);
10384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10385 if (!SWIG_IsOK(ecode4
)) {
10386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10388 arg4
= static_cast< int >(val4
);
10389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10390 if (!SWIG_IsOK(ecode5
)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10393 arg5
= static_cast< int >(val5
);
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10409 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
= 0;
10411 wxRegion
*arg1
= (wxRegion
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 char * kwnames
[] = {
10420 (char *) "self",(char *) "rect", NULL
10423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10425 if (!SWIG_IsOK(res1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10428 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10431 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10448 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
= 0;
10450 wxRegion
*arg1
= (wxRegion
*) 0 ;
10451 wxRegion
*arg2
= 0 ;
10457 PyObject
* obj0
= 0 ;
10458 PyObject
* obj1
= 0 ;
10459 char * kwnames
[] = {
10460 (char *) "self",(char *) "region", NULL
10463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10465 if (!SWIG_IsOK(res1
)) {
10466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10468 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10470 if (!SWIG_IsOK(res2
)) {
10471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10476 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxRegion
*arg1
= (wxRegion
*) 0 ;
10498 PyObject
*swig_obj
[1] ;
10500 if (!args
) SWIG_fail
;
10501 swig_obj
[0] = args
;
10502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10503 if (!SWIG_IsOK(res1
)) {
10504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (bool)(arg1
)->IsEmpty();
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10522 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10523 PyObject
*resultobj
= 0;
10524 wxRegion
*arg1
= (wxRegion
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 PyObject
* obj2
= 0 ;
10543 PyObject
* obj3
= 0 ;
10544 PyObject
* obj4
= 0 ;
10545 char * kwnames
[] = {
10546 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10554 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10556 if (!SWIG_IsOK(ecode2
)) {
10557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10559 arg2
= static_cast< int >(val2
);
10560 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10561 if (!SWIG_IsOK(ecode3
)) {
10562 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10564 arg3
= static_cast< int >(val3
);
10565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10566 if (!SWIG_IsOK(ecode4
)) {
10567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10569 arg4
= static_cast< int >(val4
);
10570 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10571 if (!SWIG_IsOK(ecode5
)) {
10572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10574 arg5
= static_cast< int >(val5
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10590 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
= 0;
10592 wxRegion
*arg1
= (wxRegion
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "rect", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10609 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10612 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10629 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
= 0;
10631 wxRegion
*arg1
= (wxRegion
*) 0 ;
10632 wxRegion
*arg2
= 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char * kwnames
[] = {
10641 (char *) "self",(char *) "region", NULL
10644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10649 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10651 if (!SWIG_IsOK(res2
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10657 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
= 0;
10675 wxRegion
*arg1
= (wxRegion
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 PyObject
* obj3
= 0 ;
10695 PyObject
* obj4
= 0 ;
10696 char * kwnames
[] = {
10697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10702 if (!SWIG_IsOK(res1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10705 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10707 if (!SWIG_IsOK(ecode2
)) {
10708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10710 arg2
= static_cast< int >(val2
);
10711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10712 if (!SWIG_IsOK(ecode3
)) {
10713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10715 arg3
= static_cast< int >(val3
);
10716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10717 if (!SWIG_IsOK(ecode4
)) {
10718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10720 arg4
= static_cast< int >(val4
);
10721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10722 if (!SWIG_IsOK(ecode5
)) {
10723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10725 arg5
= static_cast< int >(val5
);
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10741 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
= 0;
10743 wxRegion
*arg1
= (wxRegion
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 char * kwnames
[] = {
10752 (char *) "self",(char *) "rect", NULL
10755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10780 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
= 0;
10782 wxRegion
*arg1
= (wxRegion
*) 0 ;
10783 wxRegion
*arg2
= 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 char * kwnames
[] = {
10792 (char *) "self",(char *) "region", NULL
10795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10797 if (!SWIG_IsOK(res1
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10800 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10802 if (!SWIG_IsOK(res2
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10808 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10824 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
= 0;
10826 wxRegion
*arg1
= (wxRegion
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 PyObject
* obj3
= 0 ;
10846 PyObject
* obj4
= 0 ;
10847 char * kwnames
[] = {
10848 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10853 if (!SWIG_IsOK(res1
)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10856 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10858 if (!SWIG_IsOK(ecode2
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10861 arg2
= static_cast< int >(val2
);
10862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10863 if (!SWIG_IsOK(ecode3
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10866 arg3
= static_cast< int >(val3
);
10867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10868 if (!SWIG_IsOK(ecode4
)) {
10869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10871 arg4
= static_cast< int >(val4
);
10872 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10873 if (!SWIG_IsOK(ecode5
)) {
10874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10876 arg5
= static_cast< int >(val5
);
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10892 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
= 0;
10894 wxRegion
*arg1
= (wxRegion
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 PyObject
* obj1
= 0 ;
10902 char * kwnames
[] = {
10903 (char *) "self",(char *) "rect", NULL
10906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10908 if (!SWIG_IsOK(res1
)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10911 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10931 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= 0;
10933 wxRegion
*arg1
= (wxRegion
*) 0 ;
10934 wxRegion
*arg2
= 0 ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 char * kwnames
[] = {
10943 (char *) "self",(char *) "region", NULL
10946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10948 if (!SWIG_IsOK(res1
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10951 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10953 if (!SWIG_IsOK(res2
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10959 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10975 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10976 PyObject
*resultobj
= 0;
10977 wxRegion
*arg1
= (wxRegion
*) 0 ;
10978 SwigValueWrapper
<wxBitmap
> result
;
10981 PyObject
*swig_obj
[1] ;
10983 if (!args
) SWIG_fail
;
10984 swig_obj
[0] = args
;
10985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10986 if (!SWIG_IsOK(res1
)) {
10987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10989 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (arg1
)->ConvertToBitmap();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11003 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= 0;
11005 wxRegion
*arg1
= (wxRegion
*) 0 ;
11006 wxBitmap
*arg2
= 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 char * kwnames
[] = {
11015 (char *) "self",(char *) "bmp", NULL
11018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11023 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11025 if (!SWIG_IsOK(res2
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11031 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11047 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
= 0;
11049 wxRegion
*arg1
= (wxRegion
*) 0 ;
11050 wxBitmap
*arg2
= 0 ;
11051 wxColour
*arg3
= 0 ;
11052 int arg4
= (int) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 PyObject
* obj2
= 0 ;
11064 PyObject
* obj3
= 0 ;
11065 char * kwnames
[] = {
11066 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11071 if (!SWIG_IsOK(res1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11074 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11076 if (!SWIG_IsOK(res2
)) {
11077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11082 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11085 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11089 if (!SWIG_IsOK(ecode4
)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11092 arg4
= static_cast< int >(val4
);
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11109 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11112 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11113 return SWIG_Py_Void();
11116 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11117 return SWIG_Python_InitShadowInstance(args
);
11120 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
= 0;
11122 wxRegion
*arg1
= 0 ;
11123 wxRegionIterator
*result
= 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char * kwnames
[] = {
11128 (char *) "region", NULL
11131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11133 if (!SWIG_IsOK(res1
)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11139 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11141 if (!wxPyCheckForApp()) SWIG_fail
;
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11154 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 PyObject
*resultobj
= 0;
11156 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11159 PyObject
*swig_obj
[1] ;
11161 if (!args
) SWIG_fail
;
11162 swig_obj
[0] = args
;
11163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11167 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_Py_Void();
11182 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11183 PyObject
*resultobj
= 0;
11184 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11188 PyObject
*swig_obj
[1] ;
11190 if (!args
) SWIG_fail
;
11191 swig_obj
[0] = args
;
11192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11193 if (!SWIG_IsOK(res1
)) {
11194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11196 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (int)(arg1
)->GetX();
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_From_int(static_cast< int >(result
));
11210 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11211 PyObject
*resultobj
= 0;
11212 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11216 PyObject
*swig_obj
[1] ;
11218 if (!args
) SWIG_fail
;
11219 swig_obj
[0] = args
;
11220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11221 if (!SWIG_IsOK(res1
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11224 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (int)(arg1
)->GetY();
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= SWIG_From_int(static_cast< int >(result
));
11238 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11239 PyObject
*resultobj
= 0;
11240 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11244 PyObject
*swig_obj
[1] ;
11246 if (!args
) SWIG_fail
;
11247 swig_obj
[0] = args
;
11248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11249 if (!SWIG_IsOK(res1
)) {
11250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11252 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (int)(arg1
)->GetW();
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_From_int(static_cast< int >(result
));
11266 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11267 PyObject
*resultobj
= 0;
11268 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11272 PyObject
*swig_obj
[1] ;
11274 if (!args
) SWIG_fail
;
11275 swig_obj
[0] = args
;
11276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11277 if (!SWIG_IsOK(res1
)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11280 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (int)(arg1
)->GetWidth();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_From_int(static_cast< int >(result
));
11294 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11295 PyObject
*resultobj
= 0;
11296 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11300 PyObject
*swig_obj
[1] ;
11302 if (!args
) SWIG_fail
;
11303 swig_obj
[0] = args
;
11304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11308 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (int)(arg1
)->GetH();
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_From_int(static_cast< int >(result
));
11322 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11323 PyObject
*resultobj
= 0;
11324 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11328 PyObject
*swig_obj
[1] ;
11330 if (!args
) SWIG_fail
;
11331 swig_obj
[0] = args
;
11332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11336 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (int)(arg1
)->GetHeight();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_From_int(static_cast< int >(result
));
11350 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11351 PyObject
*resultobj
= 0;
11352 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11356 PyObject
*swig_obj
[1] ;
11358 if (!args
) SWIG_fail
;
11359 swig_obj
[0] = args
;
11360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11364 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (arg1
)->GetRect();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11378 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11392 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->HaveRects();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11408 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11409 PyObject
*resultobj
= 0;
11410 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11413 PyObject
*swig_obj
[1] ;
11415 if (!args
) SWIG_fail
;
11416 swig_obj
[0] = args
;
11417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11418 if (!SWIG_IsOK(res1
)) {
11419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11421 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_Py_Void();
11435 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11436 PyObject
*resultobj
= 0;
11437 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11448 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 wxRegionIterator_Next(arg1
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_Py_Void();
11462 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11476 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11492 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11495 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11496 return SWIG_Py_Void();
11499 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11500 return SWIG_Python_InitShadowInstance(args
);
11503 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11504 PyObject
*resultobj
= 0;
11505 wxNativeFontInfo
*result
= 0 ;
11507 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11521 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11522 PyObject
*resultobj
= 0;
11523 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11526 PyObject
*swig_obj
[1] ;
11528 if (!args
) SWIG_fail
;
11529 swig_obj
[0] = args
;
11530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11531 if (!SWIG_IsOK(res1
)) {
11532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11534 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_Py_Void();
11549 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 PyObject
*resultobj
= 0;
11551 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11554 PyObject
*swig_obj
[1] ;
11556 if (!args
) SWIG_fail
;
11557 swig_obj
[0] = args
;
11558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11559 if (!SWIG_IsOK(res1
)) {
11560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11562 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_Py_Void();
11576 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char * kwnames
[] = {
11587 (char *) "self",(char *) "font", NULL
11590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11595 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11597 if (!SWIG_IsOK(res2
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11603 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_Py_Void();
11617 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11618 PyObject
*resultobj
= 0;
11619 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11623 PyObject
*swig_obj
[1] ;
11625 if (!args
) SWIG_fail
;
11626 swig_obj
[0] = args
;
11627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11628 if (!SWIG_IsOK(res1
)) {
11629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11631 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 resultobj
= SWIG_From_int(static_cast< int >(result
));
11645 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11646 PyObject
*resultobj
= 0;
11647 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11648 wxFontStyle result
;
11651 PyObject
*swig_obj
[1] ;
11653 if (!args
) SWIG_fail
;
11654 swig_obj
[0] = args
;
11655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11656 if (!SWIG_IsOK(res1
)) {
11657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11659 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_From_int(static_cast< int >(result
));
11673 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11674 PyObject
*resultobj
= 0;
11675 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11676 wxFontWeight result
;
11679 PyObject
*swig_obj
[1] ;
11681 if (!args
) SWIG_fail
;
11682 swig_obj
[0] = args
;
11683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11684 if (!SWIG_IsOK(res1
)) {
11685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11687 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= SWIG_From_int(static_cast< int >(result
));
11701 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11702 PyObject
*resultobj
= 0;
11703 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11707 PyObject
*swig_obj
[1] ;
11709 if (!args
) SWIG_fail
;
11710 swig_obj
[0] = args
;
11711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11712 if (!SWIG_IsOK(res1
)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11715 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11731 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11732 PyObject
*resultobj
= 0;
11733 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11737 PyObject
*swig_obj
[1] ;
11739 if (!args
) SWIG_fail
;
11740 swig_obj
[0] = args
;
11741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11742 if (!SWIG_IsOK(res1
)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11745 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11765 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11766 PyObject
*resultobj
= 0;
11767 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11768 wxFontFamily result
;
11771 PyObject
*swig_obj
[1] ;
11773 if (!args
) SWIG_fail
;
11774 swig_obj
[0] = args
;
11775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11776 if (!SWIG_IsOK(res1
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11779 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_From_int(static_cast< int >(result
));
11793 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 PyObject
*resultobj
= 0;
11795 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11796 wxFontEncoding result
;
11799 PyObject
*swig_obj
[1] ;
11801 if (!args
) SWIG_fail
;
11802 swig_obj
[0] = args
;
11803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11804 if (!SWIG_IsOK(res1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11807 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int(static_cast< int >(result
));
11821 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
= 0;
11823 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11829 PyObject
* obj0
= 0 ;
11830 PyObject
* obj1
= 0 ;
11831 char * kwnames
[] = {
11832 (char *) "self",(char *) "pointsize", NULL
11835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11837 if (!SWIG_IsOK(res1
)) {
11838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11840 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11842 if (!SWIG_IsOK(ecode2
)) {
11843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11845 arg2
= static_cast< int >(val2
);
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->SetPointSize(arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_Py_Void();
11859 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= 0;
11861 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char * kwnames
[] = {
11870 (char *) "self",(char *) "style", NULL
11873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11878 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11880 if (!SWIG_IsOK(ecode2
)) {
11881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11883 arg2
= static_cast< wxFontStyle
>(val2
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 (arg1
)->SetStyle(arg2
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_Py_Void();
11897 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11898 PyObject
*resultobj
= 0;
11899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11900 wxFontWeight arg2
;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 char * kwnames
[] = {
11908 (char *) "self",(char *) "weight", NULL
11911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11916 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11918 if (!SWIG_IsOK(ecode2
)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11921 arg2
= static_cast< wxFontWeight
>(val2
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 (arg1
)->SetWeight(arg2
);
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_Py_Void();
11935 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
= 0;
11937 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 char * kwnames
[] = {
11946 (char *) "self",(char *) "underlined", NULL
11949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11951 if (!SWIG_IsOK(res1
)) {
11952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11954 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11955 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11956 if (!SWIG_IsOK(ecode2
)) {
11957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11959 arg2
= static_cast< bool >(val2
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetUnderlined(arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_Py_Void();
11973 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
= 0;
11975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 char * kwnames
[] = {
11983 (char *) "self",(char *) "facename", NULL
11986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11988 if (!SWIG_IsOK(res1
)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11991 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11993 wxString
* sptr
= wxString_in_helper(obj1
);
11994 if (sptr
== NULL
) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (bool)(arg1
)->SetFaceName(arg2
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12013 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
= 0;
12015 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12016 wxFontFamily arg2
;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char * kwnames
[] = {
12024 (char *) "self",(char *) "family", NULL
12027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12032 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12034 if (!SWIG_IsOK(ecode2
)) {
12035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12037 arg2
= static_cast< wxFontFamily
>(val2
);
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->SetFamily(arg2
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_Py_Void();
12051 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
= 0;
12053 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12054 wxFontEncoding arg2
;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char * kwnames
[] = {
12062 (char *) "self",(char *) "encoding", NULL
12065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12070 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12072 if (!SWIG_IsOK(ecode2
)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12075 arg2
= static_cast< wxFontEncoding
>(val2
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetEncoding(arg2
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
= 0;
12091 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12092 wxString
*arg2
= 0 ;
12096 bool temp2
= false ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char * kwnames
[] = {
12100 (char *) "self",(char *) "s", NULL
12103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12108 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12110 arg2
= wxString_in_helper(obj1
);
12111 if (arg2
== NULL
) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12137 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12138 PyObject
*resultobj
= 0;
12139 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12143 PyObject
*swig_obj
[1] ;
12145 if (!args
) SWIG_fail
;
12146 swig_obj
[0] = args
;
12147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12151 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12171 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12177 PyObject
*swig_obj
[1] ;
12179 if (!args
) SWIG_fail
;
12180 swig_obj
[0] = args
;
12181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12185 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= wxNativeFontInfo___str__(arg1
);
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12205 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
= 0;
12207 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12208 wxString
*arg2
= 0 ;
12212 bool temp2
= false ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 char * kwnames
[] = {
12216 (char *) "self",(char *) "s", NULL
12219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12221 if (!SWIG_IsOK(res1
)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12224 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12226 arg2
= wxString_in_helper(obj1
);
12227 if (arg2
== NULL
) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12253 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12254 PyObject
*resultobj
= 0;
12255 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12259 PyObject
*swig_obj
[1] ;
12261 if (!args
) SWIG_fail
;
12262 swig_obj
[0] = args
;
12263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12264 if (!SWIG_IsOK(res1
)) {
12265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12267 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12287 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12290 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12291 return SWIG_Py_Void();
12294 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 return SWIG_Python_InitShadowInstance(args
);
12298 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12301 wxString
*arg2
= (wxString
*) 0 ;
12304 bool temp2
= false ;
12305 PyObject
*swig_obj
[2] ;
12307 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12312 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12314 arg2
= wxString_in_helper(swig_obj
[1]);
12315 if (arg2
== NULL
) SWIG_fail
;
12318 if (arg1
) (arg1
)->facename
= *arg2
;
12320 resultobj
= SWIG_Py_Void();
12335 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 PyObject
*resultobj
= 0;
12337 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12338 wxString
*result
= 0 ;
12341 PyObject
*swig_obj
[1] ;
12343 if (!args
) SWIG_fail
;
12344 swig_obj
[0] = args
;
12345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12349 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12350 result
= (wxString
*)& ((arg1
)->facename
);
12353 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12355 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12364 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 PyObject
*resultobj
= 0;
12366 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12367 wxFontEncoding arg2
;
12372 PyObject
*swig_obj
[2] ;
12374 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12379 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12380 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12381 if (!SWIG_IsOK(ecode2
)) {
12382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12384 arg2
= static_cast< wxFontEncoding
>(val2
);
12385 if (arg1
) (arg1
)->encoding
= arg2
;
12387 resultobj
= SWIG_Py_Void();
12394 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12396 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12397 wxFontEncoding result
;
12400 PyObject
*swig_obj
[1] ;
12402 if (!args
) SWIG_fail
;
12403 swig_obj
[0] = args
;
12404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12408 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12409 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12410 resultobj
= SWIG_From_int(static_cast< int >(result
));
12417 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxNativeEncodingInfo
*result
= 0 ;
12421 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12435 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12440 PyObject
*swig_obj
[1] ;
12442 if (!args
) SWIG_fail
;
12443 swig_obj
[0] = args
;
12444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12448 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= SWIG_Py_Void();
12463 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
= 0;
12465 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12466 wxString
*arg2
= 0 ;
12470 bool temp2
= false ;
12471 PyObject
* obj0
= 0 ;
12472 PyObject
* obj1
= 0 ;
12473 char * kwnames
[] = {
12474 (char *) "self",(char *) "s", NULL
12477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12479 if (!SWIG_IsOK(res1
)) {
12480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12482 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12484 arg2
= wxString_in_helper(obj1
);
12485 if (arg2
== NULL
) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12511 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12512 PyObject
*resultobj
= 0;
12513 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12517 PyObject
*swig_obj
[1] ;
12519 if (!args
) SWIG_fail
;
12520 swig_obj
[0] = args
;
12521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12522 if (!SWIG_IsOK(res1
)) {
12523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12525 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12545 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12548 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12549 return SWIG_Py_Void();
12552 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12553 return SWIG_Python_InitShadowInstance(args
);
12556 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
= 0;
12558 wxFontEncoding arg1
;
12559 wxNativeEncodingInfo
*result
= 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char * kwnames
[] = {
12564 (char *) "encoding", NULL
12567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12569 if (!SWIG_IsOK(ecode1
)) {
12570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12572 arg1
= static_cast< wxFontEncoding
>(val1
);
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12586 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
= 0;
12588 wxNativeEncodingInfo
*arg1
= 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char * kwnames
[] = {
12594 (char *) "info", NULL
12597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12598 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12605 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12621 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12622 PyObject
*resultobj
= 0;
12623 wxFontMapper
*result
= 0 ;
12625 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (wxFontMapper
*)new wxFontMapper();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12639 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12640 PyObject
*resultobj
= 0;
12641 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12644 PyObject
*swig_obj
[1] ;
12646 if (!args
) SWIG_fail
;
12647 swig_obj
[0] = args
;
12648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12649 if (!SWIG_IsOK(res1
)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12652 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= SWIG_Py_Void();
12667 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12668 PyObject
*resultobj
= 0;
12669 wxFontMapper
*result
= 0 ;
12671 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (wxFontMapper
*)wxFontMapper::Get();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12685 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
= 0;
12687 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12688 wxFontMapper
*result
= 0 ;
12691 PyObject
* obj0
= 0 ;
12692 char * kwnames
[] = {
12693 (char *) "mapper", NULL
12696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12698 if (!SWIG_IsOK(res1
)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12701 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12705 wxPyEndAllowThreads(__tstate
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12715 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12718 wxString
*arg2
= 0 ;
12719 bool arg3
= (bool) true ;
12720 wxFontEncoding result
;
12723 bool temp2
= false ;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 PyObject
* obj2
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12738 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12740 arg2
= wxString_in_helper(obj1
);
12741 if (arg2
== NULL
) SWIG_fail
;
12745 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12746 if (!SWIG_IsOK(ecode3
)) {
12747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12749 arg3
= static_cast< bool >(val3
);
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= SWIG_From_int(static_cast< int >(result
));
12772 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12773 PyObject
*resultobj
= 0;
12776 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12790 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12793 wxFontEncoding result
;
12796 PyObject
* obj0
= 0 ;
12797 char * kwnames
[] = {
12801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12802 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12803 if (!SWIG_IsOK(ecode1
)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12806 arg1
= static_cast< size_t >(val1
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_From_int(static_cast< int >(result
));
12820 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
= 0;
12822 wxFontEncoding arg1
;
12826 PyObject
* obj0
= 0 ;
12827 char * kwnames
[] = {
12828 (char *) "encoding", NULL
12831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12833 if (!SWIG_IsOK(ecode1
)) {
12834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12836 arg1
= static_cast< wxFontEncoding
>(val1
);
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= wxFontMapper::GetEncodingName(arg1
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12856 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= 0;
12858 wxFontEncoding arg1
;
12862 PyObject
* obj0
= 0 ;
12863 char * kwnames
[] = {
12864 (char *) "encoding", NULL
12867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12869 if (!SWIG_IsOK(ecode1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12872 arg1
= static_cast< wxFontEncoding
>(val1
);
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= wxFontMapper::GetEncodingDescription(arg1
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12892 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
= 0;
12894 wxString
*arg1
= 0 ;
12895 wxFontEncoding result
;
12896 bool temp1
= false ;
12897 PyObject
* obj0
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "name", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12904 arg1
= wxString_in_helper(obj0
);
12905 if (arg1
== NULL
) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= SWIG_From_int(static_cast< int >(result
));
12929 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
= 0;
12931 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12932 wxString
*arg2
= 0 ;
12935 bool temp2
= false ;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 char * kwnames
[] = {
12939 (char *) "self",(char *) "prefix", NULL
12942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12944 if (!SWIG_IsOK(res1
)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12947 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12949 arg2
= wxString_in_helper(obj1
);
12950 if (arg2
== NULL
) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_Py_Void();
12974 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12978 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= wxFontMapper::GetDefaultConfigPath();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12998 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
= 0;
13000 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13001 wxFontEncoding arg2
;
13002 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13003 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13004 bool arg4
= (bool) true ;
13005 PyObject
*result
= 0 ;
13010 bool temp3
= false ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 PyObject
* obj2
= 0 ;
13016 PyObject
* obj3
= 0 ;
13017 char * kwnames
[] = {
13018 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13023 if (!SWIG_IsOK(res1
)) {
13024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13026 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13028 if (!SWIG_IsOK(ecode2
)) {
13029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13031 arg2
= static_cast< wxFontEncoding
>(val2
);
13034 arg3
= wxString_in_helper(obj2
);
13035 if (arg3
== NULL
) SWIG_fail
;
13040 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13041 if (!SWIG_IsOK(ecode4
)) {
13042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13044 arg4
= static_cast< bool >(val4
);
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= result
;
13067 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
= 0;
13069 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13070 wxFontEncoding arg2
;
13071 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13078 bool temp3
= false ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13091 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13093 if (!SWIG_IsOK(ecode2
)) {
13094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13096 arg2
= static_cast< wxFontEncoding
>(val2
);
13099 arg3
= wxString_in_helper(obj2
);
13100 if (arg3
== NULL
) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13127 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13130 wxWindow
*arg2
= (wxWindow
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "parent", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13146 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13148 if (!SWIG_IsOK(res2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13151 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetDialogParent(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_Py_Void();
13165 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
= 0;
13167 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13168 wxString
*arg2
= 0 ;
13171 bool temp2
= false ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char * kwnames
[] = {
13175 (char *) "self",(char *) "title", NULL
13178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13183 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13185 arg2
= wxString_in_helper(obj1
);
13186 if (arg2
== NULL
) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 resultobj
= SWIG_Py_Void();
13210 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13213 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13214 return SWIG_Py_Void();
13217 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13218 return SWIG_Python_InitShadowInstance(args
);
13221 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
= 0;
13227 bool arg5
= (bool) false ;
13228 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13229 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13230 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13231 wxFont
*result
= 0 ;
13242 bool temp6
= false ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 PyObject
* obj2
= 0 ;
13248 PyObject
* obj3
= 0 ;
13249 PyObject
* obj4
= 0 ;
13250 PyObject
* obj5
= 0 ;
13251 PyObject
* obj6
= 0 ;
13252 char * kwnames
[] = {
13253 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13258 if (!SWIG_IsOK(ecode1
)) {
13259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13261 arg1
= static_cast< int >(val1
);
13262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13263 if (!SWIG_IsOK(ecode2
)) {
13264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13266 arg2
= static_cast< int >(val2
);
13267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13268 if (!SWIG_IsOK(ecode3
)) {
13269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13271 arg3
= static_cast< int >(val3
);
13272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13273 if (!SWIG_IsOK(ecode4
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13276 arg4
= static_cast< int >(val4
);
13278 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13279 if (!SWIG_IsOK(ecode5
)) {
13280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13282 arg5
= static_cast< bool >(val5
);
13286 arg6
= wxString_in_helper(obj5
);
13287 if (arg6
== NULL
) SWIG_fail
;
13292 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13293 if (!SWIG_IsOK(ecode7
)) {
13294 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13296 arg7
= static_cast< wxFontEncoding
>(val7
);
13299 if (!wxPyCheckForApp()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13320 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13321 PyObject
*resultobj
= 0;
13322 wxFont
*arg1
= (wxFont
*) 0 ;
13325 PyObject
*swig_obj
[1] ;
13327 if (!args
) SWIG_fail
;
13328 swig_obj
[0] = args
;
13329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13333 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_Py_Void();
13348 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
= 0;
13350 wxNativeFontInfo
*arg1
= 0 ;
13351 wxFont
*result
= 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char * kwnames
[] = {
13356 (char *) "info", NULL
13359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13360 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13367 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13369 if (!wxPyCheckForApp()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13382 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
= 0;
13384 wxString
*arg1
= 0 ;
13385 wxFont
*result
= 0 ;
13386 bool temp1
= false ;
13387 PyObject
* obj0
= 0 ;
13388 char * kwnames
[] = {
13389 (char *) "info", NULL
13392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13394 arg1
= wxString_in_helper(obj0
);
13395 if (arg1
== NULL
) SWIG_fail
;
13399 if (!wxPyCheckForApp()) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13420 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13423 wxFontFamily arg2
;
13424 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13425 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13426 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13427 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13428 wxFont
*result
= 0 ;
13435 bool temp4
= false ;
13438 PyObject
* obj0
= 0 ;
13439 PyObject
* obj1
= 0 ;
13440 PyObject
* obj2
= 0 ;
13441 PyObject
* obj3
= 0 ;
13442 PyObject
* obj4
= 0 ;
13443 char * kwnames
[] = {
13444 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13448 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13449 if (!SWIG_IsOK(ecode1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13452 arg1
= static_cast< int >(val1
);
13453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13454 if (!SWIG_IsOK(ecode2
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13457 arg2
= static_cast< wxFontFamily
>(val2
);
13459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13460 if (!SWIG_IsOK(ecode3
)) {
13461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13463 arg3
= static_cast< int >(val3
);
13467 arg4
= wxString_in_helper(obj3
);
13468 if (arg4
== NULL
) SWIG_fail
;
13473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13474 if (!SWIG_IsOK(ecode5
)) {
13475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13477 arg5
= static_cast< wxFontEncoding
>(val5
);
13480 if (!wxPyCheckForApp()) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13501 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
= 0;
13507 bool arg5
= (bool) false ;
13508 wxString
const &arg6_defvalue
= wxEmptyString
;
13509 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13510 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13511 wxFont
*result
= 0 ;
13521 bool temp6
= false ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 PyObject
* obj2
= 0 ;
13527 PyObject
* obj3
= 0 ;
13528 PyObject
* obj4
= 0 ;
13529 PyObject
* obj5
= 0 ;
13530 PyObject
* obj6
= 0 ;
13531 char * kwnames
[] = {
13532 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13538 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13541 if (!SWIG_IsOK(ecode2
)) {
13542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13544 arg2
= static_cast< int >(val2
);
13545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13546 if (!SWIG_IsOK(ecode3
)) {
13547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13549 arg3
= static_cast< int >(val3
);
13550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13551 if (!SWIG_IsOK(ecode4
)) {
13552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13554 arg4
= static_cast< int >(val4
);
13556 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13557 if (!SWIG_IsOK(ecode5
)) {
13558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13560 arg5
= static_cast< bool >(val5
);
13564 arg6
= wxString_in_helper(obj5
);
13565 if (arg6
== NULL
) SWIG_fail
;
13570 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13571 if (!SWIG_IsOK(ecode7
)) {
13572 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13574 arg7
= static_cast< wxFontEncoding
>(val7
);
13577 if (!wxPyCheckForApp()) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13598 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
= 0;
13601 wxFontFamily arg2
;
13602 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13603 wxString
const &arg4_defvalue
= wxEmptyString
;
13604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13605 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13606 wxFont
*result
= 0 ;
13612 bool temp4
= false ;
13615 PyObject
* obj0
= 0 ;
13616 PyObject
* obj1
= 0 ;
13617 PyObject
* obj2
= 0 ;
13618 PyObject
* obj3
= 0 ;
13619 PyObject
* obj4
= 0 ;
13620 char * kwnames
[] = {
13621 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13627 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13630 if (!SWIG_IsOK(ecode2
)) {
13631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13633 arg2
= static_cast< wxFontFamily
>(val2
);
13635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13636 if (!SWIG_IsOK(ecode3
)) {
13637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13639 arg3
= static_cast< int >(val3
);
13643 arg4
= wxString_in_helper(obj3
);
13644 if (arg4
== NULL
) SWIG_fail
;
13649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13650 if (!SWIG_IsOK(ecode5
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13653 arg5
= static_cast< wxFontEncoding
>(val5
);
13656 if (!wxPyCheckForApp()) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13677 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13678 PyObject
*resultobj
= 0;
13679 wxFont
*arg1
= (wxFont
*) 0 ;
13683 PyObject
*swig_obj
[1] ;
13685 if (!args
) SWIG_fail
;
13686 swig_obj
[0] = args
;
13687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13691 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (bool)((wxFont
const *)arg1
)->Ok();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= 0;
13709 wxFont
*arg1
= (wxFont
*) 0 ;
13710 wxFont
*arg2
= (wxFont
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 PyObject
* obj1
= 0 ;
13718 char * kwnames
[] = {
13719 (char *) "self",(char *) "other", NULL
13722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13724 if (!SWIG_IsOK(res1
)) {
13725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13727 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13729 if (!SWIG_IsOK(res2
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13732 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13748 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 wxFont
*arg1
= (wxFont
*) 0 ;
13751 wxFont
*arg2
= (wxFont
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 char * kwnames
[] = {
13760 (char *) "self",(char *) "other", NULL
13763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13765 if (!SWIG_IsOK(res1
)) {
13766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13768 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13770 if (!SWIG_IsOK(res2
)) {
13771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13773 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13776 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13789 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13790 PyObject
*resultobj
= 0;
13791 wxFont
*arg1
= (wxFont
*) 0 ;
13795 PyObject
*swig_obj
[1] ;
13797 if (!args
) SWIG_fail
;
13798 swig_obj
[0] = args
;
13799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13800 if (!SWIG_IsOK(res1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13803 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 resultobj
= SWIG_From_int(static_cast< int >(result
));
13817 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13818 PyObject
*resultobj
= 0;
13819 wxFont
*arg1
= (wxFont
*) 0 ;
13823 PyObject
*swig_obj
[1] ;
13825 if (!args
) SWIG_fail
;
13826 swig_obj
[0] = args
;
13827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13831 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13845 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13846 PyObject
*resultobj
= 0;
13847 wxFont
*arg1
= (wxFont
*) 0 ;
13851 PyObject
*swig_obj
[1] ;
13853 if (!args
) SWIG_fail
;
13854 swig_obj
[0] = args
;
13855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13859 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13875 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13876 PyObject
*resultobj
= 0;
13877 wxFont
*arg1
= (wxFont
*) 0 ;
13881 PyObject
*swig_obj
[1] ;
13883 if (!args
) SWIG_fail
;
13884 swig_obj
[0] = args
;
13885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13886 if (!SWIG_IsOK(res1
)) {
13887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13889 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_From_int(static_cast< int >(result
));
13903 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13904 PyObject
*resultobj
= 0;
13905 wxFont
*arg1
= (wxFont
*) 0 ;
13909 PyObject
*swig_obj
[1] ;
13911 if (!args
) SWIG_fail
;
13912 swig_obj
[0] = args
;
13913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13914 if (!SWIG_IsOK(res1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13917 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_From_int(static_cast< int >(result
));
13931 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13932 PyObject
*resultobj
= 0;
13933 wxFont
*arg1
= (wxFont
*) 0 ;
13937 PyObject
*swig_obj
[1] ;
13939 if (!args
) SWIG_fail
;
13940 swig_obj
[0] = args
;
13941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13942 if (!SWIG_IsOK(res1
)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13945 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_From_int(static_cast< int >(result
));
13959 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13960 PyObject
*resultobj
= 0;
13961 wxFont
*arg1
= (wxFont
*) 0 ;
13965 PyObject
*swig_obj
[1] ;
13967 if (!args
) SWIG_fail
;
13968 swig_obj
[0] = args
;
13969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13970 if (!SWIG_IsOK(res1
)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13973 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13989 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13990 PyObject
*resultobj
= 0;
13991 wxFont
*arg1
= (wxFont
*) 0 ;
13995 PyObject
*swig_obj
[1] ;
13997 if (!args
) SWIG_fail
;
13998 swig_obj
[0] = args
;
13999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14000 if (!SWIG_IsOK(res1
)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14003 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 result
= ((wxFont
const *)arg1
)->GetFaceName();
14007 wxPyEndAllowThreads(__tstate
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14023 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14024 PyObject
*resultobj
= 0;
14025 wxFont
*arg1
= (wxFont
*) 0 ;
14026 wxFontEncoding result
;
14029 PyObject
*swig_obj
[1] ;
14031 if (!args
) SWIG_fail
;
14032 swig_obj
[0] = args
;
14033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14034 if (!SWIG_IsOK(res1
)) {
14035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14037 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14041 wxPyEndAllowThreads(__tstate
);
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= SWIG_From_int(static_cast< int >(result
));
14051 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14052 PyObject
*resultobj
= 0;
14053 wxFont
*arg1
= (wxFont
*) 0 ;
14054 wxNativeFontInfo
*result
= 0 ;
14057 PyObject
*swig_obj
[1] ;
14059 if (!args
) SWIG_fail
;
14060 swig_obj
[0] = args
;
14061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14062 if (!SWIG_IsOK(res1
)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14065 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14079 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14080 PyObject
*resultobj
= 0;
14081 wxFont
*arg1
= (wxFont
*) 0 ;
14085 PyObject
*swig_obj
[1] ;
14087 if (!args
) SWIG_fail
;
14088 swig_obj
[0] = args
;
14089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14090 if (!SWIG_IsOK(res1
)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14093 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14110 PyObject
*resultobj
= 0;
14111 wxFont
*arg1
= (wxFont
*) 0 ;
14115 PyObject
*swig_obj
[1] ;
14117 if (!args
) SWIG_fail
;
14118 swig_obj
[0] = args
;
14119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14123 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14143 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14144 PyObject
*resultobj
= 0;
14145 wxFont
*arg1
= (wxFont
*) 0 ;
14149 PyObject
*swig_obj
[1] ;
14151 if (!args
) SWIG_fail
;
14152 swig_obj
[0] = args
;
14153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14154 if (!SWIG_IsOK(res1
)) {
14155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14157 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14161 wxPyEndAllowThreads(__tstate
);
14162 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14177 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
= 0;
14179 wxFont
*arg1
= (wxFont
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char * kwnames
[] = {
14188 (char *) "self",(char *) "pointSize", NULL
14191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14193 if (!SWIG_IsOK(res1
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14196 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14198 if (!SWIG_IsOK(ecode2
)) {
14199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14201 arg2
= static_cast< int >(val2
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 (arg1
)->SetPointSize(arg2
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_Py_Void();
14215 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
= 0;
14217 wxFont
*arg1
= (wxFont
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char * kwnames
[] = {
14225 (char *) "self",(char *) "pixelSize", NULL
14228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14233 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14236 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14244 resultobj
= SWIG_Py_Void();
14251 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14252 PyObject
*resultobj
= 0;
14253 wxFont
*arg1
= (wxFont
*) 0 ;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 char * kwnames
[] = {
14262 (char *) "self",(char *) "family", NULL
14265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14267 if (!SWIG_IsOK(res1
)) {
14268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14270 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14272 if (!SWIG_IsOK(ecode2
)) {
14273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14275 arg2
= static_cast< int >(val2
);
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 (arg1
)->SetFamily(arg2
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_Py_Void();
14289 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 PyObject
* obj1
= 0 ;
14299 char * kwnames
[] = {
14300 (char *) "self",(char *) "style", NULL
14303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14308 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14310 if (!SWIG_IsOK(ecode2
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14313 arg2
= static_cast< int >(val2
);
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 (arg1
)->SetStyle(arg2
);
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= SWIG_Py_Void();
14327 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14328 PyObject
*resultobj
= 0;
14329 wxFont
*arg1
= (wxFont
*) 0 ;
14335 PyObject
* obj0
= 0 ;
14336 PyObject
* obj1
= 0 ;
14337 char * kwnames
[] = {
14338 (char *) "self",(char *) "weight", NULL
14341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14343 if (!SWIG_IsOK(res1
)) {
14344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14346 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14348 if (!SWIG_IsOK(ecode2
)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14351 arg2
= static_cast< int >(val2
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->SetWeight(arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_Py_Void();
14365 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxFont
*arg1
= (wxFont
*) 0 ;
14368 wxString
*arg2
= 0 ;
14372 bool temp2
= false ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 char * kwnames
[] = {
14376 (char *) "self",(char *) "faceName", NULL
14379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14386 arg2
= wxString_in_helper(obj1
);
14387 if (arg2
== NULL
) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14413 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
= 0;
14415 wxFont
*arg1
= (wxFont
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char * kwnames
[] = {
14424 (char *) "self",(char *) "underlined", NULL
14427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14432 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14434 if (!SWIG_IsOK(ecode2
)) {
14435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14437 arg2
= static_cast< bool >(val2
);
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 (arg1
)->SetUnderlined(arg2
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_Py_Void();
14451 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
= 0;
14453 wxFont
*arg1
= (wxFont
*) 0 ;
14454 wxFontEncoding arg2
;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 char * kwnames
[] = {
14462 (char *) "self",(char *) "encoding", NULL
14465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14470 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14472 if (!SWIG_IsOK(ecode2
)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14475 arg2
= static_cast< wxFontEncoding
>(val2
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 (arg1
)->SetEncoding(arg2
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_Py_Void();
14489 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= 0;
14491 wxFont
*arg1
= (wxFont
*) 0 ;
14492 wxNativeFontInfo
*arg2
= 0 ;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 char * kwnames
[] = {
14500 (char *) "self",(char *) "info", NULL
14503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14505 if (!SWIG_IsOK(res1
)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14508 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14510 if (!SWIG_IsOK(res2
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14516 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= SWIG_Py_Void();
14530 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxFont
*arg1
= (wxFont
*) 0 ;
14533 wxString
*arg2
= 0 ;
14537 bool temp2
= false ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char * kwnames
[] = {
14541 (char *) "self",(char *) "info", NULL
14544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14549 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14551 arg2
= wxString_in_helper(obj1
);
14552 if (arg2
== NULL
) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14578 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
= 0;
14580 wxFont
*arg1
= (wxFont
*) 0 ;
14581 wxString
*arg2
= 0 ;
14585 bool temp2
= false ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char * kwnames
[] = {
14589 (char *) "self",(char *) "info", NULL
14592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14594 if (!SWIG_IsOK(res1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14597 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14599 arg2
= wxString_in_helper(obj1
);
14600 if (arg2
== NULL
) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14626 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14627 PyObject
*resultobj
= 0;
14628 wxFont
*arg1
= (wxFont
*) 0 ;
14632 PyObject
*swig_obj
[1] ;
14634 if (!args
) SWIG_fail
;
14635 swig_obj
[0] = args
;
14636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14637 if (!SWIG_IsOK(res1
)) {
14638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14640 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14644 wxPyEndAllowThreads(__tstate
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14660 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14661 PyObject
*resultobj
= 0;
14662 wxFont
*arg1
= (wxFont
*) 0 ;
14666 PyObject
*swig_obj
[1] ;
14668 if (!args
) SWIG_fail
;
14669 swig_obj
[0] = args
;
14670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14671 if (!SWIG_IsOK(res1
)) {
14672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14674 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= ((wxFont
const *)arg1
)->GetStyleString();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14694 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14695 PyObject
*resultobj
= 0;
14696 wxFont
*arg1
= (wxFont
*) 0 ;
14700 PyObject
*swig_obj
[1] ;
14702 if (!args
) SWIG_fail
;
14703 swig_obj
[0] = args
;
14704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14705 if (!SWIG_IsOK(res1
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14708 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= ((wxFont
const *)arg1
)->GetWeightString();
14712 wxPyEndAllowThreads(__tstate
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14728 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
= 0;
14730 wxFont
*arg1
= (wxFont
*) 0 ;
14731 bool arg2
= (bool) true ;
14736 PyObject
* obj0
= 0 ;
14737 PyObject
* obj1
= 0 ;
14738 char * kwnames
[] = {
14739 (char *) "self",(char *) "no", NULL
14742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14744 if (!SWIG_IsOK(res1
)) {
14745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14747 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14749 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14750 if (!SWIG_IsOK(ecode2
)) {
14751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14753 arg2
= static_cast< bool >(val2
);
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 (arg1
)->SetNoAntiAliasing(arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_Py_Void();
14768 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14769 PyObject
*resultobj
= 0;
14770 wxFont
*arg1
= (wxFont
*) 0 ;
14774 PyObject
*swig_obj
[1] ;
14776 if (!args
) SWIG_fail
;
14777 swig_obj
[0] = args
;
14778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14782 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14798 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14799 PyObject
*resultobj
= 0;
14800 wxFontEncoding result
;
14802 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14804 if (!wxPyCheckForApp()) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_From_int(static_cast< int >(result
));
14817 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
= 0;
14819 wxFontEncoding arg1
;
14822 PyObject
* obj0
= 0 ;
14823 char * kwnames
[] = {
14824 (char *) "encoding", NULL
14827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14828 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14829 if (!SWIG_IsOK(ecode1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14832 arg1
= static_cast< wxFontEncoding
>(val1
);
14834 if (!wxPyCheckForApp()) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 wxFont::SetDefaultEncoding(arg1
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 resultobj
= SWIG_Py_Void();
14847 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14850 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14851 return SWIG_Py_Void();
14854 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14855 return SWIG_Python_InitShadowInstance(args
);
14858 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 PyObject
*resultobj
= 0;
14860 wxPyFontEnumerator
*result
= 0 ;
14862 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14864 if (!wxPyCheckForApp()) SWIG_fail
;
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14877 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14878 PyObject
*resultobj
= 0;
14879 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14882 PyObject
*swig_obj
[1] ;
14884 if (!args
) SWIG_fail
;
14885 swig_obj
[0] = args
;
14886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14887 if (!SWIG_IsOK(res1
)) {
14888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14890 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_Py_Void();
14905 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
= 0;
14907 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14908 PyObject
*arg2
= (PyObject
*) 0 ;
14909 PyObject
*arg3
= (PyObject
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 PyObject
* obj3
= 0 ;
14919 char * kwnames
[] = {
14920 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14928 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14931 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14932 if (!SWIG_IsOK(ecode4
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14935 arg4
= static_cast< bool >(val4
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_Py_Void();
14949 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= 0;
14951 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14952 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14953 bool arg3
= (bool) false ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 PyObject
* obj2
= 0 ;
14964 char * kwnames
[] = {
14965 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14970 if (!SWIG_IsOK(res1
)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14973 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14976 if (!SWIG_IsOK(ecode2
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14979 arg2
= static_cast< wxFontEncoding
>(val2
);
14982 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14983 if (!SWIG_IsOK(ecode3
)) {
14984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14986 arg3
= static_cast< bool >(val3
);
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15003 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15006 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15007 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15011 bool temp2
= false ;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char * kwnames
[] = {
15015 (char *) "self",(char *) "facename", NULL
15018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15020 if (!SWIG_IsOK(res1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15023 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15026 arg2
= wxString_in_helper(obj1
);
15027 if (arg2
== NULL
) SWIG_fail
;
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15054 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15055 PyObject
*resultobj
= 0;
15056 PyObject
*result
= 0 ;
15058 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
;
15072 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15073 PyObject
*resultobj
= 0;
15074 PyObject
*result
= 0 ;
15076 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= result
;
15090 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
= 0;
15092 wxString
*arg1
= 0 ;
15094 bool temp1
= false ;
15095 PyObject
* obj0
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "str", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15102 arg1
= wxString_in_helper(obj0
);
15103 if (arg1
== NULL
) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15129 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15132 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15133 return SWIG_Py_Void();
15136 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15137 return SWIG_Python_InitShadowInstance(args
);
15140 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 PyObject
*resultobj
= 0;
15142 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15148 PyObject
*swig_obj
[2] ;
15150 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15152 if (!SWIG_IsOK(res1
)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15155 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15156 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15157 if (!SWIG_IsOK(ecode2
)) {
15158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15160 arg2
= static_cast< int >(val2
);
15161 if (arg1
) (arg1
)->Language
= arg2
;
15163 resultobj
= SWIG_Py_Void();
15170 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15171 PyObject
*resultobj
= 0;
15172 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15176 PyObject
*swig_obj
[1] ;
15178 if (!args
) SWIG_fail
;
15179 swig_obj
[0] = args
;
15180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15181 if (!SWIG_IsOK(res1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15184 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15185 result
= (int) ((arg1
)->Language
);
15186 resultobj
= SWIG_From_int(static_cast< int >(result
));
15193 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15194 PyObject
*resultobj
= 0;
15195 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15196 wxString
*arg2
= (wxString
*) 0 ;
15199 bool temp2
= false ;
15200 PyObject
*swig_obj
[2] ;
15202 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15204 if (!SWIG_IsOK(res1
)) {
15205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15207 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15209 arg2
= wxString_in_helper(swig_obj
[1]);
15210 if (arg2
== NULL
) SWIG_fail
;
15213 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15215 resultobj
= SWIG_Py_Void();
15230 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15231 PyObject
*resultobj
= 0;
15232 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15233 wxString
*result
= 0 ;
15236 PyObject
*swig_obj
[1] ;
15238 if (!args
) SWIG_fail
;
15239 swig_obj
[0] = args
;
15240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15241 if (!SWIG_IsOK(res1
)) {
15242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15244 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15245 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15259 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15260 PyObject
*resultobj
= 0;
15261 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15262 wxString
*arg2
= (wxString
*) 0 ;
15265 bool temp2
= false ;
15266 PyObject
*swig_obj
[2] ;
15268 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15270 if (!SWIG_IsOK(res1
)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15273 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15275 arg2
= wxString_in_helper(swig_obj
[1]);
15276 if (arg2
== NULL
) SWIG_fail
;
15279 if (arg1
) (arg1
)->Description
= *arg2
;
15281 resultobj
= SWIG_Py_Void();
15296 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15297 PyObject
*resultobj
= 0;
15298 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15299 wxString
*result
= 0 ;
15302 PyObject
*swig_obj
[1] ;
15304 if (!args
) SWIG_fail
;
15305 swig_obj
[0] = args
;
15306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15307 if (!SWIG_IsOK(res1
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15310 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15311 result
= (wxString
*)& ((arg1
)->Description
);
15314 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15316 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15325 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15328 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15329 return SWIG_Py_Void();
15332 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 int arg1
= (int) -1 ;
15335 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15336 wxLocale
*result
= 0 ;
15341 PyObject
* obj0
= 0 ;
15342 PyObject
* obj1
= 0 ;
15343 char * kwnames
[] = {
15344 (char *) "language",(char *) "flags", NULL
15347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15350 if (!SWIG_IsOK(ecode1
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15353 arg1
= static_cast< int >(val1
);
15356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15357 if (!SWIG_IsOK(ecode2
)) {
15358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15360 arg2
= static_cast< int >(val2
);
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15375 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxLocale
*arg1
= (wxLocale
*) 0 ;
15380 PyObject
*swig_obj
[1] ;
15382 if (!args
) SWIG_fail
;
15383 swig_obj
[0] = args
;
15384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15388 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_Py_Void();
15403 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= 0;
15405 wxLocale
*arg1
= (wxLocale
*) 0 ;
15406 wxString
*arg2
= 0 ;
15407 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15411 bool arg5
= (bool) true ;
15412 bool arg6
= (bool) false ;
15416 bool temp2
= false ;
15417 bool temp3
= false ;
15418 bool temp4
= false ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 PyObject
* obj2
= 0 ;
15426 PyObject
* obj3
= 0 ;
15427 PyObject
* obj4
= 0 ;
15428 PyObject
* obj5
= 0 ;
15429 char * kwnames
[] = {
15430 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15435 if (!SWIG_IsOK(res1
)) {
15436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15438 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15440 arg2
= wxString_in_helper(obj1
);
15441 if (arg2
== NULL
) SWIG_fail
;
15446 arg3
= wxString_in_helper(obj2
);
15447 if (arg3
== NULL
) SWIG_fail
;
15453 arg4
= wxString_in_helper(obj3
);
15454 if (arg4
== NULL
) SWIG_fail
;
15459 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15460 if (!SWIG_IsOK(ecode5
)) {
15461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15463 arg5
= static_cast< bool >(val5
);
15466 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15467 if (!SWIG_IsOK(ecode6
)) {
15468 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15470 arg6
= static_cast< bool >(val6
);
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15511 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= 0;
15513 wxLocale
*arg1
= (wxLocale
*) 0 ;
15514 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15515 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 PyObject
* obj2
= 0 ;
15526 char * kwnames
[] = {
15527 (char *) "self",(char *) "language",(char *) "flags", NULL
15530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15532 if (!SWIG_IsOK(res1
)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15535 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15538 if (!SWIG_IsOK(ecode2
)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15541 arg2
= static_cast< int >(val2
);
15544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15545 if (!SWIG_IsOK(ecode3
)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15548 arg3
= static_cast< int >(val3
);
15551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15552 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15565 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15566 PyObject
*resultobj
= 0;
15569 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (int)wxLocale::GetSystemLanguage();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_From_int(static_cast< int >(result
));
15583 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15584 PyObject
*resultobj
= 0;
15585 wxFontEncoding result
;
15587 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= SWIG_From_int(static_cast< int >(result
));
15601 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15602 PyObject
*resultobj
= 0;
15605 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= wxLocale::GetSystemEncodingName();
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15625 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15626 PyObject
*resultobj
= 0;
15627 wxLocale
*arg1
= (wxLocale
*) 0 ;
15631 PyObject
*swig_obj
[1] ;
15633 if (!args
) SWIG_fail
;
15634 swig_obj
[0] = args
;
15635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15636 if (!SWIG_IsOK(res1
)) {
15637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15639 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15655 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 PyObject
*resultobj
= 0;
15657 wxLocale
*arg1
= (wxLocale
*) 0 ;
15661 PyObject
*swig_obj
[1] ;
15663 if (!args
) SWIG_fail
;
15664 swig_obj
[0] = args
;
15665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15669 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= ((wxLocale
const *)arg1
)->GetLocale();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15689 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 PyObject
*resultobj
= 0;
15691 wxLocale
*arg1
= (wxLocale
*) 0 ;
15695 PyObject
*swig_obj
[1] ;
15697 if (!args
) SWIG_fail
;
15698 swig_obj
[0] = args
;
15699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15700 if (!SWIG_IsOK(res1
)) {
15701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15703 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_From_int(static_cast< int >(result
));
15717 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 PyObject
*resultobj
= 0;
15719 wxLocale
*arg1
= (wxLocale
*) 0 ;
15723 PyObject
*swig_obj
[1] ;
15725 if (!args
) SWIG_fail
;
15726 swig_obj
[0] = args
;
15727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15731 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= ((wxLocale
const *)arg1
)->GetSysName();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15751 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15752 PyObject
*resultobj
= 0;
15753 wxLocale
*arg1
= (wxLocale
*) 0 ;
15757 PyObject
*swig_obj
[1] ;
15759 if (!args
) SWIG_fail
;
15760 swig_obj
[0] = args
;
15761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15765 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15785 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15786 PyObject
*resultobj
= 0;
15787 wxString
*arg1
= 0 ;
15788 bool temp1
= false ;
15789 PyObject
* obj0
= 0 ;
15790 char * kwnames
[] = {
15791 (char *) "prefix", NULL
15794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15796 arg1
= wxString_in_helper(obj0
);
15797 if (arg1
== NULL
) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_Py_Void();
15821 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= 0;
15823 wxLocale
*arg1
= (wxLocale
*) 0 ;
15824 wxString
*arg2
= 0 ;
15828 bool temp2
= false ;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 char * kwnames
[] = {
15832 (char *) "self",(char *) "szDomain", NULL
15835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15840 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15842 arg2
= wxString_in_helper(obj1
);
15843 if (arg2
== NULL
) SWIG_fail
;
15847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15848 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= 0;
15871 wxLocale
*arg1
= (wxLocale
*) 0 ;
15872 wxString
*arg2
= 0 ;
15876 bool temp2
= false ;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 char * kwnames
[] = {
15880 (char *) "self",(char *) "szDomain", NULL
15883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15885 if (!SWIG_IsOK(res1
)) {
15886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15888 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15890 arg2
= wxString_in_helper(obj1
);
15891 if (arg2
== NULL
) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15917 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15920 wxLanguageInfo
*result
= 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char * kwnames
[] = {
15925 (char *) "lang", NULL
15928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15929 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15930 if (!SWIG_IsOK(ecode1
)) {
15931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15933 arg1
= static_cast< int >(val1
);
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15947 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
= 0;
15953 PyObject
* obj0
= 0 ;
15954 char * kwnames
[] = {
15955 (char *) "lang", NULL
15958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
15959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15960 if (!SWIG_IsOK(ecode1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
15963 arg1
= static_cast< int >(val1
);
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= wxLocale::GetLanguageName(arg1
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15983 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
= 0;
15985 wxString
*arg1
= 0 ;
15986 wxLanguageInfo
*result
= 0 ;
15987 bool temp1
= false ;
15988 PyObject
* obj0
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "locale", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15995 arg1
= wxString_in_helper(obj0
);
15996 if (arg1
== NULL
) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16020 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
= 0;
16022 wxLanguageInfo
*arg1
= 0 ;
16025 PyObject
* obj0
= 0 ;
16026 char * kwnames
[] = {
16027 (char *) "info", NULL
16030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16031 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16032 if (!SWIG_IsOK(res1
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16038 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_Py_Void();
16052 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
= 0;
16054 wxLocale
*arg1
= (wxLocale
*) 0 ;
16055 wxString
*arg2
= 0 ;
16056 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16061 bool temp2
= false ;
16062 bool temp3
= false ;
16063 PyObject
* obj0
= 0 ;
16064 PyObject
* obj1
= 0 ;
16065 PyObject
* obj2
= 0 ;
16066 char * kwnames
[] = {
16067 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16072 if (!SWIG_IsOK(res1
)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16075 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16077 arg2
= wxString_in_helper(obj1
);
16078 if (arg2
== NULL
) SWIG_fail
;
16083 arg3
= wxString_in_helper(obj2
);
16084 if (arg3
== NULL
) SWIG_fail
;
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16123 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16125 wxLocale
*arg1
= (wxLocale
*) 0 ;
16126 wxString
*result
= 0 ;
16129 PyObject
*swig_obj
[1] ;
16131 if (!args
) SWIG_fail
;
16132 swig_obj
[0] = args
;
16133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16134 if (!SWIG_IsOK(res1
)) {
16135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16137 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16142 result
= (wxString
*) &_result_ref
;
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16160 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16163 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16164 return SWIG_Py_Void();
16167 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16168 return SWIG_Python_InitShadowInstance(args
);
16171 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 int arg1
= (int) -1 ;
16174 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16175 wxPyLocale
*result
= 0 ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "language",(char *) "flags", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16189 if (!SWIG_IsOK(ecode1
)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16192 arg1
= static_cast< int >(val1
);
16195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16196 if (!SWIG_IsOK(ecode2
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16199 arg2
= static_cast< int >(val2
);
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16214 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16219 PyObject
*swig_obj
[1] ;
16221 if (!args
) SWIG_fail
;
16222 swig_obj
[0] = args
;
16223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16227 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= SWIG_Py_Void();
16242 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
= 0;
16244 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16245 PyObject
*arg2
= (PyObject
*) 0 ;
16246 PyObject
*arg3
= (PyObject
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 PyObject
* obj2
= 0 ;
16252 char * kwnames
[] = {
16253 (char *) "self",(char *) "self",(char *) "_class", NULL
16256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16258 if (!SWIG_IsOK(res1
)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16261 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_Py_Void();
16277 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
= 0;
16279 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16280 wxChar
*arg2
= (wxChar
*) 0 ;
16281 wxChar
*arg3
= (wxChar
*) NULL
;
16282 wxChar
*result
= 0 ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 PyObject
* obj2
= 0 ;
16292 char * kwnames
[] = {
16293 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16298 if (!SWIG_IsOK(res1
)) {
16299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16301 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16303 if (!SWIG_IsOK(res2
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16306 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16308 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16309 if (!SWIG_IsOK(res3
)) {
16310 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16312 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16327 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= 0;
16329 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16330 wxChar
*arg2
= (wxChar
*) 0 ;
16331 wxChar
*arg3
= (wxChar
*) 0 ;
16333 wxChar
*arg5
= (wxChar
*) NULL
;
16334 wxChar
*result
= 0 ;
16345 PyObject
* obj0
= 0 ;
16346 PyObject
* obj1
= 0 ;
16347 PyObject
* obj2
= 0 ;
16348 PyObject
* obj3
= 0 ;
16349 PyObject
* obj4
= 0 ;
16350 char * kwnames
[] = {
16351 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16356 if (!SWIG_IsOK(res1
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16359 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16361 if (!SWIG_IsOK(res2
)) {
16362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16364 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16365 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16366 if (!SWIG_IsOK(res3
)) {
16367 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16369 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16370 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16371 if (!SWIG_IsOK(ecode4
)) {
16372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16374 arg4
= static_cast< size_t >(val4
);
16376 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16377 if (!SWIG_IsOK(res5
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16380 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16395 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16399 return SWIG_Py_Void();
16402 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16403 return SWIG_Python_InitShadowInstance(args
);
16406 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16407 PyObject
*resultobj
= 0;
16408 wxLocale
*result
= 0 ;
16410 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (wxLocale
*)wxGetLocale();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16424 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16425 PyObject
*resultobj
= 0;
16426 wxString
*arg1
= 0 ;
16428 bool temp1
= false ;
16430 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16432 arg1
= wxString_in_helper(swig_obj
[0]);
16433 if (arg1
== NULL
) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= wxGetTranslation((wxString
const &)*arg1
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16463 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16464 PyObject
*resultobj
= 0;
16465 wxString
*arg1
= 0 ;
16466 wxString
*arg2
= 0 ;
16468 bool temp1
= false ;
16469 bool temp2
= false ;
16471 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16473 arg1
= wxString_in_helper(swig_obj
[0]);
16474 if (arg1
== NULL
) SWIG_fail
;
16478 arg2
= wxString_in_helper(swig_obj
[1]);
16479 if (arg2
== NULL
) SWIG_fail
;
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16517 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16518 PyObject
*resultobj
= 0;
16519 wxString
*arg1
= 0 ;
16520 wxString
*arg2
= 0 ;
16523 bool temp1
= false ;
16524 bool temp2
= false ;
16528 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16530 arg1
= wxString_in_helper(swig_obj
[0]);
16531 if (arg1
== NULL
) SWIG_fail
;
16535 arg2
= wxString_in_helper(swig_obj
[1]);
16536 if (arg2
== NULL
) SWIG_fail
;
16539 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16540 if (!SWIG_IsOK(ecode3
)) {
16541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16543 arg3
= static_cast< size_t >(val3
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16579 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16580 PyObject
*resultobj
= 0;
16581 wxString
*arg1
= 0 ;
16582 wxString
*arg2
= 0 ;
16584 wxString
*arg4
= 0 ;
16586 bool temp1
= false ;
16587 bool temp2
= false ;
16590 bool temp4
= false ;
16592 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16594 arg1
= wxString_in_helper(swig_obj
[0]);
16595 if (arg1
== NULL
) SWIG_fail
;
16599 arg2
= wxString_in_helper(swig_obj
[1]);
16600 if (arg2
== NULL
) SWIG_fail
;
16603 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16604 if (!SWIG_IsOK(ecode3
)) {
16605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16607 arg3
= static_cast< size_t >(val3
);
16609 arg4
= wxString_in_helper(swig_obj
[3]);
16610 if (arg4
== NULL
) SWIG_fail
;
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16656 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16660 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16663 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16666 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16669 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16672 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16676 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16681 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16682 PyObject
*resultobj
= 0;
16683 wxEncodingConverter
*result
= 0 ;
16685 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16699 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16700 PyObject
*resultobj
= 0;
16701 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16704 PyObject
*swig_obj
[1] ;
16706 if (!args
) SWIG_fail
;
16707 swig_obj
[0] = args
;
16708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16712 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_Py_Void();
16727 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
= 0;
16729 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16730 wxFontEncoding arg2
;
16731 wxFontEncoding arg3
;
16732 int arg4
= (int) wxCONVERT_STRICT
;
16742 PyObject
* obj0
= 0 ;
16743 PyObject
* obj1
= 0 ;
16744 PyObject
* obj2
= 0 ;
16745 PyObject
* obj3
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16755 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16757 if (!SWIG_IsOK(ecode2
)) {
16758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16760 arg2
= static_cast< wxFontEncoding
>(val2
);
16761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16762 if (!SWIG_IsOK(ecode3
)) {
16763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16765 arg3
= static_cast< wxFontEncoding
>(val3
);
16767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16768 if (!SWIG_IsOK(ecode4
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16771 arg4
= static_cast< int >(val4
);
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16788 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
= 0;
16790 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16791 wxString
*arg2
= 0 ;
16795 bool temp2
= false ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char * kwnames
[] = {
16799 (char *) "self",(char *) "input", NULL
16802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16804 if (!SWIG_IsOK(res1
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16807 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16809 arg2
= wxString_in_helper(obj1
);
16810 if (arg2
== NULL
) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16840 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
= 0;
16842 wxFontEncoding arg1
;
16843 int arg2
= (int) wxPLATFORM_CURRENT
;
16844 wxFontEncodingArray result
;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 char * kwnames
[] = {
16852 (char *) "enc",(char *) "platform", NULL
16855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16857 if (!SWIG_IsOK(ecode1
)) {
16858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16860 arg1
= static_cast< wxFontEncoding
>(val1
);
16862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16863 if (!SWIG_IsOK(ecode2
)) {
16864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16866 arg2
= static_cast< int >(val2
);
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= PyList_New(0);
16876 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16877 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16878 PyList_Append(resultobj
, number
);
16888 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
= 0;
16890 wxFontEncoding arg1
;
16891 wxFontEncodingArray result
;
16894 PyObject
* obj0
= 0 ;
16895 char * kwnames
[] = {
16896 (char *) "enc", NULL
16899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16900 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16901 if (!SWIG_IsOK(ecode1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16904 arg1
= static_cast< wxFontEncoding
>(val1
);
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= PyList_New(0);
16913 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16914 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16915 PyList_Append(resultobj
, number
);
16925 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16926 PyObject
*resultobj
= 0;
16927 wxFontEncoding arg1
;
16928 wxFontEncoding arg2
;
16934 PyObject
* obj0
= 0 ;
16935 PyObject
* obj1
= 0 ;
16936 char * kwnames
[] = {
16937 (char *) "encIn",(char *) "encOut", NULL
16940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16942 if (!SWIG_IsOK(ecode1
)) {
16943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16945 arg1
= static_cast< wxFontEncoding
>(val1
);
16946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16947 if (!SWIG_IsOK(ecode2
)) {
16948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16950 arg2
= static_cast< wxFontEncoding
>(val2
);
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16954 wxPyEndAllowThreads(__tstate
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16966 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16969 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
16970 return SWIG_Py_Void();
16973 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16974 return SWIG_Python_InitShadowInstance(args
);
16977 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 PyObject
*resultobj
= 0;
16979 wxDC
*arg1
= (wxDC
*) 0 ;
16982 PyObject
*swig_obj
[1] ;
16984 if (!args
) SWIG_fail
;
16985 swig_obj
[0] = args
;
16986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
16987 if (!SWIG_IsOK(res1
)) {
16988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
16990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_Py_Void();
17005 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
= 0;
17007 wxDC
*arg1
= (wxDC
*) 0 ;
17010 wxColour
*arg4
= 0 ;
17011 int arg5
= (int) wxFLOOD_SURFACE
;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 PyObject
* obj2
= 0 ;
17025 PyObject
* obj3
= 0 ;
17026 PyObject
* obj4
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17038 if (!SWIG_IsOK(ecode2
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17041 arg2
= static_cast< int >(val2
);
17042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17043 if (!SWIG_IsOK(ecode3
)) {
17044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17046 arg3
= static_cast< int >(val3
);
17049 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17052 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17053 if (!SWIG_IsOK(ecode5
)) {
17054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17056 arg5
= static_cast< int >(val5
);
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17073 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17074 PyObject
*resultobj
= 0;
17075 wxDC
*arg1
= (wxDC
*) 0 ;
17076 wxPoint
*arg2
= 0 ;
17077 wxColour
*arg3
= 0 ;
17078 int arg4
= (int) wxFLOOD_SURFACE
;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 PyObject
* obj2
= 0 ;
17089 PyObject
* obj3
= 0 ;
17090 char * kwnames
[] = {
17091 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17096 if (!SWIG_IsOK(res1
)) {
17097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17106 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17110 if (!SWIG_IsOK(ecode4
)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17113 arg4
= static_cast< int >(val4
);
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxDC
*arg1
= (wxDC
*) 0 ;
17134 wxColour
*arg3
= 0 ;
17135 wxColour
*arg4
= 0 ;
17136 wxPoint
*arg5
= 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 PyObject
* obj2
= 0 ;
17146 PyObject
* obj3
= 0 ;
17147 PyObject
* obj4
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17154 if (!SWIG_IsOK(res1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17160 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17164 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17168 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_Py_Void();
17187 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxDC
*arg1
= (wxDC
*) 0 ;
17191 wxColour
*arg3
= 0 ;
17192 wxColour
*arg4
= 0 ;
17193 wxDirection arg5
= (wxDirection
) wxEAST
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 PyObject
* obj3
= 0 ;
17205 PyObject
* obj4
= 0 ;
17206 char * kwnames
[] = {
17207 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17212 if (!SWIG_IsOK(res1
)) {
17213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17218 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17222 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17226 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17229 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17230 if (!SWIG_IsOK(ecode5
)) {
17231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17233 arg5
= static_cast< wxDirection
>(val5
);
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_Py_Void();
17248 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
= 0;
17250 wxDC
*arg1
= (wxDC
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 PyObject
* obj2
= 0 ;
17263 char * kwnames
[] = {
17264 (char *) "self",(char *) "x",(char *) "y", NULL
17267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17269 if (!SWIG_IsOK(res1
)) {
17270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17274 if (!SWIG_IsOK(ecode2
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17277 arg2
= static_cast< int >(val2
);
17278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17279 if (!SWIG_IsOK(ecode3
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17282 arg3
= static_cast< int >(val3
);
17284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17285 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17289 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17296 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
= 0;
17298 wxDC
*arg1
= (wxDC
*) 0 ;
17299 wxPoint
*arg2
= 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "self",(char *) "pt", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17312 if (!SWIG_IsOK(res1
)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17318 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17333 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
= 0;
17335 wxDC
*arg1
= (wxDC
*) 0 ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 PyObject
* obj2
= 0 ;
17353 PyObject
* obj3
= 0 ;
17354 PyObject
* obj4
= 0 ;
17355 char * kwnames
[] = {
17356 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17361 if (!SWIG_IsOK(res1
)) {
17362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17366 if (!SWIG_IsOK(ecode2
)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17369 arg2
= static_cast< int >(val2
);
17370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17371 if (!SWIG_IsOK(ecode3
)) {
17372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17374 arg3
= static_cast< int >(val3
);
17375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17376 if (!SWIG_IsOK(ecode4
)) {
17377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17379 arg4
= static_cast< int >(val4
);
17380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17381 if (!SWIG_IsOK(ecode5
)) {
17382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17384 arg5
= static_cast< int >(val5
);
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_Py_Void();
17398 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxDC
*arg1
= (wxDC
*) 0 ;
17401 wxPoint
*arg2
= 0 ;
17402 wxPoint
*arg3
= 0 ;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 PyObject
* obj2
= 0 ;
17410 char * kwnames
[] = {
17411 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17416 if (!SWIG_IsOK(res1
)) {
17417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17426 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17430 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17431 wxPyEndAllowThreads(__tstate
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 resultobj
= SWIG_Py_Void();
17441 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= 0;
17443 wxDC
*arg1
= (wxDC
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 char * kwnames
[] = {
17456 (char *) "self",(char *) "x",(char *) "y", NULL
17459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17461 if (!SWIG_IsOK(res1
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17466 if (!SWIG_IsOK(ecode2
)) {
17467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17469 arg2
= static_cast< int >(val2
);
17470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17471 if (!SWIG_IsOK(ecode3
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17474 arg3
= static_cast< int >(val3
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 (arg1
)->CrossHair(arg2
,arg3
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= SWIG_Py_Void();
17488 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
= 0;
17490 wxDC
*arg1
= (wxDC
*) 0 ;
17491 wxPoint
*arg2
= 0 ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 char * kwnames
[] = {
17498 (char *) "self",(char *) "pt", NULL
17501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17503 if (!SWIG_IsOK(res1
)) {
17504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_Py_Void();
17524 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
= 0;
17526 wxDC
*arg1
= (wxDC
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 PyObject
* obj2
= 0 ;
17550 PyObject
* obj3
= 0 ;
17551 PyObject
* obj4
= 0 ;
17552 PyObject
* obj5
= 0 ;
17553 PyObject
* obj6
= 0 ;
17554 char * kwnames
[] = {
17555 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17560 if (!SWIG_IsOK(res1
)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17565 if (!SWIG_IsOK(ecode2
)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17568 arg2
= static_cast< int >(val2
);
17569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17570 if (!SWIG_IsOK(ecode3
)) {
17571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17573 arg3
= static_cast< int >(val3
);
17574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17575 if (!SWIG_IsOK(ecode4
)) {
17576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17578 arg4
= static_cast< int >(val4
);
17579 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17580 if (!SWIG_IsOK(ecode5
)) {
17581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17583 arg5
= static_cast< int >(val5
);
17584 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17585 if (!SWIG_IsOK(ecode6
)) {
17586 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17588 arg6
= static_cast< int >(val6
);
17589 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17590 if (!SWIG_IsOK(ecode7
)) {
17591 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17593 arg7
= static_cast< int >(val7
);
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_Py_Void();
17607 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
= 0;
17609 wxDC
*arg1
= (wxDC
*) 0 ;
17610 wxPoint
*arg2
= 0 ;
17611 wxPoint
*arg3
= 0 ;
17612 wxPoint
*arg4
= 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 PyObject
* obj3
= 0 ;
17622 char * kwnames
[] = {
17623 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17628 if (!SWIG_IsOK(res1
)) {
17629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_Py_Void();
17657 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
= 0;
17659 wxDC
*arg1
= (wxDC
*) 0 ;
17674 PyObject
* obj0
= 0 ;
17675 PyObject
* obj1
= 0 ;
17676 PyObject
* obj2
= 0 ;
17677 PyObject
* obj3
= 0 ;
17678 PyObject
* obj4
= 0 ;
17679 char * kwnames
[] = {
17680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17685 if (!SWIG_IsOK(res1
)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17690 if (!SWIG_IsOK(ecode2
)) {
17691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17693 arg2
= static_cast< int >(val2
);
17694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17695 if (!SWIG_IsOK(ecode3
)) {
17696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17698 arg3
= static_cast< int >(val3
);
17699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17700 if (!SWIG_IsOK(ecode4
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17703 arg4
= static_cast< int >(val4
);
17704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17705 if (!SWIG_IsOK(ecode5
)) {
17706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17708 arg5
= static_cast< int >(val5
);
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= SWIG_Py_Void();
17722 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
= 0;
17724 wxDC
*arg1
= (wxDC
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char * kwnames
[] = {
17732 (char *) "self",(char *) "rect", NULL
17735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17737 if (!SWIG_IsOK(res1
)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_Py_Void();
17758 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
= 0;
17760 wxDC
*arg1
= (wxDC
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 PyObject
* obj2
= 0 ;
17784 PyObject
* obj3
= 0 ;
17785 PyObject
* obj4
= 0 ;
17786 PyObject
* obj5
= 0 ;
17787 PyObject
* obj6
= 0 ;
17788 char * kwnames
[] = {
17789 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17799 if (!SWIG_IsOK(ecode2
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17802 arg2
= static_cast< int >(val2
);
17803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17804 if (!SWIG_IsOK(ecode3
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17807 arg3
= static_cast< int >(val3
);
17808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17809 if (!SWIG_IsOK(ecode4
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17812 arg4
= static_cast< int >(val4
);
17813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17814 if (!SWIG_IsOK(ecode5
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17817 arg5
= static_cast< int >(val5
);
17818 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17819 if (!SWIG_IsOK(ecode6
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17822 arg6
= static_cast< double >(val6
);
17823 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17824 if (!SWIG_IsOK(ecode7
)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17827 arg7
= static_cast< double >(val7
);
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= SWIG_Py_Void();
17841 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxDC
*arg1
= (wxDC
*) 0 ;
17844 wxPoint
*arg2
= 0 ;
17856 PyObject
* obj0
= 0 ;
17857 PyObject
* obj1
= 0 ;
17858 PyObject
* obj2
= 0 ;
17859 PyObject
* obj3
= 0 ;
17860 PyObject
* obj4
= 0 ;
17861 char * kwnames
[] = {
17862 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17867 if (!SWIG_IsOK(res1
)) {
17868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17873 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17877 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17879 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17880 if (!SWIG_IsOK(ecode4
)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17883 arg4
= static_cast< double >(val4
);
17884 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17885 if (!SWIG_IsOK(ecode5
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17888 arg5
= static_cast< double >(val5
);
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_Py_Void();
17902 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
= 0;
17904 wxDC
*arg1
= (wxDC
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 char * kwnames
[] = {
17917 (char *) "self",(char *) "x",(char *) "y", NULL
17920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17922 if (!SWIG_IsOK(res1
)) {
17923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17927 if (!SWIG_IsOK(ecode2
)) {
17928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17930 arg2
= static_cast< int >(val2
);
17931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17932 if (!SWIG_IsOK(ecode3
)) {
17933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17935 arg3
= static_cast< int >(val3
);
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->DrawPoint(arg2
,arg3
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_Py_Void();
17949 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
= 0;
17951 wxDC
*arg1
= (wxDC
*) 0 ;
17952 wxPoint
*arg2
= 0 ;
17956 PyObject
* obj0
= 0 ;
17957 PyObject
* obj1
= 0 ;
17958 char * kwnames
[] = {
17959 (char *) "self",(char *) "pt", NULL
17962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17964 if (!SWIG_IsOK(res1
)) {
17965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= SWIG_Py_Void();
17985 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
= 0;
17987 wxDC
*arg1
= (wxDC
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 PyObject
* obj3
= 0 ;
18006 PyObject
* obj4
= 0 ;
18007 char * kwnames
[] = {
18008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18018 if (!SWIG_IsOK(ecode2
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18021 arg2
= static_cast< int >(val2
);
18022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18023 if (!SWIG_IsOK(ecode3
)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18026 arg3
= static_cast< int >(val3
);
18027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18028 if (!SWIG_IsOK(ecode4
)) {
18029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18031 arg4
= static_cast< int >(val4
);
18032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18033 if (!SWIG_IsOK(ecode5
)) {
18034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18036 arg5
= static_cast< int >(val5
);
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= SWIG_Py_Void();
18050 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
= 0;
18052 wxDC
*arg1
= (wxDC
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 char * kwnames
[] = {
18060 (char *) "self",(char *) "rect", NULL
18063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18065 if (!SWIG_IsOK(res1
)) {
18066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18071 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_Py_Void();
18086 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
= 0;
18088 wxDC
*arg1
= (wxDC
*) 0 ;
18089 wxPoint
*arg2
= 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18097 PyObject
* obj2
= 0 ;
18098 char * kwnames
[] = {
18099 (char *) "self",(char *) "pt",(char *) "sz", NULL
18102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18104 if (!SWIG_IsOK(res1
)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18107 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18114 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_Py_Void();
18129 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
= 0;
18131 wxDC
*arg1
= (wxDC
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 PyObject
* obj3
= 0 ;
18153 PyObject
* obj4
= 0 ;
18154 PyObject
* obj5
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18166 if (!SWIG_IsOK(ecode2
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18169 arg2
= static_cast< int >(val2
);
18170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18171 if (!SWIG_IsOK(ecode3
)) {
18172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18174 arg3
= static_cast< int >(val3
);
18175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18176 if (!SWIG_IsOK(ecode4
)) {
18177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18179 arg4
= static_cast< int >(val4
);
18180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18181 if (!SWIG_IsOK(ecode5
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18184 arg5
= static_cast< int >(val5
);
18185 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18186 if (!SWIG_IsOK(ecode6
)) {
18187 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18189 arg6
= static_cast< double >(val6
);
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_Py_Void();
18203 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
= 0;
18205 wxDC
*arg1
= (wxDC
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 PyObject
* obj2
= 0 ;
18216 char * kwnames
[] = {
18217 (char *) "self",(char *) "r",(char *) "radius", NULL
18220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18222 if (!SWIG_IsOK(res1
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18225 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18228 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18230 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18231 if (!SWIG_IsOK(ecode3
)) {
18232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18234 arg3
= static_cast< double >(val3
);
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= SWIG_Py_Void();
18248 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
= 0;
18250 wxDC
*arg1
= (wxDC
*) 0 ;
18251 wxPoint
*arg2
= 0 ;
18260 PyObject
* obj0
= 0 ;
18261 PyObject
* obj1
= 0 ;
18262 PyObject
* obj2
= 0 ;
18263 PyObject
* obj3
= 0 ;
18264 char * kwnames
[] = {
18265 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18276 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18280 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18282 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18283 if (!SWIG_IsOK(ecode4
)) {
18284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18286 arg4
= static_cast< double >(val4
);
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= SWIG_Py_Void();
18300 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
= 0;
18302 wxDC
*arg1
= (wxDC
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 PyObject
* obj2
= 0 ;
18317 PyObject
* obj3
= 0 ;
18318 char * kwnames
[] = {
18319 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18329 if (!SWIG_IsOK(ecode2
)) {
18330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18332 arg2
= static_cast< int >(val2
);
18333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18334 if (!SWIG_IsOK(ecode3
)) {
18335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18337 arg3
= static_cast< int >(val3
);
18338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18339 if (!SWIG_IsOK(ecode4
)) {
18340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18342 arg4
= static_cast< int >(val4
);
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18349 resultobj
= SWIG_Py_Void();
18356 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
= 0;
18358 wxDC
*arg1
= (wxDC
*) 0 ;
18359 wxPoint
*arg2
= 0 ;
18366 PyObject
* obj0
= 0 ;
18367 PyObject
* obj1
= 0 ;
18368 PyObject
* obj2
= 0 ;
18369 char * kwnames
[] = {
18370 (char *) "self",(char *) "pt",(char *) "radius", NULL
18373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18375 if (!SWIG_IsOK(res1
)) {
18376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18384 if (!SWIG_IsOK(ecode3
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18387 arg3
= static_cast< int >(val3
);
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_Py_Void();
18401 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
= 0;
18403 wxDC
*arg1
= (wxDC
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 PyObject
* obj1
= 0 ;
18420 PyObject
* obj2
= 0 ;
18421 PyObject
* obj3
= 0 ;
18422 PyObject
* obj4
= 0 ;
18423 char * kwnames
[] = {
18424 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18434 if (!SWIG_IsOK(ecode2
)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18437 arg2
= static_cast< int >(val2
);
18438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18439 if (!SWIG_IsOK(ecode3
)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18442 arg3
= static_cast< int >(val3
);
18443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18444 if (!SWIG_IsOK(ecode4
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18447 arg4
= static_cast< int >(val4
);
18448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18449 if (!SWIG_IsOK(ecode5
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18452 arg5
= static_cast< int >(val5
);
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_Py_Void();
18466 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
= 0;
18468 wxDC
*arg1
= (wxDC
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "self",(char *) "rect", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18487 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= SWIG_Py_Void();
18502 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
= 0;
18504 wxDC
*arg1
= (wxDC
*) 0 ;
18505 wxPoint
*arg2
= 0 ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 PyObject
* obj2
= 0 ;
18514 char * kwnames
[] = {
18515 (char *) "self",(char *) "pt",(char *) "sz", NULL
18518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18520 if (!SWIG_IsOK(res1
)) {
18521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18530 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_Py_Void();
18545 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
= 0;
18547 wxDC
*arg1
= (wxDC
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 PyObject
* obj2
= 0 ;
18562 PyObject
* obj3
= 0 ;
18563 char * kwnames
[] = {
18564 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18574 if (!SWIG_IsOK(res2
)) {
18575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18580 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18582 if (!SWIG_IsOK(ecode3
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18585 arg3
= static_cast< int >(val3
);
18586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18587 if (!SWIG_IsOK(ecode4
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18590 arg4
= static_cast< int >(val4
);
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_Py_Void();
18604 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
= 0;
18606 wxDC
*arg1
= (wxDC
*) 0 ;
18608 wxPoint
*arg3
= 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 PyObject
* obj2
= 0 ;
18617 char * kwnames
[] = {
18618 (char *) "self",(char *) "icon",(char *) "pt", NULL
18621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18628 if (!SWIG_IsOK(res2
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18634 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= SWIG_Py_Void();
18652 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
= 0;
18654 wxDC
*arg1
= (wxDC
*) 0 ;
18655 wxBitmap
*arg2
= 0 ;
18658 bool arg5
= (bool) false ;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18671 PyObject
* obj2
= 0 ;
18672 PyObject
* obj3
= 0 ;
18673 PyObject
* obj4
= 0 ;
18674 char * kwnames
[] = {
18675 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18680 if (!SWIG_IsOK(res1
)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18685 if (!SWIG_IsOK(res2
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18691 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18693 if (!SWIG_IsOK(ecode3
)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18696 arg3
= static_cast< int >(val3
);
18697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18698 if (!SWIG_IsOK(ecode4
)) {
18699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18701 arg4
= static_cast< int >(val4
);
18703 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18704 if (!SWIG_IsOK(ecode5
)) {
18705 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18707 arg5
= static_cast< bool >(val5
);
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_Py_Void();
18722 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
= 0;
18724 wxDC
*arg1
= (wxDC
*) 0 ;
18725 wxBitmap
*arg2
= 0 ;
18726 wxPoint
*arg3
= 0 ;
18727 bool arg4
= (bool) false ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 PyObject
* obj2
= 0 ;
18738 PyObject
* obj3
= 0 ;
18739 char * kwnames
[] = {
18740 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18745 if (!SWIG_IsOK(res1
)) {
18746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18750 if (!SWIG_IsOK(res2
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18756 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18762 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18763 if (!SWIG_IsOK(ecode4
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18766 arg4
= static_cast< bool >(val4
);
18769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18770 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_Py_Void();
18781 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
= 0;
18783 wxDC
*arg1
= (wxDC
*) 0 ;
18784 wxString
*arg2
= 0 ;
18789 bool temp2
= false ;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 PyObject
* obj2
= 0 ;
18797 PyObject
* obj3
= 0 ;
18798 char * kwnames
[] = {
18799 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18804 if (!SWIG_IsOK(res1
)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18809 arg2
= wxString_in_helper(obj1
);
18810 if (arg2
== NULL
) SWIG_fail
;
18813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18814 if (!SWIG_IsOK(ecode3
)) {
18815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18817 arg3
= static_cast< int >(val3
);
18818 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18819 if (!SWIG_IsOK(ecode4
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18822 arg4
= static_cast< int >(val4
);
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_Py_Void();
18844 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
= 0;
18846 wxDC
*arg1
= (wxDC
*) 0 ;
18847 wxString
*arg2
= 0 ;
18848 wxPoint
*arg3
= 0 ;
18851 bool temp2
= false ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 PyObject
* obj2
= 0 ;
18856 char * kwnames
[] = {
18857 (char *) "self",(char *) "text",(char *) "pt", NULL
18860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18862 if (!SWIG_IsOK(res1
)) {
18863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18867 arg2
= wxString_in_helper(obj1
);
18868 if (arg2
== NULL
) SWIG_fail
;
18873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_Py_Void();
18896 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
= 0;
18898 wxDC
*arg1
= (wxDC
*) 0 ;
18899 wxString
*arg2
= 0 ;
18905 bool temp2
= false ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 PyObject
* obj2
= 0 ;
18915 PyObject
* obj3
= 0 ;
18916 PyObject
* obj4
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18928 arg2
= wxString_in_helper(obj1
);
18929 if (arg2
== NULL
) SWIG_fail
;
18932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18933 if (!SWIG_IsOK(ecode3
)) {
18934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18936 arg3
= static_cast< int >(val3
);
18937 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18938 if (!SWIG_IsOK(ecode4
)) {
18939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18941 arg4
= static_cast< int >(val4
);
18942 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18943 if (!SWIG_IsOK(ecode5
)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18946 arg5
= static_cast< double >(val5
);
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_Py_Void();
18968 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
= 0;
18970 wxDC
*arg1
= (wxDC
*) 0 ;
18971 wxString
*arg2
= 0 ;
18972 wxPoint
*arg3
= 0 ;
18976 bool temp2
= false ;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 PyObject
* obj2
= 0 ;
18983 PyObject
* obj3
= 0 ;
18984 char * kwnames
[] = {
18985 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
18988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",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_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18995 arg2
= wxString_in_helper(obj1
);
18996 if (arg2
== NULL
) SWIG_fail
;
19001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19003 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19004 if (!SWIG_IsOK(ecode4
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19007 arg4
= static_cast< double >(val4
);
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_Py_Void();
19029 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
= 0;
19031 wxDC
*arg1
= (wxDC
*) 0 ;
19036 wxDC
*arg6
= (wxDC
*) 0 ;
19039 int arg9
= (int) wxCOPY
;
19040 bool arg10
= (bool) false ;
19041 int arg11
= (int) -1 ;
19042 int arg12
= (int) -1 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 PyObject
* obj2
= 0 ;
19071 PyObject
* obj3
= 0 ;
19072 PyObject
* obj4
= 0 ;
19073 PyObject
* obj5
= 0 ;
19074 PyObject
* obj6
= 0 ;
19075 PyObject
* obj7
= 0 ;
19076 PyObject
* obj8
= 0 ;
19077 PyObject
* obj9
= 0 ;
19078 PyObject
* obj10
= 0 ;
19079 PyObject
* obj11
= 0 ;
19080 char * kwnames
[] = {
19081 (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
19084 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
;
19085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19091 if (!SWIG_IsOK(ecode2
)) {
19092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19094 arg2
= static_cast< int >(val2
);
19095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19096 if (!SWIG_IsOK(ecode3
)) {
19097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19099 arg3
= static_cast< int >(val3
);
19100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19101 if (!SWIG_IsOK(ecode4
)) {
19102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19104 arg4
= static_cast< int >(val4
);
19105 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19106 if (!SWIG_IsOK(ecode5
)) {
19107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19109 arg5
= static_cast< int >(val5
);
19110 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19111 if (!SWIG_IsOK(res6
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19114 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19115 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19116 if (!SWIG_IsOK(ecode7
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19119 arg7
= static_cast< int >(val7
);
19120 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19121 if (!SWIG_IsOK(ecode8
)) {
19122 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19124 arg8
= static_cast< int >(val8
);
19126 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19127 if (!SWIG_IsOK(ecode9
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19130 arg9
= static_cast< int >(val9
);
19133 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19134 if (!SWIG_IsOK(ecode10
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19137 arg10
= static_cast< bool >(val10
);
19140 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19141 if (!SWIG_IsOK(ecode11
)) {
19142 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19144 arg11
= static_cast< int >(val11
);
19147 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19148 if (!SWIG_IsOK(ecode12
)) {
19149 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19151 arg12
= static_cast< int >(val12
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19168 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= 0;
19170 wxDC
*arg1
= (wxDC
*) 0 ;
19171 wxPoint
*arg2
= 0 ;
19173 wxDC
*arg4
= (wxDC
*) 0 ;
19174 wxPoint
*arg5
= 0 ;
19175 int arg6
= (int) wxCOPY
;
19176 bool arg7
= (bool) false ;
19177 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19178 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 PyObject
* obj2
= 0 ;
19195 PyObject
* obj3
= 0 ;
19196 PyObject
* obj4
= 0 ;
19197 PyObject
* obj5
= 0 ;
19198 PyObject
* obj6
= 0 ;
19199 PyObject
* obj7
= 0 ;
19200 char * kwnames
[] = {
19201 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19206 if (!SWIG_IsOK(res1
)) {
19207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19216 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19218 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19219 if (!SWIG_IsOK(res4
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19222 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19225 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19228 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19229 if (!SWIG_IsOK(ecode6
)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19232 arg6
= static_cast< int >(val6
);
19235 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19236 if (!SWIG_IsOK(ecode7
)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19239 arg7
= static_cast< bool >(val7
);
19244 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19262 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
= 0;
19264 wxDC
*arg1
= (wxDC
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 PyObject
* obj2
= 0 ;
19282 PyObject
* obj3
= 0 ;
19283 PyObject
* obj4
= 0 ;
19284 char * kwnames
[] = {
19285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19290 if (!SWIG_IsOK(res1
)) {
19291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19295 if (!SWIG_IsOK(ecode2
)) {
19296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19298 arg2
= static_cast< int >(val2
);
19299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19300 if (!SWIG_IsOK(ecode3
)) {
19301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19303 arg3
= static_cast< int >(val3
);
19304 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19305 if (!SWIG_IsOK(ecode4
)) {
19306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19308 arg4
= static_cast< int >(val4
);
19309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19310 if (!SWIG_IsOK(ecode5
)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19313 arg5
= static_cast< int >(val5
);
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_Py_Void();
19327 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
= 0;
19329 wxDC
*arg1
= (wxDC
*) 0 ;
19330 wxPoint
*arg2
= 0 ;
19336 PyObject
* obj0
= 0 ;
19337 PyObject
* obj1
= 0 ;
19338 PyObject
* obj2
= 0 ;
19339 char * kwnames
[] = {
19340 (char *) "self",(char *) "pt",(char *) "sz", NULL
19343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19345 if (!SWIG_IsOK(res1
)) {
19346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19355 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= SWIG_Py_Void();
19370 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
= 0;
19372 wxDC
*arg1
= (wxDC
*) 0 ;
19373 wxRegion
*arg2
= 0 ;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 char * kwnames
[] = {
19381 (char *) "self",(char *) "region", NULL
19384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19386 if (!SWIG_IsOK(res1
)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19389 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19391 if (!SWIG_IsOK(res2
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19397 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19411 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19413 wxDC
*arg1
= (wxDC
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 char * kwnames
[] = {
19421 (char *) "self",(char *) "rect", NULL
19424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19426 if (!SWIG_IsOK(res1
)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19432 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_Py_Void();
19447 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
= 0;
19449 wxDC
*arg1
= (wxDC
*) 0 ;
19451 wxPoint
*arg3
= (wxPoint
*) 0 ;
19452 int arg4
= (int) 0 ;
19453 int arg5
= (int) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 PyObject
* obj2
= 0 ;
19463 PyObject
* obj3
= 0 ;
19464 char * kwnames
[] = {
19465 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",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_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19475 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19476 if (arg3
== NULL
) SWIG_fail
;
19479 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19480 if (!SWIG_IsOK(ecode4
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19483 arg4
= static_cast< int >(val4
);
19486 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19487 if (!SWIG_IsOK(ecode5
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19490 arg5
= static_cast< int >(val5
);
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_Py_Void();
19500 if (arg3
) delete [] arg3
;
19505 if (arg3
) delete [] arg3
;
19511 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
= 0;
19513 wxDC
*arg1
= (wxDC
*) 0 ;
19515 wxPoint
*arg3
= (wxPoint
*) 0 ;
19516 int arg4
= (int) 0 ;
19517 int arg5
= (int) 0 ;
19518 int arg6
= (int) wxODDEVEN_RULE
;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 PyObject
* obj2
= 0 ;
19530 PyObject
* obj3
= 0 ;
19531 PyObject
* obj4
= 0 ;
19532 char * kwnames
[] = {
19533 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19538 if (!SWIG_IsOK(res1
)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19543 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19544 if (arg3
== NULL
) SWIG_fail
;
19547 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19548 if (!SWIG_IsOK(ecode4
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19551 arg4
= static_cast< int >(val4
);
19554 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19555 if (!SWIG_IsOK(ecode5
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19558 arg5
= static_cast< int >(val5
);
19561 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19562 if (!SWIG_IsOK(ecode6
)) {
19563 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19565 arg6
= static_cast< int >(val6
);
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_Py_Void();
19575 if (arg3
) delete [] arg3
;
19580 if (arg3
) delete [] arg3
;
19586 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= 0;
19588 wxDC
*arg1
= (wxDC
*) 0 ;
19589 wxString
*arg2
= 0 ;
19591 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19592 int arg5
= (int) -1 ;
19595 bool temp2
= false ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 PyObject
* obj2
= 0 ;
19604 PyObject
* obj3
= 0 ;
19605 PyObject
* obj4
= 0 ;
19606 char * kwnames
[] = {
19607 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19617 arg2
= wxString_in_helper(obj1
);
19618 if (arg2
== NULL
) SWIG_fail
;
19623 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19627 if (!SWIG_IsOK(ecode4
)) {
19628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19630 arg4
= static_cast< int >(val4
);
19633 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19634 if (!SWIG_IsOK(ecode5
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19637 arg5
= static_cast< int >(val5
);
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_Py_Void();
19660 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= 0;
19662 wxDC
*arg1
= (wxDC
*) 0 ;
19663 wxString
*arg2
= 0 ;
19664 wxBitmap
*arg3
= 0 ;
19666 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19667 int arg6
= (int) -1 ;
19671 bool temp2
= false ;
19679 PyObject
* obj0
= 0 ;
19680 PyObject
* obj1
= 0 ;
19681 PyObject
* obj2
= 0 ;
19682 PyObject
* obj3
= 0 ;
19683 PyObject
* obj4
= 0 ;
19684 PyObject
* obj5
= 0 ;
19685 char * kwnames
[] = {
19686 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19691 if (!SWIG_IsOK(res1
)) {
19692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19696 arg2
= wxString_in_helper(obj1
);
19697 if (arg2
== NULL
) SWIG_fail
;
19700 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19701 if (!SWIG_IsOK(res3
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19707 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19710 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19713 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19714 if (!SWIG_IsOK(ecode5
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19717 arg5
= static_cast< int >(val5
);
19720 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19721 if (!SWIG_IsOK(ecode6
)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19724 arg6
= static_cast< int >(val6
);
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19747 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= 0;
19749 wxDC
*arg1
= (wxDC
*) 0 ;
19751 wxPoint
*arg3
= (wxPoint
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char * kwnames
[] = {
19757 (char *) "self",(char *) "points", NULL
19760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19762 if (!SWIG_IsOK(res1
)) {
19763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19767 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19768 if (arg3
== NULL
) SWIG_fail
;
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 (arg1
)->DrawSpline(arg2
,arg3
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 resultobj
= SWIG_Py_Void();
19778 if (arg3
) delete [] arg3
;
19783 if (arg3
) delete [] arg3
;
19789 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19790 PyObject
*resultobj
= 0;
19791 wxDC
*arg1
= (wxDC
*) 0 ;
19794 PyObject
*swig_obj
[1] ;
19796 if (!args
) SWIG_fail
;
19797 swig_obj
[0] = args
;
19798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19799 if (!SWIG_IsOK(res1
)) {
19800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_Py_Void();
19816 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
= 0;
19818 wxDC
*arg1
= (wxDC
*) 0 ;
19819 wxString
*arg2
= 0 ;
19823 bool temp2
= false ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char * kwnames
[] = {
19827 (char *) "self",(char *) "message", NULL
19830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19832 if (!SWIG_IsOK(res1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19835 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19837 arg2
= wxString_in_helper(obj1
);
19838 if (arg2
== NULL
) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19864 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19865 PyObject
*resultobj
= 0;
19866 wxDC
*arg1
= (wxDC
*) 0 ;
19869 PyObject
*swig_obj
[1] ;
19871 if (!args
) SWIG_fail
;
19872 swig_obj
[0] = args
;
19873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19874 if (!SWIG_IsOK(res1
)) {
19875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 resultobj
= SWIG_Py_Void();
19891 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19892 PyObject
*resultobj
= 0;
19893 wxDC
*arg1
= (wxDC
*) 0 ;
19896 PyObject
*swig_obj
[1] ;
19898 if (!args
) SWIG_fail
;
19899 swig_obj
[0] = args
;
19900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 (arg1
)->StartPage();
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 resultobj
= SWIG_Py_Void();
19918 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19919 PyObject
*resultobj
= 0;
19920 wxDC
*arg1
= (wxDC
*) 0 ;
19923 PyObject
*swig_obj
[1] ;
19925 if (!args
) SWIG_fail
;
19926 swig_obj
[0] = args
;
19927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19928 if (!SWIG_IsOK(res1
)) {
19929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_Py_Void();
19945 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19946 PyObject
*resultobj
= 0;
19947 wxDC
*arg1
= (wxDC
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char * kwnames
[] = {
19956 (char *) "self",(char *) "font", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
19964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19966 if (!SWIG_IsOK(res2
)) {
19967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19972 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->SetFont((wxFont
const &)*arg2
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_Py_Void();
19986 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
= 0;
19988 wxDC
*arg1
= (wxDC
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char * kwnames
[] = {
19997 (char *) "self",(char *) "pen", NULL
20000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20002 if (!SWIG_IsOK(res1
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20007 if (!SWIG_IsOK(res2
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20013 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetPen((wxPen
const &)*arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_Py_Void();
20027 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20030 wxBrush
*arg2
= 0 ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "brush", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20048 if (!SWIG_IsOK(res2
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20054 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= SWIG_Py_Void();
20068 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
= 0;
20070 wxDC
*arg1
= (wxDC
*) 0 ;
20071 wxBrush
*arg2
= 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "self",(char *) "brush", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20089 if (!SWIG_IsOK(res2
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20095 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= SWIG_Py_Void();
20109 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxDC
*arg1
= (wxDC
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char * kwnames
[] = {
20120 (char *) "self",(char *) "mode", NULL
20123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20125 if (!SWIG_IsOK(res1
)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20130 if (!SWIG_IsOK(ecode2
)) {
20131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20133 arg2
= static_cast< int >(val2
);
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetBackgroundMode(arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 resultobj
= SWIG_Py_Void();
20147 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
= 0;
20149 wxDC
*arg1
= (wxDC
*) 0 ;
20150 wxPalette
*arg2
= 0 ;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 char * kwnames
[] = {
20158 (char *) "self",(char *) "palette", NULL
20161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20163 if (!SWIG_IsOK(res1
)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20168 if (!SWIG_IsOK(res2
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20174 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20177 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= SWIG_Py_Void();
20188 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20189 PyObject
*resultobj
= 0;
20190 wxDC
*arg1
= (wxDC
*) 0 ;
20193 PyObject
*swig_obj
[1] ;
20195 if (!args
) SWIG_fail
;
20196 swig_obj
[0] = args
;
20197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20198 if (!SWIG_IsOK(res1
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->DestroyClippingRegion();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= SWIG_Py_Void();
20215 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20216 PyObject
*resultobj
= 0;
20217 wxDC
*arg1
= (wxDC
*) 0 ;
20218 int *arg2
= (int *) 0 ;
20219 int *arg3
= (int *) 0 ;
20220 int *arg4
= (int *) 0 ;
20221 int *arg5
= (int *) 0 ;
20225 int res2
= SWIG_TMPOBJ
;
20227 int res3
= SWIG_TMPOBJ
;
20229 int res4
= SWIG_TMPOBJ
;
20231 int res5
= SWIG_TMPOBJ
;
20232 PyObject
*swig_obj
[1] ;
20238 if (!args
) SWIG_fail
;
20239 swig_obj
[0] = args
;
20240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_Py_Void();
20252 if (SWIG_IsTmpObj(res2
)) {
20253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20255 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20258 if (SWIG_IsTmpObj(res3
)) {
20259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20261 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20264 if (SWIG_IsTmpObj(res4
)) {
20265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20267 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20270 if (SWIG_IsTmpObj(res5
)) {
20271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20273 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20282 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20283 PyObject
*resultobj
= 0;
20284 wxDC
*arg1
= (wxDC
*) 0 ;
20288 PyObject
*swig_obj
[1] ;
20290 if (!args
) SWIG_fail
;
20291 swig_obj
[0] = args
;
20292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= wxDC_GetClippingRect(arg1
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20310 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20311 PyObject
*resultobj
= 0;
20312 wxDC
*arg1
= (wxDC
*) 0 ;
20316 PyObject
*swig_obj
[1] ;
20318 if (!args
) SWIG_fail
;
20319 swig_obj
[0] = args
;
20320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20321 if (!SWIG_IsOK(res1
)) {
20322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= SWIG_From_int(static_cast< int >(result
));
20338 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20339 PyObject
*resultobj
= 0;
20340 wxDC
*arg1
= (wxDC
*) 0 ;
20344 PyObject
*swig_obj
[1] ;
20346 if (!args
) SWIG_fail
;
20347 swig_obj
[0] = args
;
20348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20349 if (!SWIG_IsOK(res1
)) {
20350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20352 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_From_int(static_cast< int >(result
));
20366 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
= 0;
20368 wxDC
*arg1
= (wxDC
*) 0 ;
20369 wxString
*arg2
= 0 ;
20370 int *arg3
= (int *) 0 ;
20371 int *arg4
= (int *) 0 ;
20374 bool temp2
= false ;
20376 int res3
= SWIG_TMPOBJ
;
20378 int res4
= SWIG_TMPOBJ
;
20379 PyObject
* obj0
= 0 ;
20380 PyObject
* obj1
= 0 ;
20381 char * kwnames
[] = {
20382 (char *) "self",(char *) "string", NULL
20387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20394 arg2
= wxString_in_helper(obj1
);
20395 if (arg2
== NULL
) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_Py_Void();
20405 if (SWIG_IsTmpObj(res3
)) {
20406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20408 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20411 if (SWIG_IsTmpObj(res4
)) {
20412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20414 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20415 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20431 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
= 0;
20433 wxDC
*arg1
= (wxDC
*) 0 ;
20434 wxString
*arg2
= 0 ;
20435 int *arg3
= (int *) 0 ;
20436 int *arg4
= (int *) 0 ;
20437 int *arg5
= (int *) 0 ;
20438 int *arg6
= (int *) 0 ;
20439 wxFont
*arg7
= (wxFont
*) NULL
;
20442 bool temp2
= false ;
20444 int res3
= SWIG_TMPOBJ
;
20446 int res4
= SWIG_TMPOBJ
;
20448 int res5
= SWIG_TMPOBJ
;
20450 int res6
= SWIG_TMPOBJ
;
20453 PyObject
* obj0
= 0 ;
20454 PyObject
* obj1
= 0 ;
20455 PyObject
* obj2
= 0 ;
20456 char * kwnames
[] = {
20457 (char *) "self",(char *) "string",(char *) "font", NULL
20464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20466 if (!SWIG_IsOK(res1
)) {
20467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20471 arg2
= wxString_in_helper(obj1
);
20472 if (arg2
== NULL
) SWIG_fail
;
20476 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20477 if (!SWIG_IsOK(res7
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20480 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= SWIG_Py_Void();
20489 if (SWIG_IsTmpObj(res3
)) {
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20492 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20495 if (SWIG_IsTmpObj(res4
)) {
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20498 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20501 if (SWIG_IsTmpObj(res5
)) {
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20504 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20507 if (SWIG_IsTmpObj(res6
)) {
20508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20510 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20527 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
= 0;
20529 wxDC
*arg1
= (wxDC
*) 0 ;
20530 wxString
*arg2
= 0 ;
20531 int *arg3
= (int *) 0 ;
20532 int *arg4
= (int *) 0 ;
20533 int *arg5
= (int *) 0 ;
20534 wxFont
*arg6
= (wxFont
*) NULL
;
20537 bool temp2
= false ;
20539 int res3
= SWIG_TMPOBJ
;
20541 int res4
= SWIG_TMPOBJ
;
20543 int res5
= SWIG_TMPOBJ
;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 PyObject
* obj2
= 0 ;
20549 char * kwnames
[] = {
20550 (char *) "self",(char *) "text",(char *) "font", NULL
20556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20558 if (!SWIG_IsOK(res1
)) {
20559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20563 arg2
= wxString_in_helper(obj1
);
20564 if (arg2
== NULL
) SWIG_fail
;
20568 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20569 if (!SWIG_IsOK(res6
)) {
20570 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20572 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= SWIG_Py_Void();
20581 if (SWIG_IsTmpObj(res3
)) {
20582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20584 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20587 if (SWIG_IsTmpObj(res4
)) {
20588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20590 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20593 if (SWIG_IsTmpObj(res5
)) {
20594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20596 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20613 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxDC
*arg1
= (wxDC
*) 0 ;
20616 wxString
*arg2
= 0 ;
20620 bool temp2
= false ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "text", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20634 arg2
= wxString_in_helper(obj1
);
20635 if (arg2
== NULL
) SWIG_fail
;
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= PyList_New(0);
20647 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20648 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20649 PyList_Append(resultobj
, val
);
20667 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20668 PyObject
*resultobj
= 0;
20669 wxDC
*arg1
= (wxDC
*) 0 ;
20673 PyObject
*swig_obj
[1] ;
20675 if (!args
) SWIG_fail
;
20676 swig_obj
[0] = args
;
20677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20678 if (!SWIG_IsOK(res1
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (arg1
)->GetSize();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20695 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20696 PyObject
*resultobj
= 0;
20697 wxDC
*arg1
= (wxDC
*) 0 ;
20698 int *arg2
= (int *) 0 ;
20699 int *arg3
= (int *) 0 ;
20703 int res2
= SWIG_TMPOBJ
;
20705 int res3
= SWIG_TMPOBJ
;
20706 PyObject
*swig_obj
[1] ;
20710 if (!args
) SWIG_fail
;
20711 swig_obj
[0] = args
;
20712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20713 if (!SWIG_IsOK(res1
)) {
20714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 (arg1
)->GetSize(arg2
,arg3
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= SWIG_Py_Void();
20724 if (SWIG_IsTmpObj(res2
)) {
20725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20727 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20730 if (SWIG_IsTmpObj(res3
)) {
20731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20733 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20742 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20743 PyObject
*resultobj
= 0;
20744 wxDC
*arg1
= (wxDC
*) 0 ;
20748 PyObject
*swig_obj
[1] ;
20750 if (!args
) SWIG_fail
;
20751 swig_obj
[0] = args
;
20752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20770 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20771 PyObject
*resultobj
= 0;
20772 wxDC
*arg1
= (wxDC
*) 0 ;
20773 int *arg2
= (int *) 0 ;
20774 int *arg3
= (int *) 0 ;
20778 int res2
= SWIG_TMPOBJ
;
20780 int res3
= SWIG_TMPOBJ
;
20781 PyObject
*swig_obj
[1] ;
20785 if (!args
) SWIG_fail
;
20786 swig_obj
[0] = args
;
20787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_Py_Void();
20799 if (SWIG_IsTmpObj(res2
)) {
20800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20802 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20805 if (SWIG_IsTmpObj(res3
)) {
20806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20808 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20817 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20818 PyObject
*resultobj
= 0;
20819 wxDC
*arg1
= (wxDC
*) 0 ;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 char * kwnames
[] = {
20829 (char *) "self",(char *) "x", NULL
20832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20839 if (!SWIG_IsOK(ecode2
)) {
20840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20842 arg2
= static_cast< int >(val2
);
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_From_int(static_cast< int >(result
));
20856 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
= 0;
20858 wxDC
*arg1
= (wxDC
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char * kwnames
[] = {
20868 (char *) "self",(char *) "y", NULL
20871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20873 if (!SWIG_IsOK(res1
)) {
20874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20878 if (!SWIG_IsOK(ecode2
)) {
20879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20881 arg2
= static_cast< int >(val2
);
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= SWIG_From_int(static_cast< int >(result
));
20895 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
= 0;
20897 wxDC
*arg1
= (wxDC
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char * kwnames
[] = {
20907 (char *) "self",(char *) "x", NULL
20910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20917 if (!SWIG_IsOK(ecode2
)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20920 arg2
= static_cast< int >(val2
);
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_From_int(static_cast< int >(result
));
20934 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
= 0;
20936 wxDC
*arg1
= (wxDC
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char * kwnames
[] = {
20946 (char *) "self",(char *) "y", NULL
20949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20956 if (!SWIG_IsOK(ecode2
)) {
20957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
20959 arg2
= static_cast< int >(val2
);
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_From_int(static_cast< int >(result
));
20973 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
= 0;
20975 wxDC
*arg1
= (wxDC
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char * kwnames
[] = {
20985 (char *) "self",(char *) "x", NULL
20988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20990 if (!SWIG_IsOK(res1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
20993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20995 if (!SWIG_IsOK(ecode2
)) {
20996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
20998 arg2
= static_cast< int >(val2
);
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_From_int(static_cast< int >(result
));
21012 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
= 0;
21014 wxDC
*arg1
= (wxDC
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char * kwnames
[] = {
21024 (char *) "self",(char *) "y", NULL
21027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21029 if (!SWIG_IsOK(res1
)) {
21030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21034 if (!SWIG_IsOK(ecode2
)) {
21035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21037 arg2
= static_cast< int >(val2
);
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= SWIG_From_int(static_cast< int >(result
));
21051 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21052 PyObject
*resultobj
= 0;
21053 wxDC
*arg1
= (wxDC
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char * kwnames
[] = {
21063 (char *) "self",(char *) "x", NULL
21066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21068 if (!SWIG_IsOK(res1
)) {
21069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21073 if (!SWIG_IsOK(ecode2
)) {
21074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21076 arg2
= static_cast< int >(val2
);
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= SWIG_From_int(static_cast< int >(result
));
21090 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
= 0;
21092 wxDC
*arg1
= (wxDC
*) 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 char * kwnames
[] = {
21102 (char *) "self",(char *) "y", NULL
21105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21107 if (!SWIG_IsOK(res1
)) {
21108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21112 if (!SWIG_IsOK(ecode2
)) {
21113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21115 arg2
= static_cast< int >(val2
);
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_From_int(static_cast< int >(result
));
21129 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21130 PyObject
*resultobj
= 0;
21131 wxDC
*arg1
= (wxDC
*) 0 ;
21135 PyObject
*swig_obj
[1] ;
21137 if (!args
) SWIG_fail
;
21138 swig_obj
[0] = args
;
21139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21140 if (!SWIG_IsOK(res1
)) {
21141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21159 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21160 PyObject
*resultobj
= 0;
21161 wxDC
*arg1
= (wxDC
*) 0 ;
21165 PyObject
*swig_obj
[1] ;
21167 if (!args
) SWIG_fail
;
21168 swig_obj
[0] = args
;
21169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21170 if (!SWIG_IsOK(res1
)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21189 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21190 PyObject
*resultobj
= 0;
21191 wxDC
*arg1
= (wxDC
*) 0 ;
21195 PyObject
*swig_obj
[1] ;
21197 if (!args
) SWIG_fail
;
21198 swig_obj
[0] = args
;
21199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21200 if (!SWIG_IsOK(res1
)) {
21201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_From_int(static_cast< int >(result
));
21217 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21218 PyObject
*resultobj
= 0;
21219 wxDC
*arg1
= (wxDC
*) 0 ;
21223 PyObject
*swig_obj
[1] ;
21225 if (!args
) SWIG_fail
;
21226 swig_obj
[0] = args
;
21227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21228 if (!SWIG_IsOK(res1
)) {
21229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= ((wxDC
const *)arg1
)->GetPPI();
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21245 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21246 PyObject
*resultobj
= 0;
21247 wxDC
*arg1
= (wxDC
*) 0 ;
21251 PyObject
*swig_obj
[1] ;
21253 if (!args
) SWIG_fail
;
21254 swig_obj
[0] = args
;
21255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21256 if (!SWIG_IsOK(res1
)) {
21257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (bool)((wxDC
const *)arg1
)->Ok();
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21275 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21276 PyObject
*resultobj
= 0;
21277 wxDC
*arg1
= (wxDC
*) 0 ;
21281 PyObject
*swig_obj
[1] ;
21283 if (!args
) SWIG_fail
;
21284 swig_obj
[0] = args
;
21285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21286 if (!SWIG_IsOK(res1
)) {
21287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_From_int(static_cast< int >(result
));
21303 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21304 PyObject
*resultobj
= 0;
21305 wxDC
*arg1
= (wxDC
*) 0 ;
21306 wxBrush
*result
= 0 ;
21309 PyObject
*swig_obj
[1] ;
21311 if (!args
) SWIG_fail
;
21312 swig_obj
[0] = args
;
21313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21314 if (!SWIG_IsOK(res1
)) {
21315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21322 result
= (wxBrush
*) &_result_ref
;
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21328 wxBrush
* resultptr
= new wxBrush(*result
);
21329 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21337 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21338 PyObject
*resultobj
= 0;
21339 wxDC
*arg1
= (wxDC
*) 0 ;
21340 wxBrush
*result
= 0 ;
21343 PyObject
*swig_obj
[1] ;
21345 if (!args
) SWIG_fail
;
21346 swig_obj
[0] = args
;
21347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21348 if (!SWIG_IsOK(res1
)) {
21349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21356 result
= (wxBrush
*) &_result_ref
;
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21362 wxBrush
* resultptr
= new wxBrush(*result
);
21363 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21371 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21372 PyObject
*resultobj
= 0;
21373 wxDC
*arg1
= (wxDC
*) 0 ;
21374 wxFont
*result
= 0 ;
21377 PyObject
*swig_obj
[1] ;
21379 if (!args
) SWIG_fail
;
21380 swig_obj
[0] = args
;
21381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21382 if (!SWIG_IsOK(res1
)) {
21383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21390 result
= (wxFont
*) &_result_ref
;
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 wxFont
* resultptr
= new wxFont(*result
);
21397 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21405 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21406 PyObject
*resultobj
= 0;
21407 wxDC
*arg1
= (wxDC
*) 0 ;
21408 wxPen
*result
= 0 ;
21411 PyObject
*swig_obj
[1] ;
21413 if (!args
) SWIG_fail
;
21414 swig_obj
[0] = args
;
21415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21424 result
= (wxPen
*) &_result_ref
;
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21430 wxPen
* resultptr
= new wxPen(*result
);
21431 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21439 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21440 PyObject
*resultobj
= 0;
21441 wxDC
*arg1
= (wxDC
*) 0 ;
21442 wxColour
*result
= 0 ;
21445 PyObject
*swig_obj
[1] ;
21447 if (!args
) SWIG_fail
;
21448 swig_obj
[0] = args
;
21449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21458 result
= (wxColour
*) &_result_ref
;
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21470 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 PyObject
*resultobj
= 0;
21472 wxDC
*arg1
= (wxDC
*) 0 ;
21473 wxColour
*result
= 0 ;
21476 PyObject
*swig_obj
[1] ;
21478 if (!args
) SWIG_fail
;
21479 swig_obj
[0] = args
;
21480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21489 result
= (wxColour
*) &_result_ref
;
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21501 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
= 0;
21503 wxDC
*arg1
= (wxDC
*) 0 ;
21504 wxColour
*arg2
= 0 ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 char * kwnames
[] = {
21511 (char *) "self",(char *) "colour", NULL
21514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21516 if (!SWIG_IsOK(res1
)) {
21517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21522 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21527 wxPyEndAllowThreads(__tstate
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= SWIG_Py_Void();
21537 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
= 0;
21539 wxDC
*arg1
= (wxDC
*) 0 ;
21540 wxColour
*arg2
= 0 ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 char * kwnames
[] = {
21547 (char *) "self",(char *) "colour", NULL
21550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21552 if (!SWIG_IsOK(res1
)) {
21553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= SWIG_Py_Void();
21573 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 PyObject
*resultobj
= 0;
21575 wxDC
*arg1
= (wxDC
*) 0 ;
21579 PyObject
*swig_obj
[1] ;
21581 if (!args
) SWIG_fail
;
21582 swig_obj
[0] = args
;
21583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21584 if (!SWIG_IsOK(res1
)) {
21585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_From_int(static_cast< int >(result
));
21601 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
= 0;
21603 wxDC
*arg1
= (wxDC
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char * kwnames
[] = {
21612 (char *) "self",(char *) "mode", NULL
21615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",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_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
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_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21625 arg2
= static_cast< int >(val2
);
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 (arg1
)->SetMapMode(arg2
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 resultobj
= SWIG_Py_Void();
21639 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21640 PyObject
*resultobj
= 0;
21641 wxDC
*arg1
= (wxDC
*) 0 ;
21642 double *arg2
= (double *) 0 ;
21643 double *arg3
= (double *) 0 ;
21647 int res2
= SWIG_TMPOBJ
;
21649 int res3
= SWIG_TMPOBJ
;
21650 PyObject
*swig_obj
[1] ;
21654 if (!args
) SWIG_fail
;
21655 swig_obj
[0] = args
;
21656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21657 if (!SWIG_IsOK(res1
)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 resultobj
= SWIG_Py_Void();
21668 if (SWIG_IsTmpObj(res2
)) {
21669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21671 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21674 if (SWIG_IsTmpObj(res3
)) {
21675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21677 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21686 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
= 0;
21688 wxDC
*arg1
= (wxDC
*) 0 ;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 PyObject
* obj2
= 0 ;
21700 char * kwnames
[] = {
21701 (char *) "self",(char *) "x",(char *) "y", NULL
21704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21710 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21711 if (!SWIG_IsOK(ecode2
)) {
21712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21714 arg2
= static_cast< double >(val2
);
21715 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21716 if (!SWIG_IsOK(ecode3
)) {
21717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21719 arg3
= static_cast< double >(val3
);
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 (arg1
)->SetUserScale(arg2
,arg3
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= SWIG_Py_Void();
21733 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21734 PyObject
*resultobj
= 0;
21735 wxDC
*arg1
= (wxDC
*) 0 ;
21736 double *arg2
= (double *) 0 ;
21737 double *arg3
= (double *) 0 ;
21741 int res2
= SWIG_TMPOBJ
;
21743 int res3
= SWIG_TMPOBJ
;
21744 PyObject
*swig_obj
[1] ;
21748 if (!args
) SWIG_fail
;
21749 swig_obj
[0] = args
;
21750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21751 if (!SWIG_IsOK(res1
)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 (arg1
)->GetLogicalScale(arg2
,arg3
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= SWIG_Py_Void();
21762 if (SWIG_IsTmpObj(res2
)) {
21763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21765 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21768 if (SWIG_IsTmpObj(res3
)) {
21769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21771 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21780 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxDC
*arg1
= (wxDC
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 PyObject
* obj2
= 0 ;
21794 char * kwnames
[] = {
21795 (char *) "self",(char *) "x",(char *) "y", NULL
21798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21800 if (!SWIG_IsOK(res1
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21804 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21805 if (!SWIG_IsOK(ecode2
)) {
21806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21808 arg2
= static_cast< double >(val2
);
21809 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21810 if (!SWIG_IsOK(ecode3
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21813 arg3
= static_cast< double >(val3
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->SetLogicalScale(arg2
,arg3
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_Py_Void();
21827 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 PyObject
*resultobj
= 0;
21829 wxDC
*arg1
= (wxDC
*) 0 ;
21833 PyObject
*swig_obj
[1] ;
21835 if (!args
) SWIG_fail
;
21836 swig_obj
[0] = args
;
21837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21855 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxDC
*arg1
= (wxDC
*) 0 ;
21858 int *arg2
= (int *) 0 ;
21859 int *arg3
= (int *) 0 ;
21863 int res2
= SWIG_TMPOBJ
;
21865 int res3
= SWIG_TMPOBJ
;
21866 PyObject
*swig_obj
[1] ;
21870 if (!args
) SWIG_fail
;
21871 swig_obj
[0] = args
;
21872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21873 if (!SWIG_IsOK(res1
)) {
21874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_Py_Void();
21884 if (SWIG_IsTmpObj(res2
)) {
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21887 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21890 if (SWIG_IsTmpObj(res3
)) {
21891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21893 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21902 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
= 0;
21904 wxDC
*arg1
= (wxDC
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 PyObject
* obj2
= 0 ;
21916 char * kwnames
[] = {
21917 (char *) "self",(char *) "x",(char *) "y", NULL
21920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21922 if (!SWIG_IsOK(res1
)) {
21923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21927 if (!SWIG_IsOK(ecode2
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21930 arg2
= static_cast< int >(val2
);
21931 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21932 if (!SWIG_IsOK(ecode3
)) {
21933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21935 arg3
= static_cast< int >(val3
);
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21939 wxPyEndAllowThreads(__tstate
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 resultobj
= SWIG_Py_Void();
21949 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
= 0;
21951 wxDC
*arg1
= (wxDC
*) 0 ;
21952 wxPoint
*arg2
= 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char * kwnames
[] = {
21959 (char *) "self",(char *) "point", NULL
21962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21964 if (!SWIG_IsOK(res1
)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
21967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_Py_Void();
21985 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 0 ;
21991 PyObject
*swig_obj
[1] ;
21993 if (!args
) SWIG_fail
;
21994 swig_obj
[0] = args
;
21995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22013 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22014 PyObject
*resultobj
= 0;
22015 wxDC
*arg1
= (wxDC
*) 0 ;
22016 int *arg2
= (int *) 0 ;
22017 int *arg3
= (int *) 0 ;
22021 int res2
= SWIG_TMPOBJ
;
22023 int res3
= SWIG_TMPOBJ
;
22024 PyObject
*swig_obj
[1] ;
22028 if (!args
) SWIG_fail
;
22029 swig_obj
[0] = args
;
22030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= SWIG_Py_Void();
22042 if (SWIG_IsTmpObj(res2
)) {
22043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22045 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22048 if (SWIG_IsTmpObj(res3
)) {
22049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22051 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22060 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
= 0;
22062 wxDC
*arg1
= (wxDC
*) 0 ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 PyObject
* obj2
= 0 ;
22074 char * kwnames
[] = {
22075 (char *) "self",(char *) "x",(char *) "y", NULL
22078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22085 if (!SWIG_IsOK(ecode2
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22088 arg2
= static_cast< int >(val2
);
22089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22090 if (!SWIG_IsOK(ecode3
)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22093 arg3
= static_cast< int >(val3
);
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_Py_Void();
22107 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
= 0;
22109 wxDC
*arg1
= (wxDC
*) 0 ;
22110 wxPoint
*arg2
= 0 ;
22114 PyObject
* obj0
= 0 ;
22115 PyObject
* obj1
= 0 ;
22116 char * kwnames
[] = {
22117 (char *) "self",(char *) "point", NULL
22120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22122 if (!SWIG_IsOK(res1
)) {
22123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_Py_Void();
22143 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
= 0;
22145 wxDC
*arg1
= (wxDC
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22167 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22168 if (!SWIG_IsOK(ecode2
)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22171 arg2
= static_cast< bool >(val2
);
22172 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22173 if (!SWIG_IsOK(ecode3
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22176 arg3
= static_cast< bool >(val3
);
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_Py_Void();
22190 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22191 PyObject
*resultobj
= 0;
22192 wxDC
*arg1
= (wxDC
*) 0 ;
22196 PyObject
*swig_obj
[1] ;
22198 if (!args
) SWIG_fail
;
22199 swig_obj
[0] = args
;
22200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_From_int(static_cast< int >(result
));
22218 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
= 0;
22220 wxDC
*arg1
= (wxDC
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 char * kwnames
[] = {
22229 (char *) "self",(char *) "function", NULL
22232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22234 if (!SWIG_IsOK(res1
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22239 if (!SWIG_IsOK(ecode2
)) {
22240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22242 arg2
= static_cast< int >(val2
);
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->SetLogicalFunction(arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= SWIG_Py_Void();
22256 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22257 PyObject
*resultobj
= 0;
22258 wxDC
*arg1
= (wxDC
*) 0 ;
22261 PyObject
*swig_obj
[1] ;
22263 if (!args
) SWIG_fail
;
22264 swig_obj
[0] = args
;
22265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 (arg1
)->ComputeScaleAndOrigin();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_Py_Void();
22283 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
= 0;
22285 wxDC
*arg1
= (wxDC
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 PyObject
* obj2
= 0 ;
22297 char * kwnames
[] = {
22298 (char *) "self",(char *) "x",(char *) "y", NULL
22301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22303 if (!SWIG_IsOK(res1
)) {
22304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22306 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22308 if (!SWIG_IsOK(ecode2
)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22311 arg2
= static_cast< int >(val2
);
22312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22313 if (!SWIG_IsOK(ecode3
)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22316 arg3
= static_cast< int >(val3
);
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= SWIG_Py_Void();
22330 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
= 0;
22332 wxDC
*arg1
= (wxDC
*) 0 ;
22333 wxPoint
*arg2
= 0 ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 char * kwnames
[] = {
22340 (char *) "self",(char *) "point", NULL
22343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22345 if (!SWIG_IsOK(res1
)) {
22346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_Py_Void();
22366 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22367 PyObject
*resultobj
= 0;
22368 wxDC
*arg1
= (wxDC
*) 0 ;
22371 PyObject
*swig_obj
[1] ;
22373 if (!args
) SWIG_fail
;
22374 swig_obj
[0] = args
;
22375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22376 if (!SWIG_IsOK(res1
)) {
22377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->ResetBoundingBox();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22393 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22394 PyObject
*resultobj
= 0;
22395 wxDC
*arg1
= (wxDC
*) 0 ;
22399 PyObject
*swig_obj
[1] ;
22401 if (!args
) SWIG_fail
;
22402 swig_obj
[0] = args
;
22403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22404 if (!SWIG_IsOK(res1
)) {
22405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (int)((wxDC
const *)arg1
)->MinX();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= SWIG_From_int(static_cast< int >(result
));
22421 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22422 PyObject
*resultobj
= 0;
22423 wxDC
*arg1
= (wxDC
*) 0 ;
22427 PyObject
*swig_obj
[1] ;
22429 if (!args
) SWIG_fail
;
22430 swig_obj
[0] = args
;
22431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22432 if (!SWIG_IsOK(res1
)) {
22433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (int)((wxDC
const *)arg1
)->MaxX();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_From_int(static_cast< int >(result
));
22449 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22450 PyObject
*resultobj
= 0;
22451 wxDC
*arg1
= (wxDC
*) 0 ;
22455 PyObject
*swig_obj
[1] ;
22457 if (!args
) SWIG_fail
;
22458 swig_obj
[0] = args
;
22459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (int)((wxDC
const *)arg1
)->MinY();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_From_int(static_cast< int >(result
));
22477 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxDC
*arg1
= (wxDC
*) 0 ;
22483 PyObject
*swig_obj
[1] ;
22485 if (!args
) SWIG_fail
;
22486 swig_obj
[0] = args
;
22487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (int)((wxDC
const *)arg1
)->MaxY();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_From_int(static_cast< int >(result
));
22505 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22506 PyObject
*resultobj
= 0;
22507 wxDC
*arg1
= (wxDC
*) 0 ;
22508 int *arg2
= (int *) 0 ;
22509 int *arg3
= (int *) 0 ;
22510 int *arg4
= (int *) 0 ;
22511 int *arg5
= (int *) 0 ;
22515 int res2
= SWIG_TMPOBJ
;
22517 int res3
= SWIG_TMPOBJ
;
22519 int res4
= SWIG_TMPOBJ
;
22521 int res5
= SWIG_TMPOBJ
;
22522 PyObject
*swig_obj
[1] ;
22528 if (!args
) SWIG_fail
;
22529 swig_obj
[0] = args
;
22530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_Py_Void();
22542 if (SWIG_IsTmpObj(res2
)) {
22543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22545 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22548 if (SWIG_IsTmpObj(res3
)) {
22549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22551 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22554 if (SWIG_IsTmpObj(res4
)) {
22555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22557 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22560 if (SWIG_IsTmpObj(res5
)) {
22561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22563 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22572 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
= 0;
22574 wxDC
*arg1
= (wxDC
*) 0 ;
22575 PyObject
*arg2
= (PyObject
*) 0 ;
22576 PyObject
*arg3
= (PyObject
*) 0 ;
22577 PyObject
*arg4
= (PyObject
*) 0 ;
22578 PyObject
*result
= 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 PyObject
* obj2
= 0 ;
22584 PyObject
* obj3
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= result
;
22611 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
= 0;
22613 wxDC
*arg1
= (wxDC
*) 0 ;
22614 PyObject
*arg2
= (PyObject
*) 0 ;
22615 PyObject
*arg3
= (PyObject
*) 0 ;
22616 PyObject
*arg4
= (PyObject
*) 0 ;
22617 PyObject
*result
= 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 PyObject
* obj2
= 0 ;
22623 PyObject
* obj3
= 0 ;
22624 char * kwnames
[] = {
22625 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= result
;
22650 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
= 0;
22652 wxDC
*arg1
= (wxDC
*) 0 ;
22653 PyObject
*arg2
= (PyObject
*) 0 ;
22654 PyObject
*arg3
= (PyObject
*) 0 ;
22655 PyObject
*arg4
= (PyObject
*) 0 ;
22656 PyObject
*result
= 0 ;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 PyObject
* obj2
= 0 ;
22662 PyObject
* obj3
= 0 ;
22663 char * kwnames
[] = {
22664 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= result
;
22689 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22691 wxDC
*arg1
= (wxDC
*) 0 ;
22692 PyObject
*arg2
= (PyObject
*) 0 ;
22693 PyObject
*arg3
= (PyObject
*) 0 ;
22694 PyObject
*arg4
= (PyObject
*) 0 ;
22695 PyObject
*result
= 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 PyObject
* obj2
= 0 ;
22701 PyObject
* obj3
= 0 ;
22702 char * kwnames
[] = {
22703 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22708 if (!SWIG_IsOK(res1
)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= result
;
22728 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
= 0;
22730 wxDC
*arg1
= (wxDC
*) 0 ;
22731 PyObject
*arg2
= (PyObject
*) 0 ;
22732 PyObject
*arg3
= (PyObject
*) 0 ;
22733 PyObject
*arg4
= (PyObject
*) 0 ;
22734 PyObject
*result
= 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 PyObject
* obj2
= 0 ;
22740 PyObject
* obj3
= 0 ;
22741 char * kwnames
[] = {
22742 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= result
;
22767 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
= 0;
22769 wxDC
*arg1
= (wxDC
*) 0 ;
22770 PyObject
*arg2
= (PyObject
*) 0 ;
22771 PyObject
*arg3
= (PyObject
*) 0 ;
22772 PyObject
*arg4
= (PyObject
*) 0 ;
22773 PyObject
*arg5
= (PyObject
*) 0 ;
22774 PyObject
*result
= 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 PyObject
* obj2
= 0 ;
22780 PyObject
* obj3
= 0 ;
22781 PyObject
* obj4
= 0 ;
22782 char * kwnames
[] = {
22783 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= result
;
22809 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22812 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22813 return SWIG_Py_Void();
22816 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 PyObject
*resultobj
= 0;
22818 wxMemoryDC
*result
= 0 ;
22820 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22822 if (!wxPyCheckForApp()) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (wxMemoryDC
*)new wxMemoryDC();
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22835 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
= 0;
22837 wxDC
*arg1
= (wxDC
*) 0 ;
22838 wxMemoryDC
*result
= 0 ;
22841 PyObject
* obj0
= 0 ;
22842 char * kwnames
[] = {
22843 (char *) "oldDC", NULL
22846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22848 if (!SWIG_IsOK(res1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22853 if (!wxPyCheckForApp()) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22866 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
= 0;
22868 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22869 wxBitmap
*arg2
= 0 ;
22874 PyObject
* obj0
= 0 ;
22875 PyObject
* obj1
= 0 ;
22876 char * kwnames
[] = {
22877 (char *) "self",(char *) "bitmap", NULL
22880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22882 if (!SWIG_IsOK(res1
)) {
22883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22885 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22887 if (!SWIG_IsOK(res2
)) {
22888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22893 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_Py_Void();
22907 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22910 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22911 return SWIG_Py_Void();
22914 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22915 return SWIG_Python_InitShadowInstance(args
);
22918 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22919 PyObject
*resultobj
= 0;
22920 wxDC
*arg1
= (wxDC
*) 0 ;
22921 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22922 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22923 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22924 wxBufferedDC
*result
= 0 ;
22932 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22934 if (!SWIG_IsOK(res1
)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22939 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22940 if (!SWIG_IsOK(res2
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22946 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22949 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22950 if (!SWIG_IsOK(ecode3
)) {
22951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22953 arg3
= static_cast< int >(val3
);
22956 if (!wxPyCheckForApp()) SWIG_fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22969 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22970 PyObject
*resultobj
= 0;
22971 wxDC
*arg1
= (wxDC
*) 0 ;
22973 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22974 wxBufferedDC
*result
= 0 ;
22981 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
22982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22983 if (!SWIG_IsOK(res1
)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22989 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
22992 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22993 if (!SWIG_IsOK(ecode3
)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22996 arg3
= static_cast< int >(val3
);
22999 if (!wxPyCheckForApp()) SWIG_fail
;
23000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23001 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23012 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23016 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23018 if ((argc
>= 1) && (argc
<= 3)) {
23022 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23023 _v
= SWIG_CheckState(res
);
23025 if (!_v
) goto check_1
;
23027 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23031 if ((argc
>= 2) && (argc
<= 3)) {
23032 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23036 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23041 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23042 PyObject
*resultobj
= 0;
23043 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23054 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_Py_Void();
23069 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23070 PyObject
*resultobj
= 0;
23071 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23074 PyObject
*swig_obj
[1] ;
23076 if (!args
) SWIG_fail
;
23077 swig_obj
[0] = args
;
23078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23082 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_Py_Void();
23096 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23099 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23100 return SWIG_Py_Void();
23103 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23104 return SWIG_Python_InitShadowInstance(args
);
23107 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
= 0;
23109 wxWindow
*arg1
= (wxWindow
*) 0 ;
23110 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23111 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23112 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23113 wxBufferedPaintDC
*result
= 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 PyObject
* obj2
= 0 ;
23123 char * kwnames
[] = {
23124 (char *) "window",(char *) "buffer",(char *) "style", NULL
23127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23129 if (!SWIG_IsOK(res1
)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23135 if (!SWIG_IsOK(res2
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23141 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23145 if (!SWIG_IsOK(ecode3
)) {
23146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23148 arg3
= static_cast< int >(val3
);
23151 if (!wxPyCheckForApp()) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23164 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23167 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23168 return SWIG_Py_Void();
23171 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23172 return SWIG_Python_InitShadowInstance(args
);
23175 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23176 PyObject
*resultobj
= 0;
23177 wxScreenDC
*result
= 0 ;
23179 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23181 if (!wxPyCheckForApp()) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (wxScreenDC
*)new wxScreenDC();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23194 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
= 0;
23196 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23197 wxWindow
*arg2
= (wxWindow
*) 0 ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char * kwnames
[] = {
23206 (char *) "self",(char *) "window", NULL
23209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23211 if (!SWIG_IsOK(res1
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23214 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23216 if (!SWIG_IsOK(res2
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23219 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23235 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
= 0;
23237 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23238 wxRect
*arg2
= (wxRect
*) NULL
;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 char * kwnames
[] = {
23247 (char *) "self",(char *) "rect", NULL
23250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23252 if (!SWIG_IsOK(res1
)) {
23253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23255 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23258 if (!SWIG_IsOK(res2
)) {
23259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23261 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23278 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23279 PyObject
*resultobj
= 0;
23280 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23284 PyObject
*swig_obj
[1] ;
23286 if (!args
) SWIG_fail
;
23287 swig_obj
[0] = args
;
23288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23289 if (!SWIG_IsOK(res1
)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23292 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (bool)(arg1
)->EndDrawingOnTop();
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23308 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23311 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23312 return SWIG_Py_Void();
23315 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 return SWIG_Python_InitShadowInstance(args
);
23319 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
= 0;
23321 wxWindow
*arg1
= (wxWindow
*) 0 ;
23322 wxClientDC
*result
= 0 ;
23325 PyObject
* obj0
= 0 ;
23326 char * kwnames
[] = {
23327 (char *) "win", NULL
23330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23332 if (!SWIG_IsOK(res1
)) {
23333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23337 if (!wxPyCheckForApp()) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (wxClientDC
*)new wxClientDC(arg1
);
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23350 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23353 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23354 return SWIG_Py_Void();
23357 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23358 return SWIG_Python_InitShadowInstance(args
);
23361 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
= 0;
23363 wxWindow
*arg1
= (wxWindow
*) 0 ;
23364 wxPaintDC
*result
= 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char * kwnames
[] = {
23369 (char *) "win", NULL
23372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23379 if (!wxPyCheckForApp()) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23392 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23395 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23396 return SWIG_Py_Void();
23399 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23400 return SWIG_Python_InitShadowInstance(args
);
23403 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
= 0;
23405 wxWindow
*arg1
= (wxWindow
*) 0 ;
23406 wxWindowDC
*result
= 0 ;
23409 PyObject
* obj0
= 0 ;
23410 char * kwnames
[] = {
23411 (char *) "win", NULL
23414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23416 if (!SWIG_IsOK(res1
)) {
23417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23419 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23421 if (!wxPyCheckForApp()) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23434 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23437 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23438 return SWIG_Py_Void();
23441 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23442 return SWIG_Python_InitShadowInstance(args
);
23445 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
= 0;
23449 wxMirrorDC
*result
= 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char * kwnames
[] = {
23457 (char *) "dc",(char *) "mirror", NULL
23460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23461 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23462 if (!SWIG_IsOK(res1
)) {
23463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23469 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23470 if (!SWIG_IsOK(ecode2
)) {
23471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23473 arg2
= static_cast< bool >(val2
);
23475 if (!wxPyCheckForApp()) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23478 wxPyEndAllowThreads(__tstate
);
23479 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23488 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23491 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23492 return SWIG_Py_Void();
23495 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23496 return SWIG_Python_InitShadowInstance(args
);
23499 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
= 0;
23501 wxPrintData
*arg1
= 0 ;
23502 wxPostScriptDC
*result
= 0 ;
23505 PyObject
* obj0
= 0 ;
23506 char * kwnames
[] = {
23507 (char *) "printData", NULL
23510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23511 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23512 if (!SWIG_IsOK(res1
)) {
23513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23518 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23520 if (!wxPyCheckForApp()) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23533 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23534 PyObject
*resultobj
= 0;
23535 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23536 wxPrintData
*result
= 0 ;
23539 PyObject
*swig_obj
[1] ;
23541 if (!args
) SWIG_fail
;
23542 swig_obj
[0] = args
;
23543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23544 if (!SWIG_IsOK(res1
)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23547 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23552 result
= (wxPrintData
*) &_result_ref
;
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23564 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
= 0;
23566 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23567 wxPrintData
*arg2
= 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char * kwnames
[] = {
23575 (char *) "self",(char *) "data", NULL
23578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23580 if (!SWIG_IsOK(res1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23583 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23584 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23585 if (!SWIG_IsOK(res2
)) {
23586 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23591 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_Py_Void();
23605 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
= 0;
23610 PyObject
* obj0
= 0 ;
23611 char * kwnames
[] = {
23612 (char *) "ppi", NULL
23615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23616 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23617 if (!SWIG_IsOK(ecode1
)) {
23618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23620 arg1
= static_cast< int >(val1
);
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 wxPostScriptDC::SetResolution(arg1
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_Py_Void();
23634 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 PyObject
*resultobj
= 0;
23638 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= (int)wxPostScriptDC::GetResolution();
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= SWIG_From_int(static_cast< int >(result
));
23652 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23655 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23656 return SWIG_Py_Void();
23659 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23660 return SWIG_Python_InitShadowInstance(args
);
23663 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
= 0;
23665 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23666 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23667 wxMetaFile
*result
= 0 ;
23668 bool temp1
= false ;
23669 PyObject
* obj0
= 0 ;
23670 char * kwnames
[] = {
23671 (char *) "filename", NULL
23674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23677 arg1
= wxString_in_helper(obj0
);
23678 if (arg1
== NULL
) SWIG_fail
;
23683 if (!wxPyCheckForApp()) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23704 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23707 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23708 return SWIG_Py_Void();
23711 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23712 return SWIG_Python_InitShadowInstance(args
);
23715 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
= 0;
23717 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23718 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23719 int arg2
= (int) 0 ;
23720 int arg3
= (int) 0 ;
23721 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23722 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23723 wxMetaFileDC
*result
= 0 ;
23724 bool temp1
= false ;
23729 bool temp4
= false ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 PyObject
* obj2
= 0 ;
23733 PyObject
* obj3
= 0 ;
23734 char * kwnames
[] = {
23735 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23741 arg1
= wxString_in_helper(obj0
);
23742 if (arg1
== NULL
) SWIG_fail
;
23747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23748 if (!SWIG_IsOK(ecode2
)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23751 arg2
= static_cast< int >(val2
);
23754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23755 if (!SWIG_IsOK(ecode3
)) {
23756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23758 arg3
= static_cast< int >(val3
);
23762 arg4
= wxString_in_helper(obj3
);
23763 if (arg4
== NULL
) SWIG_fail
;
23768 if (!wxPyCheckForApp()) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23797 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23800 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
23801 return SWIG_Py_Void();
23804 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23805 return SWIG_Python_InitShadowInstance(args
);
23808 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
= 0;
23810 wxPrintData
*arg1
= 0 ;
23811 wxPrinterDC
*result
= 0 ;
23814 PyObject
* obj0
= 0 ;
23815 char * kwnames
[] = {
23816 (char *) "printData", NULL
23819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
23820 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23821 if (!SWIG_IsOK(res1
)) {
23822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23827 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23829 if (!wxPyCheckForApp()) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
23842 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23845 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
23846 return SWIG_Py_Void();
23849 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23850 return SWIG_Python_InitShadowInstance(args
);
23853 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
= 0;
23857 int arg3
= (int) true ;
23858 int arg4
= (int) 1 ;
23859 wxImageList
*result
= 0 ;
23868 PyObject
* obj0
= 0 ;
23869 PyObject
* obj1
= 0 ;
23870 PyObject
* obj2
= 0 ;
23871 PyObject
* obj3
= 0 ;
23872 char * kwnames
[] = {
23873 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
23876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23877 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23878 if (!SWIG_IsOK(ecode1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
23881 arg1
= static_cast< int >(val1
);
23882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23883 if (!SWIG_IsOK(ecode2
)) {
23884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
23886 arg2
= static_cast< int >(val2
);
23888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23889 if (!SWIG_IsOK(ecode3
)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
23892 arg3
= static_cast< int >(val3
);
23895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23896 if (!SWIG_IsOK(ecode4
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
23899 arg4
= static_cast< int >(val4
);
23902 if (!wxPyCheckForApp()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
23917 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 PyObject
*resultobj
= 0;
23919 wxImageList
*arg1
= (wxImageList
*) 0 ;
23922 PyObject
*swig_obj
[1] ;
23924 if (!args
) SWIG_fail
;
23925 swig_obj
[0] = args
;
23926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
23927 if (!SWIG_IsOK(res1
)) {
23928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
23930 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_Py_Void();
23945 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
= 0;
23947 wxImageList
*arg1
= (wxImageList
*) 0 ;
23948 wxBitmap
*arg2
= 0 ;
23949 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
23950 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
23958 PyObject
* obj0
= 0 ;
23959 PyObject
* obj1
= 0 ;
23960 PyObject
* obj2
= 0 ;
23961 char * kwnames
[] = {
23962 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
23965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
23967 if (!SWIG_IsOK(res1
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
23970 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
23971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23972 if (!SWIG_IsOK(res2
)) {
23973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23978 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23980 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23981 if (!SWIG_IsOK(res3
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
23985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
23987 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= SWIG_From_int(static_cast< int >(result
));
24002 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
= 0;
24004 wxImageList
*arg1
= (wxImageList
*) 0 ;
24005 wxBitmap
*arg2
= 0 ;
24006 wxColour
*arg3
= 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 PyObject
* obj2
= 0 ;
24016 char * kwnames
[] = {
24017 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24025 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24026 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24027 if (!SWIG_IsOK(res2
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24033 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24036 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_From_int(static_cast< int >(result
));
24051 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
= 0;
24053 wxImageList
*arg1
= (wxImageList
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char * kwnames
[] = {
24063 (char *) "self",(char *) "icon", NULL
24066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24068 if (!SWIG_IsOK(res1
)) {
24069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24071 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24073 if (!SWIG_IsOK(res2
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24079 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_From_int(static_cast< int >(result
));
24093 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxImageList
*arg1
= (wxImageList
*) 0 ;
24097 SwigValueWrapper
<wxBitmap
> result
;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char * kwnames
[] = {
24105 (char *) "self",(char *) "index", NULL
24108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24110 if (!SWIG_IsOK(res1
)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24113 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24115 if (!SWIG_IsOK(ecode2
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24118 arg2
= static_cast< int >(val2
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24132 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
= 0;
24134 wxImageList
*arg1
= (wxImageList
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char * kwnames
[] = {
24144 (char *) "self",(char *) "index", NULL
24147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24149 if (!SWIG_IsOK(res1
)) {
24150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24152 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24154 if (!SWIG_IsOK(ecode2
)) {
24155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24157 arg2
= static_cast< int >(val2
);
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24171 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
= 0;
24173 wxImageList
*arg1
= (wxImageList
*) 0 ;
24175 wxBitmap
*arg3
= 0 ;
24176 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24177 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24187 PyObject
* obj0
= 0 ;
24188 PyObject
* obj1
= 0 ;
24189 PyObject
* obj2
= 0 ;
24190 PyObject
* obj3
= 0 ;
24191 char * kwnames
[] = {
24192 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24197 if (!SWIG_IsOK(res1
)) {
24198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24200 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24202 if (!SWIG_IsOK(ecode2
)) {
24203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24205 arg2
= static_cast< int >(val2
);
24206 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24207 if (!SWIG_IsOK(res3
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24213 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24215 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24216 if (!SWIG_IsOK(res4
)) {
24217 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24222 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24239 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
= 0;
24241 wxImageList
*arg1
= (wxImageList
*) 0 ;
24246 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24247 bool arg7
= (bool) (bool)false ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 PyObject
* obj2
= 0 ;
24266 PyObject
* obj3
= 0 ;
24267 PyObject
* obj4
= 0 ;
24268 PyObject
* obj5
= 0 ;
24269 PyObject
* obj6
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24279 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24281 if (!SWIG_IsOK(ecode2
)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24284 arg2
= static_cast< int >(val2
);
24285 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24286 if (!SWIG_IsOK(res3
)) {
24287 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24292 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24293 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24294 if (!SWIG_IsOK(ecode4
)) {
24295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24297 arg4
= static_cast< int >(val4
);
24298 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24299 if (!SWIG_IsOK(ecode5
)) {
24300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24302 arg5
= static_cast< int >(val5
);
24304 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24305 if (!SWIG_IsOK(ecode6
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24308 arg6
= static_cast< int >(val6
);
24311 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24312 if (!SWIG_IsOK(ecode7
)) {
24313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24315 arg7
= static_cast< bool >(val7
);
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24332 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24333 PyObject
*resultobj
= 0;
24334 wxImageList
*arg1
= (wxImageList
*) 0 ;
24338 PyObject
*swig_obj
[1] ;
24340 if (!args
) SWIG_fail
;
24341 swig_obj
[0] = args
;
24342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24346 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (int)(arg1
)->GetImageCount();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_From_int(static_cast< int >(result
));
24360 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= 0;
24362 wxImageList
*arg1
= (wxImageList
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char * kwnames
[] = {
24372 (char *) "self",(char *) "index", NULL
24375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24377 if (!SWIG_IsOK(res1
)) {
24378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24380 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24382 if (!SWIG_IsOK(ecode2
)) {
24383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24385 arg2
= static_cast< int >(val2
);
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (bool)(arg1
)->Remove(arg2
);
24389 wxPyEndAllowThreads(__tstate
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24401 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24402 PyObject
*resultobj
= 0;
24403 wxImageList
*arg1
= (wxImageList
*) 0 ;
24407 PyObject
*swig_obj
[1] ;
24409 if (!args
) SWIG_fail
;
24410 swig_obj
[0] = args
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24415 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (bool)(arg1
)->RemoveAll();
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24431 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
= 0;
24433 wxImageList
*arg1
= (wxImageList
*) 0 ;
24442 int res3
= SWIG_TMPOBJ
;
24444 int res4
= SWIG_TMPOBJ
;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 char * kwnames
[] = {
24448 (char *) "self",(char *) "index", NULL
24453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24458 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24460 if (!SWIG_IsOK(ecode2
)) {
24461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24463 arg2
= static_cast< int >(val2
);
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 resultobj
= SWIG_Py_Void();
24471 if (SWIG_IsTmpObj(res3
)) {
24472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24474 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24477 if (SWIG_IsTmpObj(res4
)) {
24478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24480 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24489 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24492 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24493 return SWIG_Py_Void();
24496 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24497 return SWIG_Python_InitShadowInstance(args
);
24500 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24501 PyObject
*resultobj
= 0;
24502 wxStockGDI
*result
= 0 ;
24504 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 result
= (wxStockGDI
*)new wxStockGDI();
24508 wxPyEndAllowThreads(__tstate
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24518 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24519 PyObject
*resultobj
= 0;
24520 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24523 PyObject
*swig_obj
[1] ;
24525 if (!args
) SWIG_fail
;
24526 swig_obj
[0] = args
;
24527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24528 if (!SWIG_IsOK(res1
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24531 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= SWIG_Py_Void();
24546 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24547 PyObject
*resultobj
= 0;
24549 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 wxStockGDI::DeleteAll();
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_Py_Void();
24563 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24564 PyObject
*resultobj
= 0;
24565 wxStockGDI
*result
= 0 ;
24567 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24572 result
= (wxStockGDI
*) &_result_ref
;
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24584 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
= 0;
24586 wxStockGDI::Item arg1
;
24587 wxBrush
*result
= 0 ;
24590 PyObject
* obj0
= 0 ;
24591 char * kwnames
[] = {
24592 (char *) "item", NULL
24595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24596 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24597 if (!SWIG_IsOK(ecode1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24600 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24614 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
= 0;
24616 wxStockGDI::Item arg1
;
24617 wxColour
*result
= 0 ;
24620 PyObject
* obj0
= 0 ;
24621 char * kwnames
[] = {
24622 (char *) "item", NULL
24625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24626 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24627 if (!SWIG_IsOK(ecode1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24630 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24644 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxStockGDI::Item arg1
;
24647 wxCursor
*result
= 0 ;
24650 PyObject
* obj0
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "item", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24657 if (!SWIG_IsOK(ecode1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24660 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24674 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
= 0;
24676 wxStockGDI::Item arg1
;
24677 wxPen
*result
= 0 ;
24680 PyObject
* obj0
= 0 ;
24681 char * kwnames
[] = {
24682 (char *) "item", NULL
24685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24687 if (!SWIG_IsOK(ecode1
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24690 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24704 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24707 wxStockGDI::Item arg2
;
24708 wxFont
*result
= 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char * kwnames
[] = {
24716 (char *) "self",(char *) "item", NULL
24719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24724 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24726 if (!SWIG_IsOK(ecode2
)) {
24727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24729 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24743 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24746 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24747 return SWIG_Py_Void();
24750 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24751 return SWIG_Python_InitShadowInstance(args
);
24754 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24755 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24760 SWIGINTERN PyObject
*NullBitmap_get(void) {
24761 PyObject
*pyobj
= 0;
24763 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24768 SWIGINTERN
int NullIcon_set(PyObject
*) {
24769 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24774 SWIGINTERN PyObject
*NullIcon_get(void) {
24775 PyObject
*pyobj
= 0;
24777 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24782 SWIGINTERN
int NullCursor_set(PyObject
*) {
24783 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
24788 SWIGINTERN PyObject
*NullCursor_get(void) {
24789 PyObject
*pyobj
= 0;
24791 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
24796 SWIGINTERN
int NullPen_set(PyObject
*) {
24797 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
24802 SWIGINTERN PyObject
*NullPen_get(void) {
24803 PyObject
*pyobj
= 0;
24805 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
24810 SWIGINTERN
int NullBrush_set(PyObject
*) {
24811 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
24816 SWIGINTERN PyObject
*NullBrush_get(void) {
24817 PyObject
*pyobj
= 0;
24819 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
24824 SWIGINTERN
int NullPalette_set(PyObject
*) {
24825 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
24830 SWIGINTERN PyObject
*NullPalette_get(void) {
24831 PyObject
*pyobj
= 0;
24833 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
24838 SWIGINTERN
int NullFont_set(PyObject
*) {
24839 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
24844 SWIGINTERN PyObject
*NullFont_get(void) {
24845 PyObject
*pyobj
= 0;
24847 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
24852 SWIGINTERN
int NullColour_set(PyObject
*) {
24853 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
24858 SWIGINTERN PyObject
*NullColour_get(void) {
24859 PyObject
*pyobj
= 0;
24861 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
24866 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24867 PyObject
*resultobj
= 0;
24868 wxGDIObjListBase
*result
= 0 ;
24870 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
24884 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24885 PyObject
*resultobj
= 0;
24886 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
24889 PyObject
*swig_obj
[1] ;
24891 if (!args
) SWIG_fail
;
24892 swig_obj
[0] = args
;
24893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
24894 if (!SWIG_IsOK(res1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
24897 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= SWIG_Py_Void();
24912 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24915 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
24916 return SWIG_Py_Void();
24919 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24920 return SWIG_Python_InitShadowInstance(args
);
24923 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
= 0;
24925 wxPenList
*arg1
= (wxPenList
*) 0 ;
24926 wxColour
*arg2
= 0 ;
24929 wxPen
*result
= 0 ;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 PyObject
* obj2
= 0 ;
24940 PyObject
* obj3
= 0 ;
24941 char * kwnames
[] = {
24942 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
24945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
24947 if (!SWIG_IsOK(res1
)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
24950 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
24953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24956 if (!SWIG_IsOK(ecode3
)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
24959 arg3
= static_cast< int >(val3
);
24960 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24961 if (!SWIG_IsOK(ecode4
)) {
24962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
24964 arg4
= static_cast< int >(val4
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24978 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
= 0;
24980 wxPenList
*arg1
= (wxPenList
*) 0 ;
24981 wxPen
*arg2
= (wxPen
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char * kwnames
[] = {
24989 (char *) "self",(char *) "pen", NULL
24992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
24997 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
24998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
24999 if (!SWIG_IsOK(res2
)) {
25000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25002 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 (arg1
)->AddPen(arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_Py_Void();
25016 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
= 0;
25018 wxPenList
*arg1
= (wxPenList
*) 0 ;
25019 wxPen
*arg2
= (wxPen
*) 0 ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "pen", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25035 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25036 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25037 if (!SWIG_IsOK(res2
)) {
25038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25040 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 (arg1
)->RemovePen(arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_Py_Void();
25054 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25057 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25058 return SWIG_Py_Void();
25061 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
= 0;
25063 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25064 wxColour
*arg2
= 0 ;
25065 int arg3
= (int) wxSOLID
;
25066 wxBrush
*result
= 0 ;
25072 PyObject
* obj0
= 0 ;
25073 PyObject
* obj1
= 0 ;
25074 PyObject
* obj2
= 0 ;
25075 char * kwnames
[] = {
25076 (char *) "self",(char *) "colour",(char *) "style", NULL
25079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25081 if (!SWIG_IsOK(res1
)) {
25082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25084 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25091 if (!SWIG_IsOK(ecode3
)) {
25092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25094 arg3
= static_cast< int >(val3
);
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25109 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
= 0;
25111 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25112 wxBrush
*arg2
= (wxBrush
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char * kwnames
[] = {
25120 (char *) "self",(char *) "brush", NULL
25123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25125 if (!SWIG_IsOK(res1
)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25128 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25130 if (!SWIG_IsOK(res2
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25133 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 (arg1
)->AddBrush(arg2
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_Py_Void();
25147 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
= 0;
25149 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25150 wxBrush
*arg2
= (wxBrush
*) 0 ;
25155 PyObject
* obj0
= 0 ;
25156 PyObject
* obj1
= 0 ;
25157 char * kwnames
[] = {
25158 (char *) "self",(char *) "brush", NULL
25161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25163 if (!SWIG_IsOK(res1
)) {
25164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25166 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25168 if (!SWIG_IsOK(res2
)) {
25169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25171 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 (arg1
)->RemoveBrush(arg2
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_Py_Void();
25185 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25188 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25189 return SWIG_Py_Void();
25192 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
= 0;
25194 wxFontList
*arg1
= (wxFontList
*) 0 ;
25199 bool arg6
= (bool) false ;
25200 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25202 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25203 wxFont
*result
= 0 ;
25216 bool temp7
= false ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 PyObject
* obj2
= 0 ;
25222 PyObject
* obj3
= 0 ;
25223 PyObject
* obj4
= 0 ;
25224 PyObject
* obj5
= 0 ;
25225 PyObject
* obj6
= 0 ;
25226 PyObject
* obj7
= 0 ;
25227 char * kwnames
[] = {
25228 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25233 if (!SWIG_IsOK(res1
)) {
25234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25236 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25238 if (!SWIG_IsOK(ecode2
)) {
25239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25241 arg2
= static_cast< int >(val2
);
25242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25243 if (!SWIG_IsOK(ecode3
)) {
25244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25246 arg3
= static_cast< int >(val3
);
25247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25248 if (!SWIG_IsOK(ecode4
)) {
25249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25251 arg4
= static_cast< int >(val4
);
25252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25253 if (!SWIG_IsOK(ecode5
)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25256 arg5
= static_cast< int >(val5
);
25258 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25259 if (!SWIG_IsOK(ecode6
)) {
25260 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25262 arg6
= static_cast< bool >(val6
);
25266 arg7
= wxString_in_helper(obj6
);
25267 if (arg7
== NULL
) SWIG_fail
;
25272 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25273 if (!SWIG_IsOK(ecode8
)) {
25274 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25276 arg8
= static_cast< wxFontEncoding
>(val8
);
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25299 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
= 0;
25301 wxFontList
*arg1
= (wxFontList
*) 0 ;
25302 wxFont
*arg2
= (wxFont
*) 0 ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char * kwnames
[] = {
25310 (char *) "self",(char *) "font", NULL
25313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25318 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25320 if (!SWIG_IsOK(res2
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25323 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->AddFont(arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_Py_Void();
25337 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= 0;
25339 wxFontList
*arg1
= (wxFontList
*) 0 ;
25340 wxFont
*arg2
= (wxFont
*) 0 ;
25345 PyObject
* obj0
= 0 ;
25346 PyObject
* obj1
= 0 ;
25347 char * kwnames
[] = {
25348 (char *) "self",(char *) "font", NULL
25351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25353 if (!SWIG_IsOK(res1
)) {
25354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25356 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25358 if (!SWIG_IsOK(res2
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25361 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 (arg1
)->RemoveFont(arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_Py_Void();
25375 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25378 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25379 return SWIG_Py_Void();
25382 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxColourDatabase
*result
= 0 ;
25386 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25388 if (!wxPyCheckForApp()) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (wxColourDatabase
*)new wxColourDatabase();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25401 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25402 PyObject
*resultobj
= 0;
25403 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25406 PyObject
*swig_obj
[1] ;
25408 if (!args
) SWIG_fail
;
25409 swig_obj
[0] = args
;
25410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25411 if (!SWIG_IsOK(res1
)) {
25412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25414 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_Py_Void();
25429 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
= 0;
25431 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25432 wxString
*arg2
= 0 ;
25436 bool temp2
= false ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "self",(char *) "name", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25448 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25450 arg2
= wxString_in_helper(obj1
);
25451 if (arg2
== NULL
) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25475 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25478 wxColour
*arg2
= 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "colour", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25494 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25518 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
= 0;
25520 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25521 wxString
*arg2
= 0 ;
25522 wxColour
*arg3
= 0 ;
25525 bool temp2
= false ;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 PyObject
* obj2
= 0 ;
25530 char * kwnames
[] = {
25531 (char *) "self",(char *) "name",(char *) "colour", NULL
25534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25539 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25541 arg2
= wxString_in_helper(obj1
);
25542 if (arg2
== NULL
) SWIG_fail
;
25547 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_Py_Void();
25570 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
= 0;
25572 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25573 wxString
*arg2
= 0 ;
25579 bool temp2
= false ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 PyObject
* obj2
= 0 ;
25589 PyObject
* obj3
= 0 ;
25590 PyObject
* obj4
= 0 ;
25591 char * kwnames
[] = {
25592 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25597 if (!SWIG_IsOK(res1
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25600 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25602 arg2
= wxString_in_helper(obj1
);
25603 if (arg2
== NULL
) SWIG_fail
;
25606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25607 if (!SWIG_IsOK(ecode3
)) {
25608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25610 arg3
= static_cast< int >(val3
);
25611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25612 if (!SWIG_IsOK(ecode4
)) {
25613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25615 arg4
= static_cast< int >(val4
);
25616 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25617 if (!SWIG_IsOK(ecode5
)) {
25618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25620 arg5
= static_cast< int >(val5
);
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_Py_Void();
25642 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25645 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25646 return SWIG_Py_Void();
25649 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25650 return SWIG_Python_InitShadowInstance(args
);
25653 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25654 PyObject
*resultobj
= 0;
25655 wxFontList
*result
= 0 ;
25657 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (wxFontList
*)_wxPyInitTheFontList();
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25671 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 PyObject
*resultobj
= 0;
25673 wxPenList
*result
= 0 ;
25675 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 result
= (wxPenList
*)_wxPyInitThePenList();
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25689 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 PyObject
*resultobj
= 0;
25691 wxBrushList
*result
= 0 ;
25693 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25707 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25708 PyObject
*resultobj
= 0;
25709 wxColourDatabase
*result
= 0 ;
25711 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25725 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25726 PyObject
*resultobj
= 0;
25727 wxEffects
*result
= 0 ;
25729 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (wxEffects
*)new wxEffects();
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25743 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25744 PyObject
*resultobj
= 0;
25745 wxEffects
*arg1
= (wxEffects
*) 0 ;
25749 PyObject
*swig_obj
[1] ;
25751 if (!args
) SWIG_fail
;
25752 swig_obj
[0] = args
;
25753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25757 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25771 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25772 PyObject
*resultobj
= 0;
25773 wxEffects
*arg1
= (wxEffects
*) 0 ;
25777 PyObject
*swig_obj
[1] ;
25779 if (!args
) SWIG_fail
;
25780 swig_obj
[0] = args
;
25781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25785 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25799 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25800 PyObject
*resultobj
= 0;
25801 wxEffects
*arg1
= (wxEffects
*) 0 ;
25805 PyObject
*swig_obj
[1] ;
25807 if (!args
) SWIG_fail
;
25808 swig_obj
[0] = args
;
25809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25810 if (!SWIG_IsOK(res1
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25813 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25827 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25828 PyObject
*resultobj
= 0;
25829 wxEffects
*arg1
= (wxEffects
*) 0 ;
25833 PyObject
*swig_obj
[1] ;
25835 if (!args
) SWIG_fail
;
25836 swig_obj
[0] = args
;
25837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25838 if (!SWIG_IsOK(res1
)) {
25839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25841 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25855 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxEffects
*arg1
= (wxEffects
*) 0 ;
25861 PyObject
*swig_obj
[1] ;
25863 if (!args
) SWIG_fail
;
25864 swig_obj
[0] = args
;
25865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25866 if (!SWIG_IsOK(res1
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25869 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
25873 wxPyEndAllowThreads(__tstate
);
25874 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25883 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxEffects
*arg1
= (wxEffects
*) 0 ;
25886 wxColour
*arg2
= 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char * kwnames
[] = {
25893 (char *) "self",(char *) "c", NULL
25896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25898 if (!SWIG_IsOK(res1
)) {
25899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
25901 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25904 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_Py_Void();
25919 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
= 0;
25921 wxEffects
*arg1
= (wxEffects
*) 0 ;
25922 wxColour
*arg2
= 0 ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 char * kwnames
[] = {
25929 (char *) "self",(char *) "c", NULL
25932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25934 if (!SWIG_IsOK(res1
)) {
25935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
25937 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25940 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_Py_Void();
25955 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
= 0;
25957 wxEffects
*arg1
= (wxEffects
*) 0 ;
25958 wxColour
*arg2
= 0 ;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "self",(char *) "c", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
25973 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25976 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_Py_Void();
25991 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
= 0;
25993 wxEffects
*arg1
= (wxEffects
*) 0 ;
25994 wxColour
*arg2
= 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char * kwnames
[] = {
26001 (char *) "self",(char *) "c", NULL
26004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26009 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26012 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_Py_Void();
26027 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
= 0;
26029 wxEffects
*arg1
= (wxEffects
*) 0 ;
26030 wxColour
*arg2
= 0 ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char * kwnames
[] = {
26037 (char *) "self",(char *) "c", NULL
26040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26045 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26048 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_Py_Void();
26063 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
= 0;
26065 wxEffects
*arg1
= (wxEffects
*) 0 ;
26066 wxColour
*arg2
= 0 ;
26067 wxColour
*arg3
= 0 ;
26068 wxColour
*arg4
= 0 ;
26069 wxColour
*arg5
= 0 ;
26070 wxColour
*arg6
= 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 PyObject
* obj3
= 0 ;
26082 PyObject
* obj4
= 0 ;
26083 PyObject
* obj5
= 0 ;
26084 char * kwnames
[] = {
26085 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26093 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26100 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26104 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26108 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26112 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= SWIG_Py_Void();
26127 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
= 0;
26129 wxEffects
*arg1
= (wxEffects
*) 0 ;
26132 int arg4
= (int) 1 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 PyObject
* obj2
= 0 ;
26143 PyObject
* obj3
= 0 ;
26144 char * kwnames
[] = {
26145 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26153 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26155 if (!SWIG_IsOK(res2
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26161 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26164 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26167 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26168 if (!SWIG_IsOK(ecode4
)) {
26169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26171 arg4
= static_cast< int >(val4
);
26174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26175 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= SWIG_Py_Void();
26186 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
= 0;
26188 wxEffects
*arg1
= (wxEffects
*) 0 ;
26191 wxBitmap
*arg4
= 0 ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 PyObject
* obj2
= 0 ;
26203 PyObject
* obj3
= 0 ;
26204 char * kwnames
[] = {
26205 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26213 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26216 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26218 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26219 if (!SWIG_IsOK(res3
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26225 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26226 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26227 if (!SWIG_IsOK(res4
)) {
26228 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26233 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26249 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26252 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26253 return SWIG_Py_Void();
26256 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26257 return SWIG_Python_InitShadowInstance(args
);
26260 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= 0;
26265 wxSplitterRenderParams
*result
= 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 PyObject
* obj2
= 0 ;
26275 char * kwnames
[] = {
26276 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26280 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26281 if (!SWIG_IsOK(ecode1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26284 arg1
= static_cast< int >(val1
);
26285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26286 if (!SWIG_IsOK(ecode2
)) {
26287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26289 arg2
= static_cast< int >(val2
);
26290 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26291 if (!SWIG_IsOK(ecode3
)) {
26292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26294 arg3
= static_cast< bool >(val3
);
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26308 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 PyObject
*resultobj
= 0;
26310 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26313 PyObject
*swig_obj
[1] ;
26315 if (!args
) SWIG_fail
;
26316 swig_obj
[0] = args
;
26317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26321 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26337 PyObject
*resultobj
= 0;
26338 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26342 PyObject
*swig_obj
[1] ;
26344 if (!args
) SWIG_fail
;
26345 swig_obj
[0] = args
;
26346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26347 if (!SWIG_IsOK(res1
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26350 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26351 result
= (int)(int) ((arg1
)->widthSash
);
26352 resultobj
= SWIG_From_int(static_cast< int >(result
));
26359 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26360 PyObject
*resultobj
= 0;
26361 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26365 PyObject
*swig_obj
[1] ;
26367 if (!args
) SWIG_fail
;
26368 swig_obj
[0] = args
;
26369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26370 if (!SWIG_IsOK(res1
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26373 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26374 result
= (int)(int) ((arg1
)->border
);
26375 resultobj
= SWIG_From_int(static_cast< int >(result
));
26382 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26388 PyObject
*swig_obj
[1] ;
26390 if (!args
) SWIG_fail
;
26391 swig_obj
[0] = args
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26396 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26397 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26398 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26405 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26408 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26409 return SWIG_Py_Void();
26412 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26413 return SWIG_Python_InitShadowInstance(args
);
26416 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26420 wxRendererVersion
*result
= 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 char * kwnames
[] = {
26428 (char *) "version_",(char *) "age_", NULL
26431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26433 if (!SWIG_IsOK(ecode1
)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26436 arg1
= static_cast< int >(val1
);
26437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26438 if (!SWIG_IsOK(ecode2
)) {
26439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26441 arg2
= static_cast< int >(val2
);
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26455 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26456 PyObject
*resultobj
= 0;
26457 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26460 PyObject
*swig_obj
[1] ;
26462 if (!args
) SWIG_fail
;
26463 swig_obj
[0] = args
;
26464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26465 if (!SWIG_IsOK(res1
)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26468 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26483 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
= 0;
26485 wxRendererVersion
*arg1
= 0 ;
26489 PyObject
* obj0
= 0 ;
26490 char * kwnames
[] = {
26491 (char *) "ver", NULL
26494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
26495 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26502 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26518 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26519 PyObject
*resultobj
= 0;
26520 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26524 PyObject
*swig_obj
[1] ;
26526 if (!args
) SWIG_fail
;
26527 swig_obj
[0] = args
;
26528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26532 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26533 result
= (int)(int) ((arg1
)->version
);
26534 resultobj
= SWIG_From_int(static_cast< int >(result
));
26541 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26547 PyObject
*swig_obj
[1] ;
26549 if (!args
) SWIG_fail
;
26550 swig_obj
[0] = args
;
26551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26552 if (!SWIG_IsOK(res1
)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26555 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26556 result
= (int)(int) ((arg1
)->age
);
26557 resultobj
= SWIG_From_int(static_cast< int >(result
));
26564 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26567 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
26568 return SWIG_Py_Void();
26571 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 return SWIG_Python_InitShadowInstance(args
);
26575 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26578 wxWindow
*arg2
= (wxWindow
*) 0 ;
26581 int arg5
= (int) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26593 PyObject
* obj2
= 0 ;
26594 PyObject
* obj3
= 0 ;
26595 PyObject
* obj4
= 0 ;
26596 char * kwnames
[] = {
26597 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26602 if (!SWIG_IsOK(res1
)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26605 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26607 if (!SWIG_IsOK(res2
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26610 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26611 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26612 if (!SWIG_IsOK(res3
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26618 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26621 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26624 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26625 if (!SWIG_IsOK(ecode5
)) {
26626 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
26628 arg5
= static_cast< int >(val5
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26643 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
= 0;
26645 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26646 wxWindow
*arg2
= (wxWindow
*) 0 ;
26649 int arg5
= (int) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 PyObject
* obj3
= 0 ;
26663 PyObject
* obj4
= 0 ;
26664 char * kwnames
[] = {
26665 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26673 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26675 if (!SWIG_IsOK(res2
)) {
26676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26679 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26680 if (!SWIG_IsOK(res3
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26686 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26689 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26693 if (!SWIG_IsOK(ecode5
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
26696 arg5
= static_cast< int >(val5
);
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_Py_Void();
26711 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
= 0;
26713 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26714 wxWindow
*arg2
= (wxWindow
*) 0 ;
26717 int arg5
= (int) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 PyObject
* obj2
= 0 ;
26730 PyObject
* obj3
= 0 ;
26731 PyObject
* obj4
= 0 ;
26732 char * kwnames
[] = {
26733 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26741 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26743 if (!SWIG_IsOK(res2
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
26746 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26747 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26748 if (!SWIG_IsOK(res3
)) {
26749 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26754 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26757 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26760 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26761 if (!SWIG_IsOK(ecode5
)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
26764 arg5
= static_cast< int >(val5
);
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_Py_Void();
26779 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
= 0;
26781 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26782 wxWindow
*arg2
= (wxWindow
*) 0 ;
26786 wxOrientation arg6
;
26787 int arg7
= (int) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 PyObject
* obj2
= 0 ;
26804 PyObject
* obj3
= 0 ;
26805 PyObject
* obj4
= 0 ;
26806 PyObject
* obj5
= 0 ;
26807 PyObject
* obj6
= 0 ;
26808 char * kwnames
[] = {
26809 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
26812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26814 if (!SWIG_IsOK(res1
)) {
26815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26817 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26819 if (!SWIG_IsOK(res2
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
26822 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26824 if (!SWIG_IsOK(res3
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
26828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
26830 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26833 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26835 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26836 if (!SWIG_IsOK(ecode5
)) {
26837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
26839 arg5
= static_cast< int >(val5
);
26840 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
26841 if (!SWIG_IsOK(ecode6
)) {
26842 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
26844 arg6
= static_cast< wxOrientation
>(val6
);
26846 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
26847 if (!SWIG_IsOK(ecode7
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
26850 arg7
= static_cast< int >(val7
);
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_Py_Void();
26865 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
= 0;
26867 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26868 wxWindow
*arg2
= (wxWindow
*) 0 ;
26871 int arg5
= (int) 0 ;
26881 PyObject
* obj0
= 0 ;
26882 PyObject
* obj1
= 0 ;
26883 PyObject
* obj2
= 0 ;
26884 PyObject
* obj3
= 0 ;
26885 PyObject
* obj4
= 0 ;
26886 char * kwnames
[] = {
26887 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26892 if (!SWIG_IsOK(res1
)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26895 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26897 if (!SWIG_IsOK(res2
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26901 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26902 if (!SWIG_IsOK(res3
)) {
26903 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
26906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
26908 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26911 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26915 if (!SWIG_IsOK(ecode5
)) {
26916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
26918 arg5
= static_cast< int >(val5
);
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_Py_Void();
26933 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26936 wxWindow
*arg2
= (wxWindow
*) 0 ;
26939 int arg5
= (int) 0 ;
26949 PyObject
* obj0
= 0 ;
26950 PyObject
* obj1
= 0 ;
26951 PyObject
* obj2
= 0 ;
26952 PyObject
* obj3
= 0 ;
26953 PyObject
* obj4
= 0 ;
26954 char * kwnames
[] = {
26955 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26963 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26965 if (!SWIG_IsOK(res2
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
26968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26969 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26970 if (!SWIG_IsOK(res3
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
26974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
26976 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26979 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26982 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26983 if (!SWIG_IsOK(ecode5
)) {
26984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
26986 arg5
= static_cast< int >(val5
);
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_Py_Void();
27001 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
= 0;
27003 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27004 wxWindow
*arg2
= (wxWindow
*) 0 ;
27007 int arg5
= (int) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 PyObject
* obj2
= 0 ;
27020 PyObject
* obj3
= 0 ;
27021 PyObject
* obj4
= 0 ;
27022 char * kwnames
[] = {
27023 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27028 if (!SWIG_IsOK(res1
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27031 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27033 if (!SWIG_IsOK(res2
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27036 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27037 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27038 if (!SWIG_IsOK(res3
)) {
27039 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27044 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27047 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27051 if (!SWIG_IsOK(ecode5
)) {
27052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27054 arg5
= static_cast< int >(val5
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_Py_Void();
27069 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= 0;
27071 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27072 wxWindow
*arg2
= (wxWindow
*) 0 ;
27075 int arg5
= (int) 0 ;
27085 PyObject
* obj0
= 0 ;
27086 PyObject
* obj1
= 0 ;
27087 PyObject
* obj2
= 0 ;
27088 PyObject
* obj3
= 0 ;
27089 PyObject
* obj4
= 0 ;
27090 char * kwnames
[] = {
27091 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27096 if (!SWIG_IsOK(res1
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27099 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27101 if (!SWIG_IsOK(res2
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27105 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27106 if (!SWIG_IsOK(res3
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27112 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27115 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27119 if (!SWIG_IsOK(ecode5
)) {
27120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27122 arg5
= static_cast< int >(val5
);
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_Py_Void();
27137 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
= 0;
27139 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27140 wxWindow
*arg2
= (wxWindow
*) 0 ;
27143 int arg5
= (int) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 PyObject
* obj2
= 0 ;
27156 PyObject
* obj3
= 0 ;
27157 PyObject
* obj4
= 0 ;
27158 char * kwnames
[] = {
27159 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27164 if (!SWIG_IsOK(res1
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27167 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27169 if (!SWIG_IsOK(res2
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27174 if (!SWIG_IsOK(res3
)) {
27175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27180 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27183 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27187 if (!SWIG_IsOK(ecode5
)) {
27188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27190 arg5
= static_cast< int >(val5
);
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_Py_Void();
27205 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
= 0;
27207 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27208 wxWindow
*arg2
= (wxWindow
*) 0 ;
27209 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 char * kwnames
[] = {
27217 (char *) "self",(char *) "win", NULL
27220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27222 if (!SWIG_IsOK(res1
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27225 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27226 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27227 if (!SWIG_IsOK(res2
)) {
27228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27230 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27244 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxRendererNative
*result
= 0 ;
27248 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27250 if (!wxPyCheckForApp()) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27254 result
= (wxRendererNative
*) &_result_ref
;
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27266 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27267 PyObject
*resultobj
= 0;
27268 wxRendererNative
*result
= 0 ;
27270 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27272 if (!wxPyCheckForApp()) SWIG_fail
;
27273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27276 result
= (wxRendererNative
*) &_result_ref
;
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27288 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27289 PyObject
*resultobj
= 0;
27290 wxRendererNative
*result
= 0 ;
27292 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27294 if (!wxPyCheckForApp()) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27298 result
= (wxRendererNative
*) &_result_ref
;
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27310 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
= 0;
27312 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27313 wxRendererNative
*result
= 0 ;
27316 PyObject
* obj0
= 0 ;
27317 char * kwnames
[] = {
27318 (char *) "renderer", NULL
27321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27323 if (!SWIG_IsOK(res1
)) {
27324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27326 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27328 if (!wxPyCheckForApp()) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27341 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27342 PyObject
*resultobj
= 0;
27343 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27344 SwigValueWrapper
<wxRendererVersion
> result
;
27347 PyObject
*swig_obj
[1] ;
27349 if (!args
) SWIG_fail
;
27350 swig_obj
[0] = args
;
27351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
27355 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
27369 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27372 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
27373 return SWIG_Py_Void();
27376 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27377 PyObject
*resultobj
= 0;
27378 wxPseudoDC
*result
= 0 ;
27380 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (wxPseudoDC
*)new wxPseudoDC();
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
27394 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27395 PyObject
*resultobj
= 0;
27396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27399 PyObject
*swig_obj
[1] ;
27401 if (!args
) SWIG_fail
;
27402 swig_obj
[0] = args
;
27403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27407 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 (arg1
)->BeginDrawing();
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_Py_Void();
27421 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27422 PyObject
*resultobj
= 0;
27423 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27426 PyObject
*swig_obj
[1] ;
27428 if (!args
) SWIG_fail
;
27429 swig_obj
[0] = args
;
27430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 (arg1
)->EndDrawing();
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_Py_Void();
27448 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27449 PyObject
*resultobj
= 0;
27450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27453 PyObject
*swig_obj
[1] ;
27455 if (!args
) SWIG_fail
;
27456 swig_obj
[0] = args
;
27457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
27458 if (!SWIG_IsOK(res1
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= SWIG_Py_Void();
27476 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27477 PyObject
*resultobj
= 0;
27478 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27481 PyObject
*swig_obj
[1] ;
27483 if (!args
) SWIG_fail
;
27484 swig_obj
[0] = args
;
27485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 (arg1
)->RemoveAll();
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= SWIG_Py_Void();
27503 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27504 PyObject
*resultobj
= 0;
27505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27509 PyObject
*swig_obj
[1] ;
27511 if (!args
) SWIG_fail
;
27512 swig_obj
[0] = args
;
27513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27514 if (!SWIG_IsOK(res1
)) {
27515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27517 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= (int)(arg1
)->GetLen();
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= SWIG_From_int(static_cast< int >(result
));
27531 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
= 0;
27533 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27539 PyObject
* obj0
= 0 ;
27540 PyObject
* obj1
= 0 ;
27541 char * kwnames
[] = {
27542 (char *) "self",(char *) "id", NULL
27545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27550 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27552 if (!SWIG_IsOK(ecode2
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
27555 arg2
= static_cast< int >(val2
);
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->SetId(arg2
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= SWIG_Py_Void();
27569 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27570 PyObject
*resultobj
= 0;
27571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 char * kwnames
[] = {
27580 (char *) "self",(char *) "id", NULL
27583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27590 if (!SWIG_IsOK(ecode2
)) {
27591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
27593 arg2
= static_cast< int >(val2
);
27595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 (arg1
)->ClearId(arg2
);
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= SWIG_Py_Void();
27607 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
= 0;
27609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27615 PyObject
* obj0
= 0 ;
27616 PyObject
* obj1
= 0 ;
27617 char * kwnames
[] = {
27618 (char *) "self",(char *) "id", NULL
27621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27623 if (!SWIG_IsOK(res1
)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27626 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27628 if (!SWIG_IsOK(ecode2
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
27631 arg2
= static_cast< int >(val2
);
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 (arg1
)->RemoveId(arg2
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= SWIG_Py_Void();
27645 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
= 0;
27647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 PyObject
* obj2
= 0 ;
27662 PyObject
* obj3
= 0 ;
27663 char * kwnames
[] = {
27664 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
27667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27672 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
27677 arg2
= static_cast< int >(val2
);
27678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27679 if (!SWIG_IsOK(ecode3
)) {
27680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
27682 arg3
= static_cast< int >(val3
);
27683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27684 if (!SWIG_IsOK(ecode4
)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
27687 arg4
= static_cast< int >(val4
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_Py_Void();
27701 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
= 0;
27703 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27705 wxDC
*arg3
= (wxDC
*) 0 ;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 PyObject
* obj2
= 0 ;
27715 char * kwnames
[] = {
27716 (char *) "self",(char *) "id",(char *) "dc", NULL
27719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27724 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27726 if (!SWIG_IsOK(ecode2
)) {
27727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
27729 arg2
= static_cast< int >(val2
);
27730 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
27731 if (!SWIG_IsOK(res3
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
27734 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 (arg1
)->DrawIdToDC(arg2
,arg3
);
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= SWIG_Py_Void();
27748 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
= 0;
27750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27758 PyObject
* obj0
= 0 ;
27759 PyObject
* obj1
= 0 ;
27760 PyObject
* obj2
= 0 ;
27761 char * kwnames
[] = {
27762 (char *) "self",(char *) "id",(char *) "rect", NULL
27765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27767 if (!SWIG_IsOK(res1
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27770 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27772 if (!SWIG_IsOK(ecode2
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
27775 arg2
= static_cast< int >(val2
);
27778 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 (arg1
)->SetIdBounds(arg2
,*arg3
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_Py_Void();
27793 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= 0;
27795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27804 char * kwnames
[] = {
27805 (char *) "self",(char *) "id", NULL
27808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27810 if (!SWIG_IsOK(res1
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27815 if (!SWIG_IsOK(ecode2
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
27818 arg2
= static_cast< int >(val2
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
27832 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27833 PyObject
*resultobj
= 0;
27834 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27835 wxDC
*arg2
= (wxDC
*) 0 ;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 PyObject
* obj2
= 0 ;
27845 char * kwnames
[] = {
27846 (char *) "self",(char *) "dc",(char *) "rect", NULL
27849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27854 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27856 if (!SWIG_IsOK(res2
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
27859 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27862 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_Py_Void();
27877 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
= 0;
27879 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27880 wxDC
*arg2
= (wxDC
*) 0 ;
27881 wxRegion
*arg3
= 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 PyObject
* obj2
= 0 ;
27891 char * kwnames
[] = {
27892 (char *) "self",(char *) "dc",(char *) "region", NULL
27895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27902 if (!SWIG_IsOK(res2
)) {
27903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
27905 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27906 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
27907 if (!SWIG_IsOK(res3
)) {
27908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
27911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
27913 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27920 resultobj
= SWIG_Py_Void();
27927 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
= 0;
27929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27930 wxDC
*arg2
= (wxDC
*) 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 char * kwnames
[] = {
27938 (char *) "self",(char *) "dc", NULL
27941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27943 if (!SWIG_IsOK(res1
)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27946 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27948 if (!SWIG_IsOK(res2
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
27951 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 (arg1
)->DrawToDC(arg2
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
= 0;
27967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27970 wxColour
*arg4
= 0 ;
27971 int arg5
= (int) wxFLOOD_SURFACE
;
27981 PyObject
* obj0
= 0 ;
27982 PyObject
* obj1
= 0 ;
27983 PyObject
* obj2
= 0 ;
27984 PyObject
* obj3
= 0 ;
27985 PyObject
* obj4
= 0 ;
27986 char * kwnames
[] = {
27987 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
27990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27992 if (!SWIG_IsOK(res1
)) {
27993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27997 if (!SWIG_IsOK(ecode2
)) {
27998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28000 arg2
= static_cast< int >(val2
);
28001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28002 if (!SWIG_IsOK(ecode3
)) {
28003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28005 arg3
= static_cast< int >(val3
);
28008 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28012 if (!SWIG_IsOK(ecode5
)) {
28013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28015 arg5
= static_cast< int >(val5
);
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= SWIG_Py_Void();
28030 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
= 0;
28032 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28033 wxPoint
*arg2
= 0 ;
28034 wxColour
*arg3
= 0 ;
28035 int arg4
= (int) wxFLOOD_SURFACE
;
28042 PyObject
* obj0
= 0 ;
28043 PyObject
* obj1
= 0 ;
28044 PyObject
* obj2
= 0 ;
28045 PyObject
* obj3
= 0 ;
28046 char * kwnames
[] = {
28047 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28055 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28062 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28066 if (!SWIG_IsOK(ecode4
)) {
28067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28069 arg4
= static_cast< int >(val4
);
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= SWIG_Py_Void();
28084 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
= 0;
28086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 PyObject
* obj2
= 0 ;
28104 PyObject
* obj3
= 0 ;
28105 PyObject
* obj4
= 0 ;
28106 char * kwnames
[] = {
28107 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28112 if (!SWIG_IsOK(res1
)) {
28113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28115 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28117 if (!SWIG_IsOK(ecode2
)) {
28118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28120 arg2
= static_cast< int >(val2
);
28121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28122 if (!SWIG_IsOK(ecode3
)) {
28123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28125 arg3
= static_cast< int >(val3
);
28126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28127 if (!SWIG_IsOK(ecode4
)) {
28128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28130 arg4
= static_cast< int >(val4
);
28131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28132 if (!SWIG_IsOK(ecode5
)) {
28133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28135 arg5
= static_cast< int >(val5
);
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= SWIG_Py_Void();
28149 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
= 0;
28151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28152 wxPoint
*arg2
= 0 ;
28153 wxPoint
*arg3
= 0 ;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 PyObject
* obj2
= 0 ;
28161 char * kwnames
[] = {
28162 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28177 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_Py_Void();
28192 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
= 0;
28194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28203 PyObject
* obj0
= 0 ;
28204 PyObject
* obj1
= 0 ;
28205 PyObject
* obj2
= 0 ;
28206 char * kwnames
[] = {
28207 (char *) "self",(char *) "x",(char *) "y", NULL
28210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28215 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28217 if (!SWIG_IsOK(ecode2
)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28220 arg2
= static_cast< int >(val2
);
28221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28222 if (!SWIG_IsOK(ecode3
)) {
28223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28225 arg3
= static_cast< int >(val3
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->CrossHair(arg2
,arg3
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_Py_Void();
28239 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= 0;
28241 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28242 wxPoint
*arg2
= 0 ;
28246 PyObject
* obj0
= 0 ;
28247 PyObject
* obj1
= 0 ;
28248 char * kwnames
[] = {
28249 (char *) "self",(char *) "pt", NULL
28252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28254 if (!SWIG_IsOK(res1
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28257 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28264 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= SWIG_Py_Void();
28275 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
= 0;
28277 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 PyObject
* obj1
= 0 ;
28300 PyObject
* obj2
= 0 ;
28301 PyObject
* obj3
= 0 ;
28302 PyObject
* obj4
= 0 ;
28303 PyObject
* obj5
= 0 ;
28304 PyObject
* obj6
= 0 ;
28305 char * kwnames
[] = {
28306 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28316 if (!SWIG_IsOK(ecode2
)) {
28317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28319 arg2
= static_cast< int >(val2
);
28320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28321 if (!SWIG_IsOK(ecode3
)) {
28322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28324 arg3
= static_cast< int >(val3
);
28325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28326 if (!SWIG_IsOK(ecode4
)) {
28327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
28329 arg4
= static_cast< int >(val4
);
28330 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28331 if (!SWIG_IsOK(ecode5
)) {
28332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
28334 arg5
= static_cast< int >(val5
);
28335 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28336 if (!SWIG_IsOK(ecode6
)) {
28337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
28339 arg6
= static_cast< int >(val6
);
28340 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28341 if (!SWIG_IsOK(ecode7
)) {
28342 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
28344 arg7
= static_cast< int >(val7
);
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_Py_Void();
28358 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= 0;
28360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28361 wxPoint
*arg2
= 0 ;
28362 wxPoint
*arg3
= 0 ;
28363 wxPoint
*arg4
= 0 ;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 PyObject
* obj2
= 0 ;
28372 PyObject
* obj3
= 0 ;
28373 char * kwnames
[] = {
28374 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
28377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28379 if (!SWIG_IsOK(res1
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_Py_Void();
28408 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= 0;
28410 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28425 PyObject
* obj0
= 0 ;
28426 PyObject
* obj1
= 0 ;
28427 PyObject
* obj2
= 0 ;
28428 PyObject
* obj3
= 0 ;
28429 PyObject
* obj4
= 0 ;
28430 char * kwnames
[] = {
28431 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28441 if (!SWIG_IsOK(ecode2
)) {
28442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
28444 arg2
= static_cast< int >(val2
);
28445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28446 if (!SWIG_IsOK(ecode3
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
28449 arg3
= static_cast< int >(val3
);
28450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28451 if (!SWIG_IsOK(ecode4
)) {
28452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
28454 arg4
= static_cast< int >(val4
);
28455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28456 if (!SWIG_IsOK(ecode5
)) {
28457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
28459 arg5
= static_cast< int >(val5
);
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
28463 wxPyEndAllowThreads(__tstate
);
28464 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= SWIG_Py_Void();
28473 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28474 PyObject
*resultobj
= 0;
28475 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char * kwnames
[] = {
28483 (char *) "self",(char *) "rect", NULL
28486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28494 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_Py_Void();
28509 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
= 0;
28511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 PyObject
* obj2
= 0 ;
28535 PyObject
* obj3
= 0 ;
28536 PyObject
* obj4
= 0 ;
28537 PyObject
* obj5
= 0 ;
28538 PyObject
* obj6
= 0 ;
28539 char * kwnames
[] = {
28540 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
28543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28550 if (!SWIG_IsOK(ecode2
)) {
28551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
28553 arg2
= static_cast< int >(val2
);
28554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28555 if (!SWIG_IsOK(ecode3
)) {
28556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
28558 arg3
= static_cast< int >(val3
);
28559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28560 if (!SWIG_IsOK(ecode4
)) {
28561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
28563 arg4
= static_cast< int >(val4
);
28564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28565 if (!SWIG_IsOK(ecode5
)) {
28566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
28568 arg5
= static_cast< int >(val5
);
28569 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28570 if (!SWIG_IsOK(ecode6
)) {
28571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
28573 arg6
= static_cast< double >(val6
);
28574 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28575 if (!SWIG_IsOK(ecode7
)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
28578 arg7
= static_cast< double >(val7
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_Py_Void();
28592 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28593 PyObject
*resultobj
= 0;
28594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28595 wxPoint
*arg2
= 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 PyObject
* obj2
= 0 ;
28610 PyObject
* obj3
= 0 ;
28611 PyObject
* obj4
= 0 ;
28612 char * kwnames
[] = {
28613 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
28616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28618 if (!SWIG_IsOK(res1
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28628 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28630 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28631 if (!SWIG_IsOK(ecode4
)) {
28632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
28634 arg4
= static_cast< double >(val4
);
28635 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28636 if (!SWIG_IsOK(ecode5
)) {
28637 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
28639 arg5
= static_cast< double >(val5
);
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28653 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
= 0;
28655 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 PyObject
* obj2
= 0 ;
28667 char * kwnames
[] = {
28668 (char *) "self",(char *) "x",(char *) "y", NULL
28671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28676 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28678 if (!SWIG_IsOK(ecode2
)) {
28679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
28681 arg2
= static_cast< int >(val2
);
28682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28683 if (!SWIG_IsOK(ecode3
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
28686 arg3
= static_cast< int >(val3
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 (arg1
)->DrawPoint(arg2
,arg3
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_Py_Void();
28700 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
= 0;
28702 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28703 wxPoint
*arg2
= 0 ;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 char * kwnames
[] = {
28710 (char *) "self",(char *) "pt", NULL
28713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28715 if (!SWIG_IsOK(res1
)) {
28716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28718 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28725 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_Py_Void();
28736 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
= 0;
28738 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28753 PyObject
* obj0
= 0 ;
28754 PyObject
* obj1
= 0 ;
28755 PyObject
* obj2
= 0 ;
28756 PyObject
* obj3
= 0 ;
28757 PyObject
* obj4
= 0 ;
28758 char * kwnames
[] = {
28759 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28764 if (!SWIG_IsOK(res1
)) {
28765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28767 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28769 if (!SWIG_IsOK(ecode2
)) {
28770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
28772 arg2
= static_cast< int >(val2
);
28773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28774 if (!SWIG_IsOK(ecode3
)) {
28775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
28777 arg3
= static_cast< int >(val3
);
28778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28779 if (!SWIG_IsOK(ecode4
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
28782 arg4
= static_cast< int >(val4
);
28783 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28784 if (!SWIG_IsOK(ecode5
)) {
28785 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
28787 arg5
= static_cast< int >(val5
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_Py_Void();
28801 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 PyObject
* obj1
= 0 ;
28810 char * kwnames
[] = {
28811 (char *) "self",(char *) "rect", NULL
28814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28816 if (!SWIG_IsOK(res1
)) {
28817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28822 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= SWIG_Py_Void();
28837 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
= 0;
28839 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28840 wxPoint
*arg2
= 0 ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 PyObject
* obj2
= 0 ;
28849 char * kwnames
[] = {
28850 (char *) "self",(char *) "pt",(char *) "sz", NULL
28853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28855 if (!SWIG_IsOK(res1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28865 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= SWIG_Py_Void();
28880 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28881 PyObject
*resultobj
= 0;
28882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 PyObject
* obj2
= 0 ;
28903 PyObject
* obj3
= 0 ;
28904 PyObject
* obj4
= 0 ;
28905 PyObject
* obj5
= 0 ;
28906 char * kwnames
[] = {
28907 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
28910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28915 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28917 if (!SWIG_IsOK(ecode2
)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
28920 arg2
= static_cast< int >(val2
);
28921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28922 if (!SWIG_IsOK(ecode3
)) {
28923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
28925 arg3
= static_cast< int >(val3
);
28926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28927 if (!SWIG_IsOK(ecode4
)) {
28928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
28930 arg4
= static_cast< int >(val4
);
28931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28932 if (!SWIG_IsOK(ecode5
)) {
28933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
28935 arg5
= static_cast< int >(val5
);
28936 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28937 if (!SWIG_IsOK(ecode6
)) {
28938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
28940 arg6
= static_cast< double >(val6
);
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= SWIG_Py_Void();
28954 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28955 PyObject
*resultobj
= 0;
28956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 char * kwnames
[] = {
28968 (char *) "self",(char *) "r",(char *) "radius", NULL
28971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28976 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28979 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28981 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28982 if (!SWIG_IsOK(ecode3
)) {
28983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
28985 arg3
= static_cast< double >(val3
);
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= SWIG_Py_Void();
28999 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
= 0;
29001 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29002 wxPoint
*arg2
= 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 PyObject
* obj3
= 0 ;
29015 char * kwnames
[] = {
29016 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29021 if (!SWIG_IsOK(res1
)) {
29022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29024 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29027 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29031 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29033 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29034 if (!SWIG_IsOK(ecode4
)) {
29035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29037 arg4
= static_cast< double >(val4
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_Py_Void();
29051 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
= 0;
29053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29065 PyObject
* obj0
= 0 ;
29066 PyObject
* obj1
= 0 ;
29067 PyObject
* obj2
= 0 ;
29068 PyObject
* obj3
= 0 ;
29069 char * kwnames
[] = {
29070 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29075 if (!SWIG_IsOK(res1
)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29080 if (!SWIG_IsOK(ecode2
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29083 arg2
= static_cast< int >(val2
);
29084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29085 if (!SWIG_IsOK(ecode3
)) {
29086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29088 arg3
= static_cast< int >(val3
);
29089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29090 if (!SWIG_IsOK(ecode4
)) {
29091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29093 arg4
= static_cast< int >(val4
);
29095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29096 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29097 wxPyEndAllowThreads(__tstate
);
29098 if (PyErr_Occurred()) SWIG_fail
;
29100 resultobj
= SWIG_Py_Void();
29107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29108 PyObject
*resultobj
= 0;
29109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29110 wxPoint
*arg2
= 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 char * kwnames
[] = {
29121 (char *) "self",(char *) "pt",(char *) "radius", NULL
29124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29135 if (!SWIG_IsOK(ecode3
)) {
29136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29138 arg3
= static_cast< int >(val3
);
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= SWIG_Py_Void();
29152 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
= 0;
29154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 PyObject
* obj2
= 0 ;
29172 PyObject
* obj3
= 0 ;
29173 PyObject
* obj4
= 0 ;
29174 char * kwnames
[] = {
29175 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29180 if (!SWIG_IsOK(res1
)) {
29181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29183 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29185 if (!SWIG_IsOK(ecode2
)) {
29186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29188 arg2
= static_cast< int >(val2
);
29189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29190 if (!SWIG_IsOK(ecode3
)) {
29191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29193 arg3
= static_cast< int >(val3
);
29194 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29195 if (!SWIG_IsOK(ecode4
)) {
29196 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29198 arg4
= static_cast< int >(val4
);
29199 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29200 if (!SWIG_IsOK(ecode5
)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29203 arg5
= static_cast< int >(val5
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_Py_Void();
29217 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= 0;
29219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29224 PyObject
* obj0
= 0 ;
29225 PyObject
* obj1
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "self",(char *) "rect", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29235 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29238 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29243 wxPyEndAllowThreads(__tstate
);
29244 if (PyErr_Occurred()) SWIG_fail
;
29246 resultobj
= SWIG_Py_Void();
29253 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29254 PyObject
*resultobj
= 0;
29255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29256 wxPoint
*arg2
= 0 ;
29262 PyObject
* obj0
= 0 ;
29263 PyObject
* obj1
= 0 ;
29264 PyObject
* obj2
= 0 ;
29265 char * kwnames
[] = {
29266 (char *) "self",(char *) "pt",(char *) "sz", NULL
29269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29271 if (!SWIG_IsOK(res1
)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29274 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29277 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29281 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29289 resultobj
= SWIG_Py_Void();
29296 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
= 0;
29298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29310 PyObject
* obj0
= 0 ;
29311 PyObject
* obj1
= 0 ;
29312 PyObject
* obj2
= 0 ;
29313 PyObject
* obj3
= 0 ;
29314 char * kwnames
[] = {
29315 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29320 if (!SWIG_IsOK(res1
)) {
29321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29323 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29325 if (!SWIG_IsOK(res2
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29331 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29333 if (!SWIG_IsOK(ecode3
)) {
29334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
29336 arg3
= static_cast< int >(val3
);
29337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29338 if (!SWIG_IsOK(ecode4
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
29341 arg4
= static_cast< int >(val4
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29359 wxPoint
*arg3
= 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 PyObject
* obj2
= 0 ;
29368 char * kwnames
[] = {
29369 (char *) "self",(char *) "icon",(char *) "pt", NULL
29372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29379 if (!SWIG_IsOK(res2
)) {
29380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29385 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= SWIG_Py_Void();
29403 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29404 PyObject
*resultobj
= 0;
29405 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29406 wxBitmap
*arg2
= 0 ;
29409 bool arg5
= (bool) false ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 PyObject
* obj2
= 0 ;
29423 PyObject
* obj3
= 0 ;
29424 PyObject
* obj4
= 0 ;
29425 char * kwnames
[] = {
29426 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
29429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29436 if (!SWIG_IsOK(res2
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29442 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29444 if (!SWIG_IsOK(ecode3
)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
29447 arg3
= static_cast< int >(val3
);
29448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29449 if (!SWIG_IsOK(ecode4
)) {
29450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
29452 arg4
= static_cast< int >(val4
);
29454 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
29455 if (!SWIG_IsOK(ecode5
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
29458 arg5
= static_cast< bool >(val5
);
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_Py_Void();
29473 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
= 0;
29475 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29476 wxBitmap
*arg2
= 0 ;
29477 wxPoint
*arg3
= 0 ;
29478 bool arg4
= (bool) false ;
29486 PyObject
* obj0
= 0 ;
29487 PyObject
* obj1
= 0 ;
29488 PyObject
* obj2
= 0 ;
29489 PyObject
* obj3
= 0 ;
29490 char * kwnames
[] = {
29491 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
29494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29496 if (!SWIG_IsOK(res1
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29501 if (!SWIG_IsOK(res2
)) {
29502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29507 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29513 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29514 if (!SWIG_IsOK(ecode4
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
29517 arg4
= static_cast< bool >(val4
);
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 resultobj
= SWIG_Py_Void();
29532 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
= 0;
29534 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29535 wxString
*arg2
= 0 ;
29540 bool temp2
= false ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 PyObject
* obj2
= 0 ;
29548 PyObject
* obj3
= 0 ;
29549 char * kwnames
[] = {
29550 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
29553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29555 if (!SWIG_IsOK(res1
)) {
29556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29558 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29560 arg2
= wxString_in_helper(obj1
);
29561 if (arg2
== NULL
) SWIG_fail
;
29564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29565 if (!SWIG_IsOK(ecode3
)) {
29566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
29568 arg3
= static_cast< int >(val3
);
29569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29570 if (!SWIG_IsOK(ecode4
)) {
29571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
29573 arg4
= static_cast< int >(val4
);
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= SWIG_Py_Void();
29595 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
= 0;
29597 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29598 wxString
*arg2
= 0 ;
29599 wxPoint
*arg3
= 0 ;
29602 bool temp2
= false ;
29604 PyObject
* obj0
= 0 ;
29605 PyObject
* obj1
= 0 ;
29606 PyObject
* obj2
= 0 ;
29607 char * kwnames
[] = {
29608 (char *) "self",(char *) "text",(char *) "pt", NULL
29611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29616 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29618 arg2
= wxString_in_helper(obj1
);
29619 if (arg2
== NULL
) SWIG_fail
;
29624 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_Py_Void();
29647 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29650 wxString
*arg2
= 0 ;
29656 bool temp2
= false ;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 PyObject
* obj2
= 0 ;
29666 PyObject
* obj3
= 0 ;
29667 PyObject
* obj4
= 0 ;
29668 char * kwnames
[] = {
29669 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
29672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29677 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29679 arg2
= wxString_in_helper(obj1
);
29680 if (arg2
== NULL
) SWIG_fail
;
29683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29684 if (!SWIG_IsOK(ecode3
)) {
29685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
29687 arg3
= static_cast< int >(val3
);
29688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29689 if (!SWIG_IsOK(ecode4
)) {
29690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
29692 arg4
= static_cast< int >(val4
);
29693 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29694 if (!SWIG_IsOK(ecode5
)) {
29695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
29697 arg5
= static_cast< double >(val5
);
29699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29700 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29701 wxPyEndAllowThreads(__tstate
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 resultobj
= SWIG_Py_Void();
29719 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
= 0;
29721 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29722 wxString
*arg2
= 0 ;
29723 wxPoint
*arg3
= 0 ;
29727 bool temp2
= false ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 PyObject
* obj2
= 0 ;
29734 PyObject
* obj3
= 0 ;
29735 char * kwnames
[] = {
29736 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
29739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29746 arg2
= wxString_in_helper(obj1
);
29747 if (arg2
== NULL
) SWIG_fail
;
29752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29754 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29755 if (!SWIG_IsOK(ecode4
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
29758 arg4
= static_cast< double >(val4
);
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29765 resultobj
= SWIG_Py_Void();
29780 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
= 0;
29782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29784 wxPoint
*arg3
= (wxPoint
*) 0 ;
29785 int arg4
= (int) 0 ;
29786 int arg5
= (int) 0 ;
29793 PyObject
* obj0
= 0 ;
29794 PyObject
* obj1
= 0 ;
29795 PyObject
* obj2
= 0 ;
29796 PyObject
* obj3
= 0 ;
29797 char * kwnames
[] = {
29798 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
29801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29803 if (!SWIG_IsOK(res1
)) {
29804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29806 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29808 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
29809 if (arg3
== NULL
) SWIG_fail
;
29812 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29813 if (!SWIG_IsOK(ecode4
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
29816 arg4
= static_cast< int >(val4
);
29819 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
29820 if (!SWIG_IsOK(ecode5
)) {
29821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
29823 arg5
= static_cast< int >(val5
);
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= SWIG_Py_Void();
29833 if (arg3
) delete [] arg3
;
29838 if (arg3
) delete [] arg3
;
29844 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29848 wxPoint
*arg3
= (wxPoint
*) 0 ;
29849 int arg4
= (int) 0 ;
29850 int arg5
= (int) 0 ;
29851 int arg6
= (int) wxODDEVEN_RULE
;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 PyObject
* obj3
= 0 ;
29864 PyObject
* obj4
= 0 ;
29865 char * kwnames
[] = {
29866 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
29869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29871 if (!SWIG_IsOK(res1
)) {
29872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29876 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
29877 if (arg3
== NULL
) SWIG_fail
;
29880 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29881 if (!SWIG_IsOK(ecode4
)) {
29882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
29884 arg4
= static_cast< int >(val4
);
29887 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
29888 if (!SWIG_IsOK(ecode5
)) {
29889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
29891 arg5
= static_cast< int >(val5
);
29894 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
29895 if (!SWIG_IsOK(ecode6
)) {
29896 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
29898 arg6
= static_cast< int >(val6
);
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29902 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
29903 wxPyEndAllowThreads(__tstate
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= SWIG_Py_Void();
29908 if (arg3
) delete [] arg3
;
29913 if (arg3
) delete [] arg3
;
29919 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29920 PyObject
*resultobj
= 0;
29921 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29922 wxString
*arg2
= 0 ;
29924 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
29925 int arg5
= (int) -1 ;
29928 bool temp2
= false ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 PyObject
* obj2
= 0 ;
29937 PyObject
* obj3
= 0 ;
29938 PyObject
* obj4
= 0 ;
29939 char * kwnames
[] = {
29940 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
29943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29945 if (!SWIG_IsOK(res1
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29950 arg2
= wxString_in_helper(obj1
);
29951 if (arg2
== NULL
) SWIG_fail
;
29956 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29960 if (!SWIG_IsOK(ecode4
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
29963 arg4
= static_cast< int >(val4
);
29966 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29967 if (!SWIG_IsOK(ecode5
)) {
29968 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
29970 arg5
= static_cast< int >(val5
);
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= SWIG_Py_Void();
29993 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
= 0;
29995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29996 wxString
*arg2
= 0 ;
29997 wxBitmap
*arg3
= 0 ;
29999 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30000 int arg6
= (int) -1 ;
30003 bool temp2
= false ;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 PyObject
* obj2
= 0 ;
30014 PyObject
* obj3
= 0 ;
30015 PyObject
* obj4
= 0 ;
30016 PyObject
* obj5
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30026 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30028 arg2
= wxString_in_helper(obj1
);
30029 if (arg2
== NULL
) SWIG_fail
;
30032 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30033 if (!SWIG_IsOK(res3
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30039 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30042 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30045 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30046 if (!SWIG_IsOK(ecode5
)) {
30047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30049 arg5
= static_cast< int >(val5
);
30052 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30053 if (!SWIG_IsOK(ecode6
)) {
30054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30056 arg6
= static_cast< int >(val6
);
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= SWIG_Py_Void();
30079 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
= 0;
30081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30083 wxPoint
*arg3
= (wxPoint
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char * kwnames
[] = {
30089 (char *) "self",(char *) "points", NULL
30092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30097 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30099 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30100 if (arg3
== NULL
) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 (arg1
)->DrawSpline(arg2
,arg3
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_Py_Void();
30110 if (arg3
) delete [] arg3
;
30115 if (arg3
) delete [] arg3
;
30121 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 PyObject
*resultobj
= 0;
30123 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30126 PyObject
*swig_obj
[1] ;
30128 if (!args
) SWIG_fail
;
30129 swig_obj
[0] = args
;
30130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30131 if (!SWIG_IsOK(res1
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= SWIG_Py_Void();
30148 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
= 0;
30150 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30156 PyObject
* obj0
= 0 ;
30157 PyObject
* obj1
= 0 ;
30158 char * kwnames
[] = {
30159 (char *) "self",(char *) "font", NULL
30162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30164 if (!SWIG_IsOK(res1
)) {
30165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30169 if (!SWIG_IsOK(res2
)) {
30170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30175 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 (arg1
)->SetFont((wxFont
const &)*arg2
);
30179 wxPyEndAllowThreads(__tstate
);
30180 if (PyErr_Occurred()) SWIG_fail
;
30182 resultobj
= SWIG_Py_Void();
30189 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30190 PyObject
*resultobj
= 0;
30191 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30197 PyObject
* obj0
= 0 ;
30198 PyObject
* obj1
= 0 ;
30199 char * kwnames
[] = {
30200 (char *) "self",(char *) "pen", NULL
30203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30205 if (!SWIG_IsOK(res1
)) {
30206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30210 if (!SWIG_IsOK(res2
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30216 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 (arg1
)->SetPen((wxPen
const &)*arg2
);
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 resultobj
= SWIG_Py_Void();
30230 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
= 0;
30232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30233 wxBrush
*arg2
= 0 ;
30238 PyObject
* obj0
= 0 ;
30239 PyObject
* obj1
= 0 ;
30240 char * kwnames
[] = {
30241 (char *) "self",(char *) "brush", NULL
30244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30246 if (!SWIG_IsOK(res1
)) {
30247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30249 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30251 if (!SWIG_IsOK(res2
)) {
30252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30257 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30260 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30264 resultobj
= SWIG_Py_Void();
30271 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30272 PyObject
*resultobj
= 0;
30273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30274 wxBrush
*arg2
= 0 ;
30279 PyObject
* obj0
= 0 ;
30280 PyObject
* obj1
= 0 ;
30281 char * kwnames
[] = {
30282 (char *) "self",(char *) "brush", NULL
30285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30287 if (!SWIG_IsOK(res1
)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30292 if (!SWIG_IsOK(res2
)) {
30293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30298 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30313 PyObject
*resultobj
= 0;
30314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30320 PyObject
* obj0
= 0 ;
30321 PyObject
* obj1
= 0 ;
30322 char * kwnames
[] = {
30323 (char *) "self",(char *) "mode", NULL
30326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30328 if (!SWIG_IsOK(res1
)) {
30329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30333 if (!SWIG_IsOK(ecode2
)) {
30334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
30336 arg2
= static_cast< int >(val2
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 (arg1
)->SetBackgroundMode(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 resultobj
= SWIG_Py_Void();
30350 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
= 0;
30352 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30353 wxPalette
*arg2
= 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 char * kwnames
[] = {
30361 (char *) "self",(char *) "palette", NULL
30364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30366 if (!SWIG_IsOK(res1
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
30371 if (!SWIG_IsOK(res2
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30377 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= SWIG_Py_Void();
30391 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
= 0;
30393 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30394 wxColour
*arg2
= 0 ;
30398 PyObject
* obj0
= 0 ;
30399 PyObject
* obj1
= 0 ;
30400 char * kwnames
[] = {
30401 (char *) "self",(char *) "colour", NULL
30404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30406 if (!SWIG_IsOK(res1
)) {
30407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30409 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30412 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= SWIG_Py_Void();
30427 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
= 0;
30429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30430 wxColour
*arg2
= 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "colour", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30448 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= SWIG_Py_Void();
30463 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30464 PyObject
*resultobj
= 0;
30465 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30471 PyObject
* obj0
= 0 ;
30472 PyObject
* obj1
= 0 ;
30473 char * kwnames
[] = {
30474 (char *) "self",(char *) "function", NULL
30477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30479 if (!SWIG_IsOK(res1
)) {
30480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30482 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30484 if (!SWIG_IsOK(ecode2
)) {
30485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
30487 arg2
= static_cast< int >(val2
);
30489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30490 (arg1
)->SetLogicalFunction(arg2
);
30491 wxPyEndAllowThreads(__tstate
);
30492 if (PyErr_Occurred()) SWIG_fail
;
30494 resultobj
= SWIG_Py_Void();
30501 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30504 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
30505 return SWIG_Py_Void();
30508 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30509 return SWIG_Python_InitShadowInstance(args
);
30512 static PyMethodDef SwigMethods
[] = {
30513 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
30514 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
30515 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
30516 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
30517 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
30518 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30521 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
30522 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
30523 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
30524 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
30525 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
30526 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
30527 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
30532 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
30536 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
30537 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
30538 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
30540 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
30543 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
30544 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
30545 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
30546 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30547 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
30548 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
30549 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
30550 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
30551 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
30552 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
30553 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
30554 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
30561 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
30563 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30565 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
30566 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
30567 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
30570 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30571 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
30574 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
30575 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
30576 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
30577 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
30578 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
30579 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
30580 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
30582 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30584 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
30588 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
30589 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
30590 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
30591 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
30592 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
30593 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
30594 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
30600 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30601 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30602 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
30608 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
30609 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30610 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
30613 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
30614 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
30615 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
30616 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
30617 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
30618 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
30619 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
30620 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
30621 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
30622 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
30623 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
30624 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
30625 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
30626 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
30627 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
30629 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
30630 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30632 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
30636 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30637 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30638 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
30639 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
30640 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
30641 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
30642 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
30643 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
30644 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
30645 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
30646 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
30647 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30648 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
30649 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
30650 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30651 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
30656 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30657 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30658 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30659 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
30660 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
30661 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
30662 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30663 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
30664 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
30665 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30669 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
30670 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
30671 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
30672 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
30673 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
30678 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
30679 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
30681 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
30682 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
30684 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
30686 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
30687 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
30688 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
30689 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
30692 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
30696 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
30697 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
30699 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30700 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
30702 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
30703 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
30704 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
30709 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
30710 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
30716 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
30720 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
30730 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
30733 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
30734 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
30736 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
30737 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
30738 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
30739 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
30740 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
30741 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
30742 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
30743 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
30744 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
30745 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
30746 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
30747 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
30748 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
30749 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
30750 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
30751 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
30752 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
30754 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
30755 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
30756 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
30757 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
30758 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
30759 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
30760 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
30769 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
30770 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
30772 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
30773 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
30774 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
30775 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
30776 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
30777 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
30778 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
30779 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
30780 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
30782 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
30783 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
30784 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
30787 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
30788 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
30789 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
30792 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
30798 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
30803 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
30804 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
30806 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
30812 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
30815 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
30816 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
30817 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
30818 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
30819 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
30820 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
30821 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
30822 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
30823 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
30824 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
30825 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
30826 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
30827 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
30839 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
30840 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
30841 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
30843 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
30844 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
30846 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
30847 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
30848 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
30849 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
30853 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
30854 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
30856 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
30857 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
30858 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
30859 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
30860 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
30861 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
30862 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
30863 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
30864 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
30866 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
30869 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
30870 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
30871 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
30872 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
30873 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
30874 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
30875 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
30876 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
30885 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
30886 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
30887 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
30889 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
30893 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
30894 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
30895 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
30896 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
30897 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
30898 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
30904 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
30905 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
30906 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
30955 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
30957 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
30958 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
30959 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
30966 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
30967 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
30968 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
30969 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
30970 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
30975 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
30976 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
30977 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
30978 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
30987 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
30988 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
30989 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
30990 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
30991 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
30992 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
30993 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
30994 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
30995 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
30996 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
30997 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
30998 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31001 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31003 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31005 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31007 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31008 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31011 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31012 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31016 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31018 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31021 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31022 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31023 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31024 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31025 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31026 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31033 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31034 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31037 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31038 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31039 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31040 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31041 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31042 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31043 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31045 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31046 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31047 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31050 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31051 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31052 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31054 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31055 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31057 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31058 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31060 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31061 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31066 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31069 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31070 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31071 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31073 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31074 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31076 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31077 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31079 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31080 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31082 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31090 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31092 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31094 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31095 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31096 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31097 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31098 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31099 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31105 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31106 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31107 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31108 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31109 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31110 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31114 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31118 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31122 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31123 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31124 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31129 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31130 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31131 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31132 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31133 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31134 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31135 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31136 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31137 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31138 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31139 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31140 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31149 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31150 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31152 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31153 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31154 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31155 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31156 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31157 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31159 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31161 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31162 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31163 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31164 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31175 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31176 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31177 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31179 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31180 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31181 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31182 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31183 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31184 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31185 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31186 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31207 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31235 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31245 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31246 { NULL
, NULL
, 0, NULL
}
31250 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31252 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31253 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31255 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31256 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31258 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31259 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31261 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31262 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31264 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31265 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31267 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31268 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31270 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31271 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31273 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31274 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31276 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31277 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31279 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31280 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31282 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31283 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31285 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31286 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31288 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31289 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31291 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31292 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31294 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31295 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31297 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31298 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31300 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31301 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31303 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31304 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31306 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
31307 return (void *)((wxDC
*) ((wxClientDC
*) x
));
31309 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
31310 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
31312 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
31313 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
31315 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
31316 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
31318 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
31319 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
31321 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
31322 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
31324 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
31325 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
31327 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
31328 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31330 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31331 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31333 static void *_p_wxPenTo_p_wxObject(void *x
) {
31334 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
31336 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
31337 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
31339 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31340 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31342 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31343 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31345 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31348 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31349 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31351 static void *_p_wxIconTo_p_wxObject(void *x
) {
31352 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
31354 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31355 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31357 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31358 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31360 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31361 return (void *)((wxObject
*) ((wxSizer
*) x
));
31363 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31364 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31366 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31369 static void *_p_wxEventTo_p_wxObject(void *x
) {
31370 return (void *)((wxObject
*) ((wxEvent
*) x
));
31372 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31373 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31375 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31376 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31378 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31379 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31381 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
31382 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
31384 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31387 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31388 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31390 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31391 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31393 static void *_p_wxDCTo_p_wxObject(void *x
) {
31394 return (void *)((wxObject
*) ((wxDC
*) x
));
31396 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31397 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31399 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31400 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31402 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31403 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31405 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31406 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31408 static void *_p_wxControlTo_p_wxObject(void *x
) {
31409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31411 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31412 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31414 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
31415 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
31417 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31418 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31420 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
31421 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
31423 static void *_p_wxRegionTo_p_wxObject(void *x
) {
31424 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
31426 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31427 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31429 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
31430 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
31432 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
31433 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
31435 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
31436 return (void *)((wxObject
*) ((wxEffects
*) x
));
31438 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31439 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31441 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31444 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
31445 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
31447 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31448 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31450 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31451 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31453 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31456 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31457 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31459 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31462 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31463 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31465 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31468 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31471 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31474 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31477 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31480 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31483 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31486 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31489 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31492 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31495 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31498 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31501 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31504 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31507 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31510 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31513 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31514 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31516 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31519 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31520 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31522 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
31523 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31525 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
31526 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31528 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
31529 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
31531 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
31532 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
31534 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
31535 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
31537 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31538 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31540 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31541 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31543 static void *_p_wxImageTo_p_wxObject(void *x
) {
31544 return (void *)((wxObject
*) ((wxImage
*) x
));
31546 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31549 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
31552 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
31555 static void *_p_wxImageListTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) ((wxImageList
*) x
));
31558 static void *_p_wxCursorTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
31561 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
31564 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
31567 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31570 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31573 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31576 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31579 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31582 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31585 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
31588 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31591 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
31594 static void *_p_wxMaskTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) ((wxMask
*) x
));
31597 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31600 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31603 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31606 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31609 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31612 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31615 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31618 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31621 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31624 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31627 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31630 static void *_p_wxFontTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
31633 static void *_p_wxBrushTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
31636 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
31639 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31642 static void *_p_wxColourTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) ((wxColour
*) x
));
31645 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31648 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31651 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31652 return (void *)((wxWindow
*) ((wxControl
*) x
));
31654 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31655 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31657 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31658 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31660 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
31661 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
31663 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
31664 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
31666 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
31667 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
31668 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
31669 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};
31670 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
31671 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31672 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31673 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31674 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
31675 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
31676 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31677 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
31678 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
31679 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
31680 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
31681 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
31682 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
31683 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31684 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
31685 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
31686 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31687 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
31688 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31689 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
31690 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
31691 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
31692 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
31693 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
31694 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
31695 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
31696 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
31697 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
31698 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
31699 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
31700 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
31701 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
31702 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
31703 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
31704 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
31705 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
31706 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
31707 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
31708 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
31709 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
31710 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
31711 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
31712 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
31713 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
31714 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
31715 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
31716 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31717 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
31718 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
31719 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
31720 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
31721 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
31722 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31723 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
31724 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
31725 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
31726 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
31727 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31728 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
31729 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
31730 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
31731 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
31732 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
31733 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
31734 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
31735 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
31736 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31737 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
31738 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
31739 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31740 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
31741 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
31742 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
31743 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31744 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31745 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31746 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31747 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31748 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31749 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
31750 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
31751 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
31752 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
31753 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
31754 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
31755 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
31756 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
31757 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
31758 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
31759 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
31760 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
31761 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
31762 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
31763 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
31764 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
31765 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
31766 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
31767 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
31768 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
31769 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
31770 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31771 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
31772 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
31773 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
31774 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
31775 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
31776 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
31777 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
31778 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
31779 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
31780 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
31781 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
31782 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
31783 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
31784 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
31785 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
31786 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
31787 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
31788 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
31789 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
31790 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
31791 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
31792 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
31793 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
31794 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
31795 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
31796 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
31797 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
31798 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
31799 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
31800 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
31801 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
31802 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
31803 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
31804 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
31805 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
31806 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
31807 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
31808 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
31809 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
31810 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
31811 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
31812 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
31813 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
31815 static swig_type_info
*swig_type_initial
[] = {
31819 &_swigt__p_form_ops_t
,
31821 &_swigt__p_unsigned_char
,
31822 &_swigt__p_unsigned_int
,
31823 &_swigt__p_unsigned_long
,
31824 &_swigt__p_wxANIHandler
,
31825 &_swigt__p_wxAcceleratorTable
,
31826 &_swigt__p_wxActivateEvent
,
31827 &_swigt__p_wxAlphaPixelData
,
31828 &_swigt__p_wxAlphaPixelData_Accessor
,
31829 &_swigt__p_wxBMPHandler
,
31830 &_swigt__p_wxBitmap
,
31831 &_swigt__p_wxBoxSizer
,
31832 &_swigt__p_wxBrush
,
31833 &_swigt__p_wxBrushList
,
31834 &_swigt__p_wxBufferedDC
,
31835 &_swigt__p_wxBufferedPaintDC
,
31836 &_swigt__p_wxCURHandler
,
31838 &_swigt__p_wxChildFocusEvent
,
31839 &_swigt__p_wxClientDC
,
31840 &_swigt__p_wxClipboardTextEvent
,
31841 &_swigt__p_wxCloseEvent
,
31842 &_swigt__p_wxColour
,
31843 &_swigt__p_wxColourDatabase
,
31844 &_swigt__p_wxCommandEvent
,
31845 &_swigt__p_wxContextMenuEvent
,
31846 &_swigt__p_wxControl
,
31847 &_swigt__p_wxControlWithItems
,
31848 &_swigt__p_wxCursor
,
31851 &_swigt__p_wxDateEvent
,
31852 &_swigt__p_wxDisplayChangedEvent
,
31853 &_swigt__p_wxDropFilesEvent
,
31854 &_swigt__p_wxDuplexMode
,
31855 &_swigt__p_wxEffects
,
31856 &_swigt__p_wxEncodingConverter
,
31857 &_swigt__p_wxEraseEvent
,
31858 &_swigt__p_wxEvent
,
31859 &_swigt__p_wxEvtHandler
,
31860 &_swigt__p_wxFSFile
,
31861 &_swigt__p_wxFileSystem
,
31862 &_swigt__p_wxFlexGridSizer
,
31863 &_swigt__p_wxFocusEvent
,
31865 &_swigt__p_wxFontList
,
31866 &_swigt__p_wxFontMapper
,
31867 &_swigt__p_wxGBSizerItem
,
31868 &_swigt__p_wxGDIObjListBase
,
31869 &_swigt__p_wxGDIObject
,
31870 &_swigt__p_wxGIFHandler
,
31871 &_swigt__p_wxGridBagSizer
,
31872 &_swigt__p_wxGridSizer
,
31873 &_swigt__p_wxICOHandler
,
31875 &_swigt__p_wxIconBundle
,
31876 &_swigt__p_wxIconLocation
,
31877 &_swigt__p_wxIconizeEvent
,
31878 &_swigt__p_wxIdleEvent
,
31879 &_swigt__p_wxImage
,
31880 &_swigt__p_wxImageHandler
,
31881 &_swigt__p_wxImageList
,
31882 &_swigt__p_wxIndividualLayoutConstraint
,
31883 &_swigt__p_wxInitDialogEvent
,
31884 &_swigt__p_wxJPEGHandler
,
31885 &_swigt__p_wxKeyEvent
,
31886 &_swigt__p_wxLanguageInfo
,
31887 &_swigt__p_wxLayoutConstraints
,
31888 &_swigt__p_wxLocale
,
31890 &_swigt__p_wxMaximizeEvent
,
31891 &_swigt__p_wxMemoryDC
,
31893 &_swigt__p_wxMenuBar
,
31894 &_swigt__p_wxMenuEvent
,
31895 &_swigt__p_wxMenuItem
,
31896 &_swigt__p_wxMetaFile
,
31897 &_swigt__p_wxMetaFileDC
,
31898 &_swigt__p_wxMirrorDC
,
31899 &_swigt__p_wxMouseCaptureChangedEvent
,
31900 &_swigt__p_wxMouseCaptureLostEvent
,
31901 &_swigt__p_wxMouseEvent
,
31902 &_swigt__p_wxMoveEvent
,
31903 &_swigt__p_wxNativeEncodingInfo
,
31904 &_swigt__p_wxNativeFontInfo
,
31905 &_swigt__p_wxNativePixelData
,
31906 &_swigt__p_wxNativePixelData_Accessor
,
31907 &_swigt__p_wxNavigationKeyEvent
,
31908 &_swigt__p_wxNcPaintEvent
,
31909 &_swigt__p_wxNotifyEvent
,
31910 &_swigt__p_wxObject
,
31911 &_swigt__p_wxPCXHandler
,
31912 &_swigt__p_wxPNGHandler
,
31913 &_swigt__p_wxPNMHandler
,
31914 &_swigt__p_wxPaintDC
,
31915 &_swigt__p_wxPaintEvent
,
31916 &_swigt__p_wxPalette
,
31917 &_swigt__p_wxPaletteChangedEvent
,
31918 &_swigt__p_wxPaperSize
,
31920 &_swigt__p_wxPenList
,
31921 &_swigt__p_wxPixelDataBase
,
31922 &_swigt__p_wxPoint
,
31923 &_swigt__p_wxPostScriptDC
,
31924 &_swigt__p_wxPrintData
,
31925 &_swigt__p_wxPrinterDC
,
31926 &_swigt__p_wxPseudoDC
,
31927 &_swigt__p_wxPyApp
,
31928 &_swigt__p_wxPyCommandEvent
,
31929 &_swigt__p_wxPyEvent
,
31930 &_swigt__p_wxPyFontEnumerator
,
31931 &_swigt__p_wxPyImageHandler
,
31932 &_swigt__p_wxPyLocale
,
31933 &_swigt__p_wxPySizer
,
31934 &_swigt__p_wxPyValidator
,
31935 &_swigt__p_wxQueryNewPaletteEvent
,
31937 &_swigt__p_wxRegion
,
31938 &_swigt__p_wxRegionIterator
,
31939 &_swigt__p_wxRendererNative
,
31940 &_swigt__p_wxRendererVersion
,
31941 &_swigt__p_wxScreenDC
,
31942 &_swigt__p_wxScrollEvent
,
31943 &_swigt__p_wxScrollWinEvent
,
31944 &_swigt__p_wxSetCursorEvent
,
31945 &_swigt__p_wxShowEvent
,
31947 &_swigt__p_wxSizeEvent
,
31948 &_swigt__p_wxSizer
,
31949 &_swigt__p_wxSizerItem
,
31950 &_swigt__p_wxSplitterRenderParams
,
31951 &_swigt__p_wxStaticBoxSizer
,
31952 &_swigt__p_wxStdDialogButtonSizer
,
31953 &_swigt__p_wxStockGDI
,
31954 &_swigt__p_wxString
,
31955 &_swigt__p_wxSysColourChangedEvent
,
31956 &_swigt__p_wxTIFFHandler
,
31957 &_swigt__p_wxUpdateUIEvent
,
31958 &_swigt__p_wxValidator
,
31959 &_swigt__p_wxWindow
,
31960 &_swigt__p_wxWindowCreateEvent
,
31961 &_swigt__p_wxWindowDC
,
31962 &_swigt__p_wxWindowDestroyEvent
,
31963 &_swigt__p_wxXPMHandler
,
31966 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
31967 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
31968 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
31969 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
31970 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
31971 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
31972 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
31973 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
31974 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
31975 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
31976 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
31977 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
31978 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
31979 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}};
31980 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
31981 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
31982 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
31983 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
31984 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
31985 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
31986 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}};
31987 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
31988 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
31989 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
31990 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
31991 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
31992 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
31993 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
31994 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}};
31995 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}};
31996 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
31997 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
31998 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
31999 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32000 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32001 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32002 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}};
32003 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32004 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}};
32005 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32006 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32007 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32008 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32009 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32010 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32011 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32012 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32013 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32014 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32015 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32016 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32017 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32018 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32019 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32020 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32021 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32022 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32023 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32024 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32025 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32026 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32027 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32028 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32029 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32030 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32031 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32032 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32033 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32034 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32035 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32036 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32037 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32038 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32039 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32040 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32041 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32042 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32043 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32044 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32045 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32046 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32047 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32048 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32049 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32050 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32051 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32052 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32053 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32054 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32055 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32056 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32057 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32058 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32059 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32060 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32061 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32062 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32063 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32064 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32065 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32066 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32067 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32068 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32069 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32070 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32071 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32072 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32073 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32074 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32075 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32076 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32077 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32078 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32079 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32080 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32081 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32082 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32083 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32084 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32085 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32086 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32087 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32088 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}};
32089 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32090 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32091 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32092 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32093 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32094 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}};
32095 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32096 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32097 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32098 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32099 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32100 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32101 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32102 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32103 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32104 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32105 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32106 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32107 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32108 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32109 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32110 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32111 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32112 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}};
32113 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32115 static swig_cast_info
*swig_cast_initial
[] = {
32119 _swigc__p_form_ops_t
,
32121 _swigc__p_unsigned_char
,
32122 _swigc__p_unsigned_int
,
32123 _swigc__p_unsigned_long
,
32124 _swigc__p_wxANIHandler
,
32125 _swigc__p_wxAcceleratorTable
,
32126 _swigc__p_wxActivateEvent
,
32127 _swigc__p_wxAlphaPixelData
,
32128 _swigc__p_wxAlphaPixelData_Accessor
,
32129 _swigc__p_wxBMPHandler
,
32130 _swigc__p_wxBitmap
,
32131 _swigc__p_wxBoxSizer
,
32133 _swigc__p_wxBrushList
,
32134 _swigc__p_wxBufferedDC
,
32135 _swigc__p_wxBufferedPaintDC
,
32136 _swigc__p_wxCURHandler
,
32138 _swigc__p_wxChildFocusEvent
,
32139 _swigc__p_wxClientDC
,
32140 _swigc__p_wxClipboardTextEvent
,
32141 _swigc__p_wxCloseEvent
,
32142 _swigc__p_wxColour
,
32143 _swigc__p_wxColourDatabase
,
32144 _swigc__p_wxCommandEvent
,
32145 _swigc__p_wxContextMenuEvent
,
32146 _swigc__p_wxControl
,
32147 _swigc__p_wxControlWithItems
,
32148 _swigc__p_wxCursor
,
32151 _swigc__p_wxDateEvent
,
32152 _swigc__p_wxDisplayChangedEvent
,
32153 _swigc__p_wxDropFilesEvent
,
32154 _swigc__p_wxDuplexMode
,
32155 _swigc__p_wxEffects
,
32156 _swigc__p_wxEncodingConverter
,
32157 _swigc__p_wxEraseEvent
,
32159 _swigc__p_wxEvtHandler
,
32160 _swigc__p_wxFSFile
,
32161 _swigc__p_wxFileSystem
,
32162 _swigc__p_wxFlexGridSizer
,
32163 _swigc__p_wxFocusEvent
,
32165 _swigc__p_wxFontList
,
32166 _swigc__p_wxFontMapper
,
32167 _swigc__p_wxGBSizerItem
,
32168 _swigc__p_wxGDIObjListBase
,
32169 _swigc__p_wxGDIObject
,
32170 _swigc__p_wxGIFHandler
,
32171 _swigc__p_wxGridBagSizer
,
32172 _swigc__p_wxGridSizer
,
32173 _swigc__p_wxICOHandler
,
32175 _swigc__p_wxIconBundle
,
32176 _swigc__p_wxIconLocation
,
32177 _swigc__p_wxIconizeEvent
,
32178 _swigc__p_wxIdleEvent
,
32180 _swigc__p_wxImageHandler
,
32181 _swigc__p_wxImageList
,
32182 _swigc__p_wxIndividualLayoutConstraint
,
32183 _swigc__p_wxInitDialogEvent
,
32184 _swigc__p_wxJPEGHandler
,
32185 _swigc__p_wxKeyEvent
,
32186 _swigc__p_wxLanguageInfo
,
32187 _swigc__p_wxLayoutConstraints
,
32188 _swigc__p_wxLocale
,
32190 _swigc__p_wxMaximizeEvent
,
32191 _swigc__p_wxMemoryDC
,
32193 _swigc__p_wxMenuBar
,
32194 _swigc__p_wxMenuEvent
,
32195 _swigc__p_wxMenuItem
,
32196 _swigc__p_wxMetaFile
,
32197 _swigc__p_wxMetaFileDC
,
32198 _swigc__p_wxMirrorDC
,
32199 _swigc__p_wxMouseCaptureChangedEvent
,
32200 _swigc__p_wxMouseCaptureLostEvent
,
32201 _swigc__p_wxMouseEvent
,
32202 _swigc__p_wxMoveEvent
,
32203 _swigc__p_wxNativeEncodingInfo
,
32204 _swigc__p_wxNativeFontInfo
,
32205 _swigc__p_wxNativePixelData
,
32206 _swigc__p_wxNativePixelData_Accessor
,
32207 _swigc__p_wxNavigationKeyEvent
,
32208 _swigc__p_wxNcPaintEvent
,
32209 _swigc__p_wxNotifyEvent
,
32210 _swigc__p_wxObject
,
32211 _swigc__p_wxPCXHandler
,
32212 _swigc__p_wxPNGHandler
,
32213 _swigc__p_wxPNMHandler
,
32214 _swigc__p_wxPaintDC
,
32215 _swigc__p_wxPaintEvent
,
32216 _swigc__p_wxPalette
,
32217 _swigc__p_wxPaletteChangedEvent
,
32218 _swigc__p_wxPaperSize
,
32220 _swigc__p_wxPenList
,
32221 _swigc__p_wxPixelDataBase
,
32223 _swigc__p_wxPostScriptDC
,
32224 _swigc__p_wxPrintData
,
32225 _swigc__p_wxPrinterDC
,
32226 _swigc__p_wxPseudoDC
,
32228 _swigc__p_wxPyCommandEvent
,
32229 _swigc__p_wxPyEvent
,
32230 _swigc__p_wxPyFontEnumerator
,
32231 _swigc__p_wxPyImageHandler
,
32232 _swigc__p_wxPyLocale
,
32233 _swigc__p_wxPySizer
,
32234 _swigc__p_wxPyValidator
,
32235 _swigc__p_wxQueryNewPaletteEvent
,
32237 _swigc__p_wxRegion
,
32238 _swigc__p_wxRegionIterator
,
32239 _swigc__p_wxRendererNative
,
32240 _swigc__p_wxRendererVersion
,
32241 _swigc__p_wxScreenDC
,
32242 _swigc__p_wxScrollEvent
,
32243 _swigc__p_wxScrollWinEvent
,
32244 _swigc__p_wxSetCursorEvent
,
32245 _swigc__p_wxShowEvent
,
32247 _swigc__p_wxSizeEvent
,
32249 _swigc__p_wxSizerItem
,
32250 _swigc__p_wxSplitterRenderParams
,
32251 _swigc__p_wxStaticBoxSizer
,
32252 _swigc__p_wxStdDialogButtonSizer
,
32253 _swigc__p_wxStockGDI
,
32254 _swigc__p_wxString
,
32255 _swigc__p_wxSysColourChangedEvent
,
32256 _swigc__p_wxTIFFHandler
,
32257 _swigc__p_wxUpdateUIEvent
,
32258 _swigc__p_wxValidator
,
32259 _swigc__p_wxWindow
,
32260 _swigc__p_wxWindowCreateEvent
,
32261 _swigc__p_wxWindowDC
,
32262 _swigc__p_wxWindowDestroyEvent
,
32263 _swigc__p_wxXPMHandler
,
32267 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32269 static swig_const_info swig_const_table
[] = {
32270 {0, 0, 0, 0.0, 0, 0}};
32275 /* -----------------------------------------------------------------------------
32276 * Type initialization:
32277 * This problem is tough by the requirement that no dynamic
32278 * memory is used. Also, since swig_type_info structures store pointers to
32279 * swig_cast_info structures and swig_cast_info structures store pointers back
32280 * to swig_type_info structures, we need some lookup code at initialization.
32281 * The idea is that swig generates all the structures that are needed.
32282 * The runtime then collects these partially filled structures.
32283 * The SWIG_InitializeModule function takes these initial arrays out of
32284 * swig_module, and does all the lookup, filling in the swig_module.types
32285 * array with the correct data and linking the correct swig_cast_info
32286 * structures together.
32288 * The generated swig_type_info structures are assigned staticly to an initial
32289 * array. We just loop though that array, and handle each type individually.
32290 * First we lookup if this type has been already loaded, and if so, use the
32291 * loaded structure instead of the generated one. Then we have to fill in the
32292 * cast linked list. The cast data is initially stored in something like a
32293 * two-dimensional array. Each row corresponds to a type (there are the same
32294 * number of rows as there are in the swig_type_initial array). Each entry in
32295 * a column is one of the swig_cast_info structures for that type.
32296 * The cast_initial array is actually an array of arrays, because each row has
32297 * a variable number of columns. So to actually build the cast linked list,
32298 * we find the array of casts associated with the type, and loop through it
32299 * adding the casts to the list. The one last trick we need to do is making
32300 * sure the type pointer in the swig_cast_info struct is correct.
32302 * First off, we lookup the cast->type name to see if it is already loaded.
32303 * There are three cases to handle:
32304 * 1) If the cast->type has already been loaded AND the type we are adding
32305 * casting info to has not been loaded (it is in this module), THEN we
32306 * replace the cast->type pointer with the type pointer that has already
32308 * 2) If BOTH types (the one we are adding casting info to, and the
32309 * cast->type) are loaded, THEN the cast info has already been loaded by
32310 * the previous module so we just ignore it.
32311 * 3) Finally, if cast->type has not already been loaded, then we add that
32312 * swig_cast_info to the linked list (because the cast->type) pointer will
32314 * ----------------------------------------------------------------------------- */
32324 #define SWIGRUNTIME_DEBUG
32328 SWIG_InitializeModule(void *clientdata
) {
32330 swig_module_info
*module_head
;
32331 static int init_run
= 0;
32333 clientdata
= clientdata
;
32335 if (init_run
) return;
32338 /* Initialize the swig_module */
32339 swig_module
.type_initial
= swig_type_initial
;
32340 swig_module
.cast_initial
= swig_cast_initial
;
32342 /* Try and load any already created modules */
32343 module_head
= SWIG_GetModule(clientdata
);
32345 swig_module
.next
= module_head
->next
;
32346 module_head
->next
= &swig_module
;
32348 /* This is the first module loaded */
32349 swig_module
.next
= &swig_module
;
32350 SWIG_SetModule(clientdata
, &swig_module
);
32353 /* Now work on filling in swig_module.types */
32354 #ifdef SWIGRUNTIME_DEBUG
32355 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32357 for (i
= 0; i
< swig_module
.size
; ++i
) {
32358 swig_type_info
*type
= 0;
32359 swig_type_info
*ret
;
32360 swig_cast_info
*cast
;
32362 #ifdef SWIGRUNTIME_DEBUG
32363 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32366 /* if there is another module already loaded */
32367 if (swig_module
.next
!= &swig_module
) {
32368 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32371 /* Overwrite clientdata field */
32372 #ifdef SWIGRUNTIME_DEBUG
32373 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32375 if (swig_module
.type_initial
[i
]->clientdata
) {
32376 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32377 #ifdef SWIGRUNTIME_DEBUG
32378 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32382 type
= swig_module
.type_initial
[i
];
32385 /* Insert casting types */
32386 cast
= swig_module
.cast_initial
[i
];
32387 while (cast
->type
) {
32388 /* Don't need to add information already in the list */
32390 #ifdef SWIGRUNTIME_DEBUG
32391 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32393 if (swig_module
.next
!= &swig_module
) {
32394 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32395 #ifdef SWIGRUNTIME_DEBUG
32396 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32400 if (type
== swig_module
.type_initial
[i
]) {
32401 #ifdef SWIGRUNTIME_DEBUG
32402 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32407 /* Check for casting already in the list */
32408 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32409 #ifdef SWIGRUNTIME_DEBUG
32410 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32412 if (!ocast
) ret
= 0;
32417 #ifdef SWIGRUNTIME_DEBUG
32418 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32421 type
->cast
->prev
= cast
;
32422 cast
->next
= type
->cast
;
32428 /* Set entry in modules->types array equal to the type */
32429 swig_module
.types
[i
] = type
;
32431 swig_module
.types
[i
] = 0;
32433 #ifdef SWIGRUNTIME_DEBUG
32434 printf("**** SWIG_InitializeModule: Cast List ******\n");
32435 for (i
= 0; i
< swig_module
.size
; ++i
) {
32437 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32438 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32439 while (cast
->type
) {
32440 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32444 printf("---- Total casts: %d\n",j
);
32446 printf("**** SWIG_InitializeModule: Cast List ******\n");
32450 /* This function will propagate the clientdata field of type to
32451 * any new swig_type_info structures that have been added into the list
32452 * of equivalent types. It is like calling
32453 * SWIG_TypeClientData(type, clientdata) a second time.
32456 SWIG_PropagateClientData(void) {
32458 swig_cast_info
*equiv
;
32459 static int init_run
= 0;
32461 if (init_run
) return;
32464 for (i
= 0; i
< swig_module
.size
; i
++) {
32465 if (swig_module
.types
[i
]->clientdata
) {
32466 equiv
= swig_module
.types
[i
]->cast
;
32468 if (!equiv
->converter
) {
32469 if (equiv
->type
&& !equiv
->type
->clientdata
)
32470 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32472 equiv
= equiv
->next
;
32492 /* Python-specific SWIG API */
32493 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32494 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32495 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32497 /* -----------------------------------------------------------------------------
32498 * global variable support code.
32499 * ----------------------------------------------------------------------------- */
32501 typedef struct swig_globalvar
{
32502 char *name
; /* Name of global variable */
32503 PyObject
*(*get_attr
)(void); /* Return the current value */
32504 int (*set_attr
)(PyObject
*); /* Set the value */
32505 struct swig_globalvar
*next
;
32508 typedef struct swig_varlinkobject
{
32510 swig_globalvar
*vars
;
32511 } swig_varlinkobject
;
32513 SWIGINTERN PyObject
*
32514 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32515 return PyString_FromString("<Swig global variables>");
32518 SWIGINTERN PyObject
*
32519 swig_varlink_str(swig_varlinkobject
*v
) {
32520 PyObject
*str
= PyString_FromString("(");
32521 swig_globalvar
*var
;
32522 for (var
= v
->vars
; var
; var
=var
->next
) {
32523 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32524 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32526 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32531 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32532 PyObject
*str
= swig_varlink_str(v
);
32533 fprintf(fp
,"Swig global variables ");
32534 fprintf(fp
,"%s\n", PyString_AsString(str
));
32540 swig_varlink_dealloc(swig_varlinkobject
*v
) {
32541 swig_globalvar
*var
= v
->vars
;
32543 swig_globalvar
*n
= var
->next
;
32550 SWIGINTERN PyObject
*
32551 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32552 PyObject
*res
= NULL
;
32553 swig_globalvar
*var
= v
->vars
;
32555 if (strcmp(var
->name
,n
) == 0) {
32556 res
= (*var
->get_attr
)();
32561 if (res
== NULL
&& !PyErr_Occurred()) {
32562 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32568 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32570 swig_globalvar
*var
= v
->vars
;
32572 if (strcmp(var
->name
,n
) == 0) {
32573 res
= (*var
->set_attr
)(p
);
32578 if (res
== 1 && !PyErr_Occurred()) {
32579 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32584 SWIGINTERN PyTypeObject
*
32585 swig_varlink_type(void) {
32586 static char varlink__doc__
[] = "Swig var link object";
32587 static PyTypeObject varlink_type
;
32588 static int type_init
= 0;
32590 const PyTypeObject tmp
32592 PyObject_HEAD_INIT(NULL
)
32593 0, /* Number of items in variable part (ob_size) */
32594 (char *)"swigvarlink", /* Type name (tp_name) */
32595 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32596 0, /* Itemsize (tp_itemsize) */
32597 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
32598 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32599 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32600 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32601 0, /* tp_compare */
32602 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32603 0, /* tp_as_number */
32604 0, /* tp_as_sequence */
32605 0, /* tp_as_mapping */
32608 (reprfunc
)swig_varlink_str
, /* tp_str */
32609 0, /* tp_getattro */
32610 0, /* tp_setattro */
32611 0, /* tp_as_buffer */
32613 varlink__doc__
, /* tp_doc */
32614 0, /* tp_traverse */
32616 0, /* tp_richcompare */
32617 0, /* tp_weaklistoffset */
32618 #if PY_VERSION_HEX >= 0x02020000
32619 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32621 #if PY_VERSION_HEX >= 0x02030000
32624 #ifdef COUNT_ALLOCS
32625 0,0,0,0 /* tp_alloc -> tp_next */
32628 varlink_type
= tmp
;
32629 varlink_type
.ob_type
= &PyType_Type
;
32632 return &varlink_type
;
32635 /* Create a variable linking object for use later */
32636 SWIGINTERN PyObject
*
32637 SWIG_Python_newvarlink(void) {
32638 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
32642 return ((PyObject
*) result
);
32646 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32647 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
32648 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32650 size_t size
= strlen(name
)+1;
32651 gv
->name
= (char *)malloc(size
);
32653 strncpy(gv
->name
,name
,size
);
32654 gv
->get_attr
= get_attr
;
32655 gv
->set_attr
= set_attr
;
32656 gv
->next
= v
->vars
;
32662 SWIGINTERN PyObject
*
32664 static PyObject
*_SWIG_globals
= 0;
32665 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
32666 return _SWIG_globals
;
32669 /* -----------------------------------------------------------------------------
32670 * constants/methods manipulation
32671 * ----------------------------------------------------------------------------- */
32673 /* Install Constants */
32675 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32678 for (i
= 0; constants
[i
].type
; ++i
) {
32679 switch(constants
[i
].type
) {
32680 case SWIG_PY_POINTER
:
32681 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32683 case SWIG_PY_BINARY
:
32684 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32691 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
32697 /* -----------------------------------------------------------------------------*/
32698 /* Fix SwigMethods to carry the callback ptrs when needed */
32699 /* -----------------------------------------------------------------------------*/
32702 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32703 swig_const_info
*const_table
,
32704 swig_type_info
**types
,
32705 swig_type_info
**types_initial
) {
32707 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32708 const char *c
= methods
[i
].ml_doc
;
32709 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32711 swig_const_info
*ci
= 0;
32712 const char *name
= c
+ 10;
32713 for (j
= 0; const_table
[j
].type
; ++j
) {
32714 if (strncmp(const_table
[j
].name
, name
,
32715 strlen(const_table
[j
].name
)) == 0) {
32716 ci
= &(const_table
[j
]);
32721 size_t shift
= (ci
->ptype
) - types
;
32722 swig_type_info
*ty
= types_initial
[shift
];
32723 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32724 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32725 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32728 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
32730 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32732 strncpy(buff
, "swig_ptr: ", 10);
32734 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32735 methods
[i
].ml_doc
= ndoc
;
32747 /* -----------------------------------------------------------------------------*
32748 * Partial Init method
32749 * -----------------------------------------------------------------------------*/
32754 SWIGEXPORT
void SWIG_init(void) {
32757 /* Fix SwigMethods to carry the callback ptrs when needed */
32758 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
32760 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32761 d
= PyModule_GetDict(m
);
32763 SWIG_InitializeModule(0);
32764 SWIG_InstallConstants(d
,swig_const_table
);
32767 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
32768 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
32769 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
32770 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
32771 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
32772 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
32773 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
32774 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
32775 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
32776 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
32777 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
32778 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
32779 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
32780 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
32781 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
32782 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
32783 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
32784 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
32785 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
32786 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
32787 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
32788 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
32789 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
32790 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
32791 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
32792 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
32793 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
32794 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
32795 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
32796 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
32797 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
32798 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
32799 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
32800 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
32801 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
32802 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
32803 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
32804 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
32805 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
32806 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
32807 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
32808 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
32809 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
32810 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
32811 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
32812 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
32813 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
32814 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
32815 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
32816 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
32817 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
32818 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
32819 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
32820 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
32821 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
32822 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
32823 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
32824 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
32825 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
32826 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
32827 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
32828 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
32829 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
32830 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
32831 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
32832 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
32833 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
32834 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
32835 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
32836 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
32837 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
32838 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
32839 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
32840 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
32841 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
32842 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
32843 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
32844 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
32845 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
32846 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
32847 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
32848 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
32849 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
32850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
32851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
32852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
32853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
32854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
32855 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
32856 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
32857 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
32858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
32859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
32860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
32861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
32862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
32863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
32864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
32865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
32866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
32867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
32868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
32869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
32870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
32871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
32872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
32873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
32874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
32875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
32876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
32877 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
32878 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
32879 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
32880 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
32881 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
32882 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
32883 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
32884 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
32885 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
32886 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
32887 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
32888 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
32889 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
32890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
32891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
32892 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
32893 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
32894 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
32895 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
32896 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
32897 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
32898 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
32900 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
32902 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
32903 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
32904 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
32905 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
32906 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
32907 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
32908 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
32909 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
32910 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
32911 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
32912 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
32913 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
32914 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
32915 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
32916 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
32917 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
32918 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
32919 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
32920 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
32921 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
32922 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
32923 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
32924 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
32925 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
32926 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
32927 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
32928 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
32929 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
32930 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
32931 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
32932 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
32933 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
32934 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
32935 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
32936 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
32937 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
32938 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
32939 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
32940 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
32941 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
32942 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
32943 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
32944 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
32945 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
32946 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
32947 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
32948 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
32949 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
32950 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
32951 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
32952 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
32953 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
32954 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
32955 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
32956 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
32957 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
32958 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
32959 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
32960 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
32961 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
32962 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
32963 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
32964 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
32965 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
32966 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
32967 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
32968 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
32969 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
32970 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
32971 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
32972 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
32973 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
32974 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
32975 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
32976 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
32977 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
32978 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
32979 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
32980 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
32981 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
32982 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
32983 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
32984 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
32985 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
32986 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
32987 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
32988 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
32989 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
32990 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
32991 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
32992 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
32993 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
32994 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
32995 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
32996 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
32997 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
32998 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
32999 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33000 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33001 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33002 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33003 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33004 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33005 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33006 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33007 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33008 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33009 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33010 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33011 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33012 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33013 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33014 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33015 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33016 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33017 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33018 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33019 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33020 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33021 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33022 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33023 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33024 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33025 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33026 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33027 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33028 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33029 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33030 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33031 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33032 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33033 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33034 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33035 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33036 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33037 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33038 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33039 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33040 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33041 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33042 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33043 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33044 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33045 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33046 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33047 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33048 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33049 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33050 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33051 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33052 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33053 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33054 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33055 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33056 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33057 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33058 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33059 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33060 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33061 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33062 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33063 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33064 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33065 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33066 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33067 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33068 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33069 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33070 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33071 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33072 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33073 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33074 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33075 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33076 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33077 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33078 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33079 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33080 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33081 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33082 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33083 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33084 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33085 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33086 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33087 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33088 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33089 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33090 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33091 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33092 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33093 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33094 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33095 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33096 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33097 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33098 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33099 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33100 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33101 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33102 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33103 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33104 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33105 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33106 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33107 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33108 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33109 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33110 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33111 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33112 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33113 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33114 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33115 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33116 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33117 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33118 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33119 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33120 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33121 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33122 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33123 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33124 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33125 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33126 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33127 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33128 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33129 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33130 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33131 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33132 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33133 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33134 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33135 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33136 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33137 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33138 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33139 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33140 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33141 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33142 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33143 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33144 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33145 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33146 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33147 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33148 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33149 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33150 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33151 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33152 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33153 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33154 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33155 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33156 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33157 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33158 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33159 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33160 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33161 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33162 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33163 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33164 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33165 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33166 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33167 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33168 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33169 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33170 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33171 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33172 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33173 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33174 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33175 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33176 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33177 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33178 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33179 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33180 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33181 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33182 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33183 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33184 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33185 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33186 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33187 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33188 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33189 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33190 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33191 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33192 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33193 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33194 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33195 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33196 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33197 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33198 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33199 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33200 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33201 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33202 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33203 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33204 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33205 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33206 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33207 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33208 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33209 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33210 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33211 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33212 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33213 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33214 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33215 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33217 // Work around a chicken/egg problem in drawlist.cpp
33218 wxPyDrawList_SetAPIPtr();